Open source · self-hostable · AGPL-3.0
Short links that
answer to you.
A privacy-first URL shortener you actually own. Shorten, protect and measure every link — on your own server, with no one watching over your shoulder.
By shortening a link you accept our Terms and Privacy Policy.
https://example.com/2026/spring-campaign?utm_source=…
Everything, no upsell
The whole toolkit, free forever.
No "pro" tier hiding the useful features. Everything below ships in the open-source core.
Rust-fast redirects
An Axum + Redis core resolves links in microseconds, built to index billions of rows.
Privacy by default
No cross-site tracking, no third-party pixels. The data your links generate stays yours.
Honest analytics
Clicks, geography, devices and referrers — first-party, in real time, no sampling.
Branded QR codes
Every link ships with a QR — add your brand colour and logo, export PNG or SVG.
Password & limits
Gate sensitive links behind a password, cap total clicks, or schedule a window.
Expiring links
Set a start and an end. Campaigns turn themselves off when they should.
Your server, your rules
Up and running in one command.
Bring your own domain and host the whole stack — backend, frontend, database and cache — behind a single Docker Compose file. No vendor, no lock-in.
# clone & launch git clone https://github.com/ysalitrynskyi/opn.onl cd opn.onl docker compose up -d ✓ api, web, postgres, redis — live
From long to shareable in three steps.
Paste a long URL
Drop in any link — query strings, UTM tags and all.
Shape it
Add a custom alias, a password, an expiry or a click cap. Optional, always.
Share & measure
Copy the short link, generate a QR, and watch the clicks land live.
For developers & agents
Built to be built on.
A clean REST API and an official MCP server ship with every account. Automate your links from code — or let an AI assistant like Claude do it for you. Hosted or self-hosted, same keys.
- REST API + API keys
- Official MCP server
- OpenAPI / Swagger
- Self-host ready
# shorten from anywhere curl -X POST l.opn.onl/links \ -H "Authorization: Bearer opn_•••" \ -d '{"original_url":"https://…"}'
Own your links.
Start in seconds.
Free, open source, and yours to keep. Create an account or host it yourself today.
Disclaimer: opn.onl is not responsible for content accessible through shortened links. We actively remove malicious links when reported.Terms apply.


