Shlink

Self-hosted URL shortener with a CLI, a REST API and visit statistics

82.0
Score in best URL shorteners
Check shlink.io (opens in a new tab)AlternativesCompareShare

Opens the official site in a new tab. Check current plans and terms there; nothing is purchased on listme.name.

Ranked 4 of 8 in best URL shorteners

Self-hosted, MIT-licensed shortener with a command-line interface, a REST API and visit statistics with geolocation. Unlike Short.io, you run the server yourself, and the homepage lists no QR code generator.

Best for Self-hosting teams that want an API and CLI

About Shlink

Shlink runs on a server you control, either from a distribution archive or a Docker image. It serves short URLs under domains you own and manages them from a web app, a command-line interface or a REST API. Every click is recorded as an anonymized visit with the visitor's location, which the documentation describes as visit stats.

The MIT-licensed code is published on GitHub, and its latest release is dated October 2026. Because Shlink is self-hosted, the operator keeps the data and also takes on the server, updates and domain setup. The homepage does not list QR code generation, so QR codes need another tool.

Key features

  • Own domains
  • Command-line interface
  • REST API
  • Progressive web app
  • Docker image

Strengths

  • Self-hosted, so you keep the visit data
  • Command-line interface and REST API
  • Visit stats with geolocation for each link

Limits

  • You run the server, database and updates yourself
  • Homepage lists no QR code generator

Where Shlink ranks

How Shlink compares

ProductScorePricePlatformsClick analyticsQR codes for linksBranded domains or links
#2Short.io86.5Free plan, paid upgradesWebClick analytics; 50,000 tracked clicks a month freeQR codes5 custom domains on the free plan
#3TinyURL84.5Free plan, paid upgradesWebDetailed analytics on paid plansQR Code Generator toolBranded domains on paid plans
#4Shlink82.0Free and open sourceSelf-hostedWebVisit stats with geolocationNot listedYour own domains
#5Rebrandly80.5Free plan, paid upgradesWebUnlimited clicks on the free plan10 a month free, with watermark1 custom domain on the free plan
#6Tiny.cc78.0Free plan, paid upgradesWebDetailed click statisticsQR code generationCustom domains listed as a feature

The full comparison table for best URL shorteners has all 8 products.

Questions about Shlink

Is Shlink free?
Shlink can be used without paying: MIT-licensed; you host it on your own server. Check the vendor’s pricing page for current limits.
Is Shlink open source?
Yes. Shlink publishes its source code under the MIT license.
Which platforms does Shlink support?
Shlink is available on: Self-hosted, Web.
What is Shlink best for?
Self-hosting teams that want an API and CLI. In our ranking of URL shorteners it is number 4 of 8 with a score of 82.0.
What are the best alternatives to Shlink?
The highest-ranked alternatives on listme.name are Dub, Short.io, TinyURL, Rebrandly.

Show this ranking on your site

If you make or maintain Shlink, this badge links back to this page and shows its current rank. It updates when the ranking does.

Ranked #4 of 8 URL shorteners on listme.name
<a href="https://listme.name/software/shlink"><img src="https://listme.name/badge/shlink.svg" height="28" alt="Ranked #4 of 8 URL shorteners on listme.name"></a>