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

24.6k stars3.3k forkslast commit Actively maintained
Cloud URL shortening and link-management platform that creates short links and QR codes, supports custom/branded domains, redirect rules and link expiration, provides click tracking and analytics, campaign management, and API access for programmatic link creation.
Dub is an open-source link attribution platform for branded short links, real-time analytics, conversion tracking, webhooks, and affiliate/referral programs.

24.6k stars3.3k forkslast commit Actively maintained
YOURLS is a self-hosted PHP URL shortener with custom short links, a developer API, detailed click analytics, and an extensible plugin architecture.

12.2k stars2.1k forksMITlast commit Actively maintained
Open-source, self-hostable URL shortener with custom domains, link management, private analytics, and a REST API.

11.1k stars1.5k forksMITlast commit Actively maintained
Sink is a fast, secure link shortener with built-in analytics, custom slugs, link expiration, and serverless deployment on Cloudflare Workers or Pages.

7.1k stars5.1k forksAGPL-3.0last commit Actively maintained
PHP-based self-hosted URL shortener for your own domains, with REST API, CLI management, and visit analytics including anonymized stats and geolocation.

5.2k stars410 forksMITlast commit Actively maintained
MicroBin is a lightweight, secure pastebin for sharing text, files, and short URLs with optional encryption, expiration controls, and raw file serving.

4.5k stars317 forksBSD-3-Clauselast commit Actively maintained
Open-source self-hosted link management platform to create, organize, and share tagged shortcuts (s/...) with optional public/team access and basic click analytics.

3.2k stars147 forksAGPL-3.0last commit Actively maintained
Chhoto URL is a lightweight, high-performance self-hosted URL shortener in Rust, focused on simplicity, speed, and minimal features.
949 stars90 forksMITlast commit Actively maintained
Self-hosted image, GIF, MP4, and text paste hosting with a simple API, on-the-fly resizing, and URL-based transformations. File-based storage; no database required.

945 stars137 forkslast commit Actively maintained
Self-hosted URL shortener built with SvelteKit and PocketBase to shorten, customize, organize, and track links with QR codes and security controls.
502 stars35 forksAGPL-3.0last commit Slowing down
Open-source, self-hosted toolbox for bookmarks, URL shortening, and encrypted image hosting, with optional hosted service and browser/mobile integrations.

392 stars35 forksGPL-3.0last commit Actively maintained
Lightweight URL shortener with minimal click tracking, API key auth, CLI, and compact Docker image for easy self-hosting.

105 stars8 forksMITlast commit Actively maintained
Lightweight PHP URL shortener offering user accounts and link history, supports MySQL or SQLite, designed with minimal dependencies and deployable in a subfolder.

59 stars16 forksMITlast commit Slowing down
clink is a dead-simple, ultra-minimal URL shortener written in C with a tiny footprint, designed for easy self-hosting behind NGINX and systemd.

Activity unknown
Lightweight Rust link shortener with templates, captcha anti-spam, phishing detection, click counting, and SQLite/PostgreSQL/MySQL support.

Activity unknown
Open-source image hosting and link-shortening service written in Python; provides uploads, account management, vanity domains, shortlinks and a web UI with Docker deployment.

Activity unknown
Every option on this page is open source and free to run on your own hardware, so you own the data and there is no subscription to cancel. 11 of 16 shipped a commit in the last six months. Licences in this list: MIT, AGPL-3.0, BSD-3-Clause, GPL-3.0. In exchange you take on hosting, backups and updates yourself.
Browse everything in URL Shorteners & Link Tools.