Shlink
The definitive self-hosted URL shortener with analytics, QR codes, custom domains, and a powerful API.
Shlink is a feature-rich, self-hosted URL shortener built with PHP and the Mezzio framework. It is designed to be the most comprehensive open-source alternative to commercial link shortening services, offering advanced features typically found only in paid platforms.
Key capabilities include detailed visit analytics, QR code generation for every short link, custom domain support, device and geolocation tracking, and a robust REST API. Shlink also supports redirects, tag-based link organization, and integration with third-party services via webhooks.
With Docker support for easy deployment, Shlink scales from personal use to enterprise needs. Its well-documented API and CLI make it a developer-friendly choice for building link management into applications.
Shlink replaces commercial services like Bitly, TinyURL, Rebrandly, Short.io, and Cutt.ly with a fully self-hosted, privacy-respecting solution.
Looking for contributors
This project is actively seeking help, join the community!
Repository details
Updated 5/11/2026, 10:37:50 AM
View RepositoryCompare Shlink with
Similar open source alternatives
Kutt
A modern, free, and open-source URL shortener with custom domains, analytics, and a clean API.
Bitly
Simple URL Shortener
A lightweight PHP-based URL shortener with MySQL or SQLite support and user history tracking.
Bitly
Syano
Self-hosted URL shortener with analytics, QR codes, and link-in-bio pages. A privacy-first open source alternative to Bitly.
Bitly
Dub
The open-source link attribution platform for short links, conversion tracking, and affiliate programs.
Bitly
Flink
A zero-config, FOSS URL shortener with QR code generation and OpenTelemetry support, built in ASP.NET Core.
Bitly


