YOURLS
Set of PHP scripts that will allow you to run Your Own URL Shortener. Features include password protection, URL customization, bookmarklets, statistics, API, plugins, jsonp.
Maintained, but at a slower pace than the leaders in its category.
Commit activity more than 30% of tracked projects; popularity more than 81%. How this is calculated.
Commits, last 11 months
| Stars | 12k |
|---|---|
| Latest release | 1.10.6 · 30 Aug 2026 |
| Repo updated | 19 Nov 2026 |
| Licence | MIT |
| Built with | PHP |
Is YOURLS actively maintained?
YOURLS is under active development: 116 commits landed over the last 11 months, averaging roughly 10 commits a month in the most recent quarter.
The most recent tagged release, 1.10.6, is about 3 months old.
Of the 11 projects we track in URL Shorteners, YOURLS ranks #3 by health score — in the top quarter of its category.
What YOURLS actually does
YOURLS is a collection of PHP scripts that enables you to host a private URL redirection service on your own infrastructure. It provides core link shortening capabilities alongside custom aliases, bookmarklets, an API, and analytics tracking.
Best fit: It suits administrators who want complete control over their redirected links and statistics without relying on external third-party services.
Worth knowing: Because it relies on a mature PHP codebase, you should expect to handle routine security maintenance and configuration tuning yourself.
Deployment notes
You will typically need a standard web server like Apache or Nginx, a PHP runtime, and a relational database such as MySQL to store your links and metrics.
Links
YOURLS as a replacement for
Alternatives to YOURLS
Projects in the same categories, ordered by health score.
URL shortener with REST API and command line interface. Includes official progressive web application and docker images.
Simple, lightning-fast URL shortener with no bloat (fork of simply-shorten).
Nonbloated, modern, and highly configurable file/screenshot vault server with support for ShareX, Flameshot, and Spectacle. Offers OCR search and more.
File and link sharing platform with URL shortening, code snippet sharing, and file uploads, featuring customizable expiration, privacy settings, and QR codes.
Fast, lightweight, resource-efficient, compiled URL shortener.
Modern URL shortener with support for custom domains and custom URLs.