YOURLS logo

YOURLS

Website

Self-hosted URL shortener with analytics, API, and plugins

12.2k stars 2.1k forks last commit first released MIT

Actively maintained

Last commit 24 Aug 2026.

YOURLS screenshot

YOURLS (Your Own URL Shortener) is a set of PHP scripts for running your own branded URL shortener on your domain. It provides full control over short links and includes built-in statistics and an API for automation and integrations.

Key Features

  • Create and manage short URLs on your own domain
  • Detailed click statistics with historical reports
  • Referrer tracking and visitor geolocation insights
  • Developer-friendly API for programmatic link creation and management
  • Bookmarklets for quick shortening from the browser
  • Extensible plugin architecture with a large plugin ecosystem

Use Cases

  • Run a branded link shortener for a company, community, or personal domain
  • Track engagement on shared links with referrers and click analytics
  • Integrate link shortening into internal tools via the API

Limitations and Considerations

  • Core storage is typically backed by a relational database; performance depends on database tuning and traffic patterns
  • Advanced features (custom workflows, moderation, additional analytics) may require third-party plugins

YOURLS is a mature, lightweight option for operating a private URL shortener with solid analytics and customization. It is well suited for teams and individuals who want ownership of link data and flexible extensibility via plugins and API access.

Categories:

Tags:

Tech Stack:

Share:

Similar to YOURLS

Kutt logo

Kutt

Modern URL shortener with custom domains, stats, and an API

11.1k
1.5k
Last commit

Open-source, self-hostable URL shortener with custom domains, link management, private analytics, and a REST API.

MITActively maintained
Alternative to:
Bitly logo
Bitly
+11
Sink logo

Sink

Link shortener with analytics running on Cloudflare

7.1k
5.1k
Last commit

Sink is a fast, secure link shortener with built-in analytics, custom slugs, link expiration, and serverless deployment on Cloudflare Workers or Pages.

AGPL-3.0Actively maintained
Alternative to:
Bitly logo
Bitly
+11
Shlink logo

Shlink

Self-hosted URL shortener with REST API and CLI

5.2k
410
Last commit

PHP-based self-hosted URL shortener for your own domains, with REST API, CLI management, and visit analytics including anonymized stats and geolocation.

MITActively maintained
Alternative to:
Bitly logo
Bitly
+11
Dub logo

Dub

Open-source link attribution platform for short links and conversions

24.6k
3.3k
Last commit

Dub is an open-source link attribution platform for branded short links, real-time analytics, conversion tracking, webhooks, and affiliate/referral programs.

Actively maintained
Alternative to:
Bitly logo
Bitly
+9

Fli.so

URL shortener with custom links, QR codes, and analytics

502
35
Last commit

Self-hosted URL shortener built with SvelteKit and PocketBase to shorten, customize, organize, and track links with QR codes and security controls.

AGPL-3.0Slowing down
Alternative to:
Bitly logo
Bitly
+14
Slash logo

Slash

Self-hosted link manager with human-readable shortcuts

3.2k
147
Last commit

Open-source self-hosted link management platform to create, organize, and share tagged shortcuts (s/...) with optional public/team access and basic click analytics.

AGPL-3.0Actively maintained
Alternative to:
Bitly logo
Bitly
+14