SH SelfHostAlt
Sponsored Self-host any open-source app on Hostinger KVM VPS from $4.99/mo (1-Click Docker) →
YOURLS logo

YOURLS

MIT ★ 12,326 Stars Active · 2026-11-25

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. .

Category
URL Shorteners
Tech Stack / Runtime
PHP
Open-Source License
MIT
GitHub Health
★ 12,326 · 2,081 forks
#yourls#php#url-shortener#short-url#link-shortener

Commercial SaaS Replaced

YOURLS System Requirements & Self-Hosting Guide

Deploy YOURLS (1 – 2 GB RAM) →

Recommended VPS

1 – 2 GB RAM

1 – 2 vCPU · $4 – $6/mo VPS

Deployment Method

Intermediate

Native Linux Binary / Systemd Service

Commercial Use (MIT)

Yes — free for personal, internal company, and commercial use with attribution.

Maintenance Status

Active

Last commit: 2026-11-25

Frequently Asked Questions about YOURLS

Is YOURLS free to self-host for commercial use?

YOURLS is released under the MIT license. Yes — free for personal, internal company, and commercial use with attribution. It has 12,326 GitHub stars and was last updated on 2026-11-25.

What VPS specifications do I need to self-host YOURLS?

Based on its PHP runtime and URL Shorteners workload, we recommend at least 1 – 2 GB RAM and 1 – 2 vCPU (typically $4 – $6/mo VPS).

Does YOURLS support Docker deployment?

YOURLS is primarily deployed as a Native Linux Binary / Systemd Service. Check the official repository for installation scripts or community Docker images.

More Open-Source URL Shorteners

View all →
★ 11.2k Docker

Modern URL shortener with support for custom domains and custom URLs. , Source Code.

Replaces: Bitly
MIT Nodejs/Docker
Details →
★ 5.5k Docker

URL shortener with REST API and command line interface. Includes official progressive web application and docker images. , Clients.

Replaces: Bitly Linktree
MIT PHP/Docker
Details →
★ 1k Docker

Simple, lightning-fast URL shortener with no bloat (fork of simply-shorten). , Source Code, Clients).

Replaces: Bitly
MIT Rust/Docker
Details →
★ 115 Docker

Fast, lightweight, resource-efficient, compiled URL shortener.

Replaces: Bitly
MIT Docker/Crystal
Details →

Super-minimal link shortening service written in pure C, focusing on small executable size, portability, and ease of configuration. .

Replaces: Bitly
AGPL-3.0 C
Details →