Open-source URL shorteners
3 URL shorteners whose code is public under an OSI-approved license, rated for privacy with evidence. Picks first, then by score.
Shlink Grade B
Self-hosted URL shortener with a REST API, command line tools, custom domains, QR codes and visit tracking. Managed through a separate web client or the API.
MIT. Source code
YOURLS Grade C
Self-hosted PHP URL shortener with a plugin system, an API, bookmarklets and click statistics for your own short domain.
MIT. Source code
Kutt Grade D
Open source URL shortener with custom domains, password-protected and expiring links, and link statistics. Can be self-hosted, and the developers run a hosted instance at kutt.to.
MIT. Source code
Compare all 6 URL shorteners, open source or not.