
YOURLS
Self-hosted URL shortener with analytics, API, and plugins

YOURLS (Your Own URL Shortener) is a set of PHP scripts for running your own branded URL shortener on your domain. It provides full control over short links and includes built-in statistics and an API for automation and integrations.
Key Features
- Create and manage short URLs on your own domain
- Detailed click statistics with historical reports
- Referrer tracking and visitor geolocation insights
- Developer-friendly API for programmatic link creation and management
- Bookmarklets for quick shortening from the browser
- Extensible plugin architecture with a large plugin ecosystem
Use Cases
- Run a branded link shortener for a company, community, or personal domain
- Track engagement on shared links with referrers and click analytics
- Integrate link shortening into internal tools via the API
Limitations and Considerations
- Core storage is typically backed by a relational database; performance depends on database tuning and traffic patterns
- Advanced features (custom workflows, moderation, additional analytics) may require third-party plugins
YOURLS is a mature, lightweight option for operating a private URL shortener with solid analytics and customization. It is well suited for teams and individuals who want ownership of link data and flexible extensibility via plugins and API access.
Categories:
Tags:
Tech Stack:
Similar Services

Dub
Open-source link attribution platform for short links and conversions
Dub is an open-source link attribution platform for branded short links, real-time analytics, conversion tracking, webhooks, and affiliate/referral programs.

Kutt
Modern URL shortener with custom domains, stats, and an API
Open-source, self-hostable URL shortener with custom domains, link management, private analytics, and a REST API.

Sink
Link shortener with analytics running on Cloudflare
Sink is a fast, secure link shortener with built-in analytics, custom slugs, link expiration, and serverless deployment on Cloudflare Workers or Pages.

Shlink
Self-hosted URL shortener with REST API and CLI
PHP-based self-hosted URL shortener for your own domains, with REST API, CLI management, and visit analytics including anonymized stats and geolocation.
MicroBin
Secure pastebin for text and file sharing with URL shortening
MicroBin is a lightweight, secure pastebin for sharing text, files, and short URLs with optional encryption, expiration controls, and raw file serving.

LinkStack
Self-hosted platform for shareable profile pages with multiple links
LinkStack is an open-source, self-hosted Linktree alternative for creating customizable profile pages that aggregate all your important links in one place.



