YOURLS
12kYOURLS is a 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.
SelfHostHub lists 11 open-source URL Shorteners projects you can host on your own server. The most-starred on GitHub are YOURLS (12,263 stars), Kutt (11,160 stars) and Shlink (5,348 stars). 7 of them document a Docker install, and 7 offer a live demo you can try first.
Replacing a paid app? See open-source alternatives to Bitly.
YOURLS is a 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.
Modern URL shortener with support for custom domains and custom URLs.
URL shortener with REST API and command line interface. Includes official progressive web application and docker images.
Simple, lightning-fast URL shortener with no bloat (fork of simply-shorten).
A nonbloated, modern, and highly configurable file/screenshot vault server with support for ShareX, Flameshot, and Spectacle. Offers OCR search and more.
Fast, lightweight, resource-efficient, compiled URL shortener.
File and link sharing platform with URL shortening, code snippet sharing, and file uploads, featuring customizable expiration, privacy settings, and QR codes.
KISS URL shortener, public or private (with account). Minimalist and lightweight. No dependencies.
A super-minimal link shortening service written in pure C, focusing on small executable size, portability, and ease of configuration.
Create QR Codes, embeddable link previews for your website and crawls/scrapes metadata.
Lightweight link shortener written in Rust, with features such as caching, spambot protection and phishing detection.
By GitHub stars, the top projects in this category are YOURLS (12,263 stars), Kutt (11,160 stars) and Shlink (5,348 stars).
11 projects are currently listed in the URL Shorteners category on SelfHostHub.
The most common licences in this category are MIT (8), CC0-1.0 (1) and AGPL-3.0 (1).
7 of the 11 projects list Docker as a supported platform. Check each project's documentation for the exact install steps.