Self-hosted alternatives to Bitly

Your own URL shortener, with your own click metrics. Below are 10 open source options you host on your own server — with no monthly per-user fee and full control of your data.

YOURLS

★ 12,087

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.

URL Shorteners MIT

Kutt

★ 10,928

Modern URL shortener with support for custom domains and custom URLs.

URL Shorteners MIT

Shlink

★ 5,116

URL shortener with REST API and command line interface. Includes official progressive web application and docker images.

URL Shorteners MIT

Chhoto URL

★ 881

Simple, lightning-fast URL shortener with no bloat (fork of simply-shorten).

URL Shorteners MIT

Flare

★ 120

A nonbloated, modern, and highly configurable file/screenshot vault server with support for ShareX, Flameshot, and Spectacle. Offers OCR search and more.

File Transfer - Single-click & Drag-n-drop UploadFile Transfer - Web-based File Managers MIT

bit

★ 94

Fast, lightweight, resource-efficient, compiled URL shortener.

URL Shorteners MIT

Simple-URL-Shortener

★ 58

KISS URL shortener, public or private (with account). Minimalist and lightweight. No dependencies.

URL Shorteners MIT

clink

A super-minimal link shortening service written in pure C, focusing on small executable size, portability, and ease of configuration.

URL Shorteners AGPL-3.0

Flink

Create QR Codes, embeddable link previews for your website and crawls/scrapes metadata.

URL Shorteners MIT

rs-short

Lightweight link shortener written in Rust, with features such as caching, spambot protection and phishing detection.

URL Shorteners MPL-2.0

Frequently asked questions

Is there a free self-hosted alternative to Bitly?

Yes. We've gathered 10 self-hosted, open source alternatives to Bitly — including YOURLS, Kutt, Shlink. You run all of them on your own server.

What is the best open source alternative to Bitly?

YOURLS is one of the most popular (12,087 GitHub stars). The "best" depends on your case — compare the options below.

Do I need a server to replace Bitly?

Yes. You can use a home server (homelab) or a cheap VPS (from ~€4/mo). See the hosting suggestions on this page.