# The Best Self-Hosted URL Shorteners (2026): YOURLS, Shlink and Kutt

Source: https://lots.link/blog/the-best-self-hosted-url-shorteners-2026-yourls-shlink-and-kutt
Published: 2026-11-25T00:30:18.752725+00:00

The three self-hosted URL shorteners worth looking at in 2026 are YOURLS (PHP, the oldest and lightest), Shlink (PHP, API-first with the most features) and Kutt (Node.js, the simplest to start with). All three are free, open-source and let you run short links on your own server under your own domain, but each asks something different of you to set up and keep running.

I run LotsLink, a hosted link shortener, so I have a reason to be honest about what self-hosting costs you that a hosted tool doesn't: a server, patching, backups and the one piece of software most people forget, HTTPS certificates. Here's what each project actually needs, what it actually does, and whether it's still being maintained, checked on each project's own GitHub repo and docs on 21 November 2026.

## What self-hosting a URL shortener actually involves

Before the tool, the job. Self-hosting means you are responsible for:

- **A server.** A small VPS is enough for any of these three, but it's one more thing you pay for and patch, separate from your website hosting.
- **A database.** All three need one (or ship with SQLite, which still lives on that server's disk).
- **HTTPS.** Your main domain is one certificate. A custom short domain, or a second one, is another certificate you have to issue and renew yourself unless your reverse proxy does it for you.
- **Backups.** Nobody backs up your links database but you. If the server dies, every short link you've ever shared breaks unless you've been exporting data.
- **Updates.** PHP and Node both move fast enough that a shortener left alone for a year or two can fall behind on supported runtime versions, which is part of why "still maintained" matters below.

None of this is a reason to avoid self-hosting. It's the actual trade for owning your data and never being on anyone else's roadmap. Keep it in mind as you read the requirements.

## YOURLS: the lightest, plugin-everything option

[YOURLS](https://yourls.org) ("Your Own URL Shortener") is a set of PHP scripts you drop on a normal web server. It's the oldest of the three and the smallest.

**What it needs:** PHP 8.1 or newer, Apache 2.4+ with `mod_rewrite` enabled, and MySQL 5.5+ or MariaDB 10.0+ (checked on YOURLS' own requirements page, 21 November 2026). The PHP cURL extension is required if you use the API. There's no official Docker image; you install it the way you'd install any PHP app, by uploading the files and pointing a database at `user/config.php`.

**What it does out of the box:** short links, a stats page per link, and a REST-style API with a handful of actions (`shorturl` to create, `expand`, `url-stats`, `db-stats`, `stats`), confirmed by reading `includes/functions-api.php` in the YOURLS source. One YOURLS install serves one domain, set once in `user/config.php` as `YOURLS_SITE`; running a second domain means a second install.

**What it doesn't do without a plugin:** QR codes, custom analytics dashboards and most anything beyond the basics. YOURLS' own documentation is explicit about this: feature requests are routinely closed with a "plugin domain" label, because "one of the primary goals of YOURLS is to achieve balance between features and efficiency... to keep away from bloating core with features that won't be used by many." If you want QR codes on your YOURLS links, you're installing a community plugin, not using a built-in feature.

**Maintenance:** actively maintained. The latest commit on the `master` branch is from 19 November 2026 and the stable release line is 1.10.6, with 1.10.7 in development. Licensed MIT.

## Shlink: the most features, but you'll run two apps

[Shlink](https://shlink.io) is the most capable of the three and the one built the most like a real API service rather than a classic PHP web app.

**What it needs:** PHP 8.4 or 8.5, with the `json`, `curl`, `pdo`, `intl`, `gd` and `gmp` or `bcmath` extensions, confirmed on Shlink's own self-hosting requirements (21 November 2026). For the database you can use MySQL, MariaDB, PostgreSQL, Microsoft SQL Server or SQLite, which is more choice than the other two. You don't have to run it under Apache either: Shlink ships with its own application server options (RoadRunner or FrankenPHP) or a classic web server setup, and there's an official Docker image, which is the easiest path.

**What it does:** this is where Shlink pulls ahead. One instance can serve multiple short domains, each with its own custom slugs (YOURLS and Kutt both tie you closer to one domain per setup). It has dynamic redirects that send a visitor to a different destination by country, device or language, a full REST API with scoped API keys, visit stats with IP anonymization by default, and it can import your existing short links from Bitly or YOURLS if you're migrating.

**What it doesn't do by itself anymore: QR codes.** This is worth knowing if you've used Shlink before. Reading Shlink's own changelog, QR code generation used to live in the server itself (`/{shortCode}/qr-code`), but Shlink 5.0 (released 9 January 2026) removed it: "Remove support to generate QR codes. This functionality is now handled by Shlink Web Client and Shlink Dashboard." In practice that means the Shlink server you self-host is API and redirects only. For a stats dashboard and QR codes you deploy a second application, either the official Shlink Web Client (a React app you can also just use hosted at app.shlink.io) or the newer Shlink Dashboard, which adds multi-user permissions and its own backend. Self-hosting Shlink properly, with QR codes and a UI, is really standing up two pieces of software.

**Maintenance:** the most active of the three by a clear margin. The latest commit I found was from today, 21 November 2026, and the latest release, 5.1.9, shipped the same day. Shlink ships monthly patch releases. Licensed MIT.

## Kutt: the simplest to get running, and the only one with QR codes built in

[Kutt](https://kutt.to) is a Node.js app, and it's the only one of the three that keeps QR code generation in its own dashboard rather than pushing it out to a plugin or a separate app.

**What it needs:** Node.js 20 or newer, confirmed in Kutt's own README (21 November 2026). The database defaults to SQLite with zero configuration, so you can start it with `npm install` and `npm run migrate` and nothing else; Postgres and MySQL/MariaDB are both supported if you want them, and Redis is optional for caching and rate limiting. There's an official Docker image plus several ready-made `docker-compose` files for SQLite, SQLite with Redis, Postgres and MariaDB.

**What it does:** short links with custom slugs, optional passwords and expiration dates on individual links, private per-link stats, an admin page for managing users and links, and OpenID Connect login if you want to hang it off an existing identity provider. Reading Kutt's own view templates confirms a QR code button sits right next to each link in both the user and admin dashboards, generated client-side, so you don't need a plugin or a second app to get one. Custom domains are supported per link, but HTTPS for a custom domain is manual: Kutt's own configuration docs say plainly, "it's on you to generate SSL certificates for those domains manually, at least on this version for now."

**Maintenance:** maintained, at a noticeably slower pace than the other two. The latest commit on the `develop` branch is from 19 October 2026, about a month before this check, and the current released version is 3.2.6. Licensed MIT.

## The three, side by side

| | YOURLS | Shlink | Kutt |
|---|---|---|---|
| Language / runtime | PHP 8.1+ | PHP 8.4 or 8.5 | Node.js 20+ |
| Web server | Apache 2.4+ (mod_rewrite) | RoadRunner, FrankenPHP or classic + Docker | Built-in (Express), Docker available |
| Database | MySQL 5.5+ / MariaDB 10.0+ | MySQL, MariaDB, PostgreSQL, MSSQL or SQLite | SQLite (default), Postgres or MySQL/MariaDB |
| Official Docker image | No | Yes | Yes |
| QR codes built in | No (plugin only) | No (moved to a separate web client/dashboard app since 5.0) | Yes, in the dashboard |
| Multiple domains, one instance | No, one domain per install | Yes | Per link, HTTPS is manual |
| Last commit (checked 21 Nov 2026) | 19 Nov 2026 | 21 Nov 2026 | 19 Oct 2026 |
| License | MIT | MIT | MIT |

## If you'd rather not run a server at all

If what you actually want is short links, QR codes and click history without owning a server, a database, a certificate renewal schedule or a backup job, that's what [LotsLink](https://lots.link) is for. Links, clicks and QR codes are free and unlimited on every account; the only thing you pay for is adding your own domain, which is $4 a month with no plan, or bundled cheaper into a Starter plan at $9 a month for 3 domains, checked on the LotsLink pricing page on 21 November 2026. There's also an MCP server and a REST API if you want an AI agent or your own code creating and tracking links, which none of YOURLS, Shlink or Kutt offer out of the box.

That's the honest trade either way: self-host one of these three and you keep full control of your data and your server, at the cost of running that server. Use a hosted tool and someone else runs the server, at the cost of depending on them for it.

## FAQ

**Which self-hosted URL shortener is easiest to set up?**
Kutt is the quickest to get running: it defaults to a SQLite database with no configuration, so `npm install` and `npm run migrate` get you a working instance before you've touched a database at all. YOURLS and Shlink both expect you to create and point to a MySQL, MariaDB or similar database first.

**Does YOURLS have QR codes?**
Not in core. YOURLS keeps its base install deliberately small and treats QR codes, like most extras, as something you add through a community plugin rather than a built-in feature.

**What happened to QR codes in Shlink?**
Shlink 5.0, released 9 January 2026, removed QR code generation from the self-hosted server itself. The project's own changelog says the feature moved to the Shlink Web Client and the newer Shlink Dashboard, so getting QR codes back means running one of those alongside the Shlink server.

**Can I run Shlink without Docker?**
Yes. Shlink can run behind a classic web server, or with its own built-in RoadRunner or FrankenPHP runtimes, using a downloaded dist file. Docker is the officially recommended path because it's simpler, but it isn't required.

**Do any of these support custom domains with no extra setup?**
Not fully automatically. Shlink supports multiple domains from one instance and Kutt supports custom domains per link, but in Kutt's case HTTPS certificates for a custom domain are, by its own documentation, something you generate and manage yourself. YOURLS ties one install to one domain set in its configuration file.

**Is there a hosted option if I don't want to manage any of this myself?**
Yes. LotsLink gives you unlimited free short links, clicks and QR codes with no server, database or certificates to manage, and the only paid part is adding your own domain.
