Skip to content

YOURLS

Self-hosted PHP URL shortener with stats and plugins for your own domain

Permissive (OSI) · MIT
  • Self-hosted

Listed by , founder & editor

72

Health

Active

Overview

Stars

12,315

Last commit

4 days ago

Nov 2026

Repository age

14 years

since Aug 2012

Latest version

1.10.6

Aug 2026

Contributors

–

7 active in 90 days

Releases

4

last 12 months

Language

PHP

YOURLS is a set of PHP scripts that runs a URL shortener on your own server. You keep full control of your links and data. It provides click statistics and analytics, and a plugin system extends it.

It is a classic PHP application, so it fits ordinary PHP hosting. Documentation covers setup for beginners and experienced admins. A community collection of plugins, tools and guides is maintained separately.

The project began in 2012, uses the MIT license, and is actively maintained, with the latest release at 1.10.6. It suits teams that want branded short links without sending click data to a hosted service.

It can replace hosted shorteners where you only need link creation, redirects and basic stats.

Who it's for

Marketers who want branded short links on their domain

You host it yourself, so links and click data stay with you.

Skip if: You want a hosted service with no server to maintain.

Developers adding link shortening to a site

It is plain PHP with plugins, so it is simple to host and extend.

Skip if: Your stack cannot run PHP.

Privacy-minded site owners

Click statistics are stored on your own server.

Skip if: You need advanced team features or a polished hosted dashboard.

The problem it solves

Hosted link shorteners keep your links and click data on someone else's servers. YOURLS lets you run the same service on your own domain.

Strengths

  • MIT licensed with no usage restrictions
  • Built-in click statistics and analytics
  • Plugin system with a community collection
  • Runs on ordinary PHP hosting
  • Active since 2012, with 7 contributors in the last 90 days

Trade-offs

  • You must run and secure a PHP server yourself
  • Feature set is focused on shortening and stats, not team workflows
  • Extra features rely on community plugins

Self-host YOURLS

Self-hostable
Yes

In the community

Frequently asked questions

Is YOURLS free?

Yes. It is released under the MIT license.

Can I self-host it?

Yes. That is its purpose. It is a set of PHP scripts you run on your own server.

Does it track clicks?

Yes. It provides detailed stats and analytics.

Can I extend it?

Yes. It supports plugins, and the community shares many of them.

Similar tools in Marketing and customer engagement tools

Kutt

Marketing and customer engagement tools

Self-hosted URL shortener with custom domains, passwords and OIDC login

11k 1.5k 36 days ago Active MIT

Replaces Bitly

littlelink-server

Marketing and customer engagement tools

Self-hosted link-in-bio page configured entirely through environment variables

1.2k 187 9 days ago Slowing MIT

open-seo

Marketing and customer engagement tools

Pay-as-you-go SEO suite for keyword research, backlinks and audits, self-hostable

29k 4.1k today Active MIT

Sink

Marketing and customer engagement tools

Serverless link shortener with analytics that runs on Cloudflare, for individuals and

7.3k 5.4k 28 days ago Active AGPL-3.0

Dub

Marketing and customer engagement tools

Link shortener with click and conversion tracking for marketing and product teams

25k 3.4k 28 days ago Slowing AGPL-3.0

Replaces Bitly

Dub Links

Marketing and customer engagement tools

Open-source link management platform with analytics and custom domains for marketing teams

25k AGPL-3.0