YOURLS
Free, open-source PHP URL shortener you install on your own server and domain, with click stats, an API and plugins.
YOURLS (Your Own URL Shortener) is free, open-source PHP software for running short links on your own domain, aimed at developers and IT admins who want to own their click data. The software costs nothing under the MIT license; you pay only for hosting and a domain. It needs PHP 8.1 or later and a MySQL or MariaDB database.
Free and dependable for teams that can host it; not for anyone wanting zero maintenance.
Free PHP software for running your own branded short-link service and keeping the click data.
If you already run a PHP host or Docker, YOURLS gets you branded short links and click stats for the price of a domain. Keep it private unless you are ready to fight spam, and plan to apply updates, since the 2026 releases included security fixes. If nobody on the team wants that job, a hosted shortener is cheaper in time.
Free, actively released, and keeps link data on your own server, with stats, an API and plugins.
You install, update and secure it yourself, and public installs attract spam.
What you need to run YOURLS
| Component | Requirement |
|---|---|
| Web server | Apache 2.4+ with mod_rewrite (or the official Docker image) |
| PHP | 8.1 or later; cURL extension for the API |
| Database | MySQL 5.5+ or MariaDB 10.0+ |
| Security | HTTPS recommended; anti-spam plugins if the shortener is public |
| License cost | Free (MIT) |
From the YOURLS documentation, checked 4 October 2026.
Frequently Asked Questions
YOURLS alternatives
Hosted link tools from our reviews, if you would rather not run a server:
Tags
Explore related categories
Conversion Gems independently reviews every tool. We may earn a commission if you sign up through our links — it never affects our verdict or ranking.
