YOURLS

YOURLS

Your own URL shortener

11.8kstars
2.1kforks
Last commit: 2d ago
Repo age: 14y old
YOURLS screenshot

YOURLS (Your Own URL Shortener) is a PHP application for running a private URL shortening service under your own domain. It provides a web interface and an API to create, manage, and track short links, with extensibility via plugins and themes.

Key Features

  • Create short URLs for long links using sequential IDs or custom keywords
  • Public or private mode (use as an internal shortener or an open service)
  • Link analytics: click counts and referrer tracking for each short URL
  • Admin web interface for managing links, keywords, titles, and stats
  • Developer-friendly API for automation and third-party integrations
  • Plugin system to extend behavior (authentication, spam controls, custom formats, etc.)
  • Custom URL structures (e.g., prefixing, reserved keywords) and configurable redirects

Use Cases

  • Branded short links for marketing campaigns and social media posts
  • Internal link shortener for teams (docs, ticket links, shared resources)
  • Programmatic short-link generation via API for apps and automation workflows

Limitations and Considerations

  • Requires a traditional LAMP/LEMP-style stack (PHP + MySQL/MariaDB) and ongoing patching like any web app
  • Built-in analytics are basic compared to dedicated marketing analytics suites

YOURLS is a mature, widely-used option for organizations that want full control over short-link domains and data. It fits well when you need simple link management, dependable redirects, and lightweight per-link statistics with the option to extend via plugins.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Kutt

Kutt

Modern, privacy-friendly URL shortener with analytics

10.4k
1.4k
Last commit: 1mo ago

Self-hosted URL shortener with custom domains, branded links, link analytics, and an API for creating and managing short URLs.

Alternative to:
Bitly
Bitly
+3
Shlink

Shlink

Self-hosted URL shortener with API, analytics, and QR codes

4.6k
371
Last commit: 2d ago

Self-hosted URL shortener providing a REST API, web/CLI tools, detailed visit analytics, QR codes, custom domains, and link management features.

Alternative to:
Bitly
Bitly
+3
Shaarli

Shaarli

Personal, minimalist bookmark manager with sharing and RSS feeds

3.8k
301
Last commit: 1mo ago

Shaarli is a lightweight self-hosted bookmarking service for saving, tagging, searching, and sharing links, with permalinks, RSS/Atom feeds, and plugins.

Alternative to:
Pocket
Pocket
+5
LinkStack

LinkStack

Self-hosted link-in-bio platform with custom pages and analytics

3.4k
364
Last commit: 24d ago

Create customizable link-in-bio pages with themes, custom domains, analytics, and multi-user support—self-hosted and designed for creators, teams, and brands.

Alternative to:
Linktree
Linktree
+4
LinkAce

LinkAce

Self-hosted bookmark manager with tagging and search

3.2k
202
Last commit: 22d ago

LinkAce is a self-hosted bookmark manager to save, organize, tag, and search links with lists, privacy controls, and team-friendly sharing options.

Alternative to:
Pocket
Pocket
+6
Slash

Slash

Self-hosted link shortener with teams, analytics, and custom domains

3.1k
142
Last commit: 19d ago

Self-hosted URL shortener for teams with custom domains, branded short links, API access, and click analytics.

Alternative to:
Bitly
Bitly
+3