Skip to main content



YOURLS is a set of PHP scripts that will allow you to run Your Own URL Shortener, on your server, using the domain or subdomain of your choice.

You'll have full control over your data, detailed stats, analytics, plugins, and more.

It's free and open-source.


YOURLS has the following requirements:


  • Apache (httpd) version 2.4 or greater, with mod_rewrite enabled
  • PHP version 7.4 or greater
    • PHP cURL extension is required if you plan on playing with the API
  • MySQL version 5.0 or greater, or MariaDB version 10.0 or greater.

We also suggest that you use a host with HTTPS support.

If you are installing your own server, see this file for the PHP extensions YOURLS will use.


Any modern web browser will do.