Skip to content

YOURLS

A self-hosted URL shortener written in PHP that you run on your own server.

Stars
12.3k
Forks
2.1k
Licence
MIT
Language
PHP
Last update
10 days ago
Type
App

What it is

YOURLS is a set of PHP scripts that lets you run your own URL shortener on your own server. The README says you keep full control over your data and get stats, analytics, and plugin support. It is free and open source under the MIT license.

  • Create short links that point to your own domain
  • Review click stats and analytics for the links you create
  • Add functionality through plugins, using the community list on Awesome YOURLS

Great for

  • People who want short links on a domain they control
  • Site owners who want to keep link data on their own server
  • Developers who are comfortable running PHP software and want to extend it with plugins

Not ideal for

  • People who want zero setup and no server to manage, since the README describes it as something you host yourself
  • Teams that need a hosted service with support contracts, since the README does not describe any paid support
Step-by-step guide: how to use YOURLSInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    See the README

    You'll need: PHP and a web server (exact version not stated in the README excerpt)

    Clone the repository

    git clone https://github.com/YOURLS/YOURLS.git
  2. 2

    Run it

    • Read the installation guide at docs.yourls.org
    • Set up PHP and a web server with a database as the docs describe
    • Follow the docs to complete the install and configuration
    • Create your first short link from the admin interface
  3. 3

    Get the most out of it

    • Browse plugins and tools listed on Awesome YOURLS
    • Read the official blog for updates and tips
    • Search existing issues and the Contributing Guidelines before reporting a bug

Downloads

Strengths

  • Self-hosted, so you keep control over your data as the README states
  • Free and open source under the MIT license
  • Has a documented plugin system and an active community

Trade-offs

  • Requires you to host and maintain a PHP server yourself
  • The README is short and points to external docs for setup details

How it compares

ProjectStarsTypeLevelUpdatedBest for
YOURLS (this)12.3kAppintermediate10 days agoPeople who want short links on a domain they control
kutt11.2kAppintermediate18 days agoPeople who want to run their own link shortener instead of using a hosted service
flarum16.4kAppintermediate27 days agoSite owners who want a self-hosted discussion board
wallabag13kAppintermediate4 days agoPeople who want a read-later app they control on their own server
bagisto28.3kAppintermediate4 days agoDevelopers building a custom online store on Laravel
laravel-crm24.1kAppintermediate4 days agoSmall and mid-sized businesses that want a self-hosted CRM

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.