About Shlink
Shlink is a self-hosted URL shortener written in PHP and released under the MIT license. It is aimed at developers and teams who want to serve short links from their own domains and keep control of their link data, rather than relying on a hosted service.
Key benefits of Shlink include:
- Your own domains: Short URLs are served under domains you control, and you can manage multiple domains.
- Custom or generated slugs: Let Shlink generate a unique short code or provide a human-friendly custom slug.
- Visit tracking: Each click is recorded with anonymized visit stats and visitor geolocation.
- API-first design: A REST API with simple authentication makes it easy to integrate short links into other tools.
- Multiple interfaces: Manage URLs from the command line or from a progressive web app that can handle several Shlink instances.
For someone leaving Bitly, Shlink offers branded short links and click analytics without per-link or per-domain fees, and the visit data stays on your own infrastructure. The trade-off is that you are responsible for running it: you install it from a dist file or a Docker image, and handle hosting, updates and uptime yourself. There is no managed hosted plan described on the site, so it suits people comfortable operating a small PHP or container-based service.

