qmetrics.net
ShlinkSelf-hosted PHP URL shortener with CLI and REST API YOURLSSelf-hosted PHP URL shortener with stats and plugins

Shlink vs YOURLS

How Shlink and YOURLS compare on popularity, activity, license and platforms: two open-source Marketing & Customer Engagement projects, both alternatives to Bitly.

At a glance

Side by side

ShlinkYOURLS
GitHub stars★ 5,450★ 12,325
Forks4572,081
Last commit5 days ago2 days ago
Latest versionv5.1.91.10.6
Repository startedApril 2016August 2012
LicenseMIT · permissiveMIT · permissive
Self-hostedYesYes
PlatformsWeb, Docker, CLI–
Main languagePHPPHP
Alternative toBitlyBitly

Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.

Shlink

Shlink is a self-hosted URL shortener that serves short links under your own domains. It offers a command line, a REST API and a web client, and collects anonymized visit statistics with geolocation.

Key features

  • Custom domains for short URLs
  • Generated short codes or custom slugs
  • REST API with API keys
  • Command line interface
  • Progressive web client for multiple instances
  • Anonymized visit tracking with geolocation

YOURLS

YOURLS runs on your server as PHP scripts that create short links on your domain. It offers click analytics, an API, bookmarklets, and a plugin architecture.

Key features

  • Short links on your own domain
  • Click stats with referrers and geo data
  • HTTP API and bookmarklets
  • Plugin architecture for extensions
  • Historical reporting on link usage

More comparisons

Report a mistake on this page