Modern URL shortener with support for custom domains and custom URLs. , Source Code.
YOURLS
MIT ★ 12,326 Stars Active · 2026-11-25Set 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
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.
Deploy YOURLS on your own VPS
Run YOURLS privately with full data control. Recommended starting footprint: 1 – 2 GB RAM ($4 – $6/mo VPS).
Best Value · 1-Click Docker
1 vCPU · 4 GB RAM · 50 GB NVMe
Includes built-in Docker & Coolify templates — ideal for beginners.
Lowest Cost / Performance
2 vCPU · 4 GB RAM · 40 GB NVMe
Unbeatable EU/US cloud pricing for high-traffic self-hosted stacks.
$200 Free Credit
1 vCPU · 1 GB RAM · 25 GB SSD
Clean developer UX with 1-click Marketplace Docker droplets.
More Open-Source URL Shorteners
View all →URL shortener with REST API and command line interface. Includes official progressive web application and docker images. , Clients.
Simple, lightning-fast URL shortener with no bloat (fork of simply-shorten). , Source Code, Clients).
KISS URL shortener, public or private (with account). Minimalist and lightweight. No dependencies. ).
Super-minimal link shortening service written in pure C, focusing on small executable size, portability, and ease of configuration. .