LINK SHORTENERS & LINK MANAGEMENT

8 Best Open Source URL Shorteners in 2026: Features Compared

On this page
8 Best Open Source URL Shorteners in 2026: Features Compared
QUICK ANSWER

Shlink is the best open source URL shortener for most teams because it is MIT licensed, actively maintained and built API first, with custom domains and visit tracking. YOURLS suits PHP hosting with plugins, Kutt suits a modern dashboard, and Dub suits teams that also want hosted attribution.

Key takeaways

  • Every tool here is genuinely open source under a stated license, checked in Dec 2026.
  • Shlink, YOURLS, Kutt and Chhoto URL use the MIT license with no paid edition.
  • Dub is open core: AGPLv3 core code with commercial enterprise directories.
  • Self-hosted software is free to license, but hosting, backups and updates still cost time or money.
  • Polr is GPL-2.0 and open source, but its last tagged release was in Jan 2021.

Open source URL shorteners give you control that hosted tools cannot: your domain, your database, your redirect rules and code you can inspect. The trade is responsibility. You run hosting, TLS, backups, updates and abuse controls, and license terms differ in ways that matter if you modify or redistribute the software. This ranking favors maintained projects with clear licenses and practical hosting paths, and it flags open-core and dormant projects plainly. License and project details were checked against official project and repository sources in Dec 2026. Operational planning should cover domain ownership, TLS renewal, database backups, restore tests, admin access, abuse handling and update cadence. Those details sound mundane beside feature lists, yet they decide whether short links keep resolving years after publication. A maintained project with modest features and a tested restore process is safer than a feature-rich install nobody owns.

Quick comparison

ToolBest forStarting priceFree planStandout feature
ShlinkTeams that want a maintained API-first shortenerFree (self-hosted)Yes (free MIT-licensed software; you pay for hosting)MIT-licensed, API-first, with a separate web client
YOURLSPHP hosting with a large plugin ecosystemFree (self-hosted)Yes (free MIT-licensed software; you pay for hosting)MIT-licensed PHP shortener with plugins and statistics
KuttA modern dashboard with passwords and expiryFree (self-hosted)Yes (free MIT-licensed software; you pay for hosting)MIT-licensed Node.js shortener with custom domains
DubModern teams that may also want hosted attributionFree (self-hosted AGPLv3 core; cloud Pro $27/month billed annually)Yes (free self-hosted core and free cloud plan with 25 new links/month)AGPLv3 core with hosted plans and conversion tracking
SinkCloudflare users who want serverless hostingFree (self-hosted on Cloudflare)Yes (free AGPL-3.0 software; Cloudflare usage may cost extra)AGPL-3.0 shortener running on Cloudflare
Pretty LinksWordPress publishers who want GPL link management$99.60/year for the first year (Beginner, 1 site; renews at $249/year)Yes (free Lite version on WordPress.org)GPL plugin with free Lite version inside WordPress
Chhoto URLMinimal self-hosting with hit counts onlyFree (self-hosted)Yes (free MIT-licensed software; you pay for hosting)MIT-licensed Rust shortener with a tiny footprint
PolrLegacy PHP installs that already depend on PolrFree (self-hosted)Yes (free GPL-2.0 software; you pay for hosting)GPL-2.0 shortener with API, now dormant

Is your product missing or out of date?

We review this list regularly. Vendors can request a listing, send updated pricing or ask about featured placement.

Request a listing

The 8 best open source url shorteners

Price ladder

Starting prices, cheapest first
  1. #1ShlinkFree
  2. #2YOURLSFree
  3. #3KuttFree
  4. #4DubFree
  5. #5SinkFree
  6. #7Chhoto URLFree
  7. #8PolrFree
  8. #6Pretty LinksNot confirmed

Starting prices from the comparison table below. Unconfirmed monthly figures show as “Not confirmed”.

Show:

YOURLS

Best for PHP hosting with a large plugin ecosystem
Free(self-hosted)
Visit yourls.org
Starting priceFree (self-hosted)
Free planYes
Free trialNot confirmed
PlatformsSelf-hosted, PHP, Web, API

YOURLS, short for Your Own URL Shortener, is the long-running PHP option under the MIT license. It runs on your server and domain, with custom keywords, bookmarklets, click statistics with referrer and visitor location data, and a developer API. A large community plugin list adds features such as QR codes and extra controls. The admin interface feels dated, user management is basic, and plugin quality varies, so vet extensions before production use. For simple hosting you already control, YOURLS remains a dependable, fully free choice. Before public use, test backups, restore, TLS renewal and admin access for this install. Record slug ownership and destinations outside the system, and review updates on a schedule so important links do not depend on forgotten infrastructure.

What we like

  • MIT license and no subscription or usage fees.
  • Plugin ecosystem extends a small core.
  • Statistics and API are built in.

Watch out for

  • Admin interface and user controls feel dated.
  • Plugin quality and maintenance vary.
  • You handle PHP hosting, security and backups.
Read the full YOURLS overview →

Kutt

Best for A modern dashboard with passwords and expiry
Free(self-hosted)
Visit kutt.to
Starting priceFree (self-hosted)
Free planYes
Free trialNot confirmed
PlatformsSelf-hosted, Docker, Web, API

Kutt is a modern MIT-licensed shortener written in Node.js, designed with self-hosting in mind. It supports custom domains, custom addresses, password-protected links, descriptions, expiration times, private statistics, user management, an admin panel and a REST API, with SQLite available for simple setups and other databases for larger installs. OpenID Connect login helps team deployments. You still run the server, mail settings and updates. For teams that want a polished dashboard without building around an API-only server, Kutt is a strong fit. Before public use, test backups, restore, TLS renewal and admin access for this install. Record slug ownership and destinations outside the system, and review updates on a schedule so important links do not depend on forgotten infrastructure.

What we like

  • MIT license with a complete dashboard included.
  • Passwords, expiry and private stats are built in.
  • SQLite keeps small installs simple.

Watch out for

  • Node.js hosting and updates are your responsibility.
  • Mail and identity settings need configuration.
  • Hosted premium accounts are separate from self-hosting.
Read the full Kutt overview →

Dub

Best for Modern teams that may also want hosted attribution
Free(self-hosted AGPLv3 core; cloud Pro $27/month billed annually)
Visit dub.co
Starting price$27/month billed annually (Pro; $30/month …
Free planYes
Free trial14-day trial on paid plans
PlatformsWeb, API
Dub dashboard

Dub is open core rather than fully permissive: the core codebase is AGPLv3, while enterprise directories sit under a commercial license for production use. Self-hosting is possible, but the guide depends on several managed services, so it is heavier than Shlink, YOURLS or Kutt. The hosted product adds branded links, QR codes, UTM templates, analytics and conversion tracking, with a free cloud plan. Choose Dub when modern attribution matters and the license split is acceptable. Read the license files before building a business on the self-hosted code. Before public use, test backups, restore, TLS renewal and admin access for this install. Record slug ownership and destinations outside the system, and review updates on a schedule so important links do not depend on forgotten infrastructure.

What we like

  • AGPLv3 core can be inspected and self-hosted.
  • Hosted plans add attribution and support.
  • UTM templates, QR codes and API are included.

Watch out for

  • Enterprise features use a commercial license.
  • Self-hosting depends on several managed services.
  • Cloud pricing rises quickly with volume.
Read the full Dub overview →

Sink

Best for Cloudflare users who want serverless hosting
Free(self-hosted on Cloudflare)
Visit sink.cool
Starting priceFree (self-hosted on Cloudflare)
Free planYes
Free trialNot confirmed
PlatformsSelf-hosted on Cloudflare, Web, API

Sink is an AGPL-3.0 link shortener built to run on Cloudflare, with analytics, custom slugs, expiration, password protection, device and country routing, QR codes and import and export tools. Because it runs on Cloudflare Workers and related services, there is no traditional server to patch, but your Cloudflare account, usage limits and configuration become the hosting job. The project aims at individuals and small teams, and its materials point business needs such as multi-user support and service levels toward a separate hosted product. Check Cloudflare costs before assuming it stays free. Before public use, test backups, restore, TLS renewal and admin access for this install. Record slug ownership and destinations outside the system, and review updates on a schedule so important links do not depend on forgotten infrastructure.

What we like

  • AGPL-3.0 code with analytics and routing features.
  • Runs on Cloudflare without a traditional server.
  • Import and export support link migration.

Watch out for

  • Cloudflare account limits and costs still apply.
  • Aimed at individuals and small teams.
  • Multi-user business needs sit outside the project scope.
Read the full Sink overview →

Chhoto URL

Best for Minimal self-hosting with hit counts only
Free(self-hosted)
Visit chhoto.link
Starting priceFree (self-hosted)
Free planYes
Free trialNot confirmed
PlatformsSelf-hosted, Docker, Web, API

Chhoto URL is a small MIT-licensed Rust shortener for people who want links and little else. It supports generated or custom slugs, link expiry, editing and disabling links, notes with filtering, QR codes, an API, OIDC or password login, and privacy-respecting hit counts that record the hit and nothing else. Links live in SQLite and deployment uses a small container. There is no rich analytics, user management or campaign reporting by design. Choose it for a personal or internal shortener where simplicity and low resource use matter most. Before public use, test backups, restore, TLS renewal and admin access for this install. Record slug ownership and destinations outside the system, and review updates on a schedule so important links do not depend on forgotten infrastructure.

What we like

  • MIT license and very small container footprint.
  • Hit counting avoids detailed visitor tracking.
  • Custom slugs, expiry, QR codes and API are included.

Watch out for

  • Analytics stop at hit counts by design.
  • No rich campaign or user reporting.
  • You manage hosting, TLS and backups.
Read the full Chhoto URL overview →

Polr

Best for Legacy PHP installs that already depend on Polr
Free(self-hosted)
Visit polrproject.org
Starting priceFree (self-hosted)
Free planYes
Free trialNot confirmed
PlatformsSelf-hosted, PHP, Web, API

Polr is a GPL-2.0 PHP shortener with a web interface, custom endings, user accounts and a JSON API for shortening and lookup. It was once a popular self-hosted choice and remains genuinely open source. The caution is maintenance: its last tagged release was in Jan 2021, so running it on the public internet means accepting old dependencies and security risk. Existing installs may keep it behind careful controls while planning migration. New projects should choose Shlink, YOURLS or Kutt instead of starting with dormant code. Before public use, test backups, restore, TLS renewal and admin access for this install. Record slug ownership and destinations outside the system, and review updates on a schedule so important links do not depend on forgotten infrastructure.

What we like

  • GPL-2.0 license with a documented API.
  • Custom endings and user accounts are included.
  • Self-hosting keeps link data under your control.

Watch out for

  • Last tagged release was in Jan 2021.
  • Old dependencies raise security risk.
  • New projects have better maintained options.
Read the full Polr overview →

How we chose

We included only tools with a verifiable open source license from the project or repository. Proprietary tools with free tiers were excluded, and open-core limits are stated where they apply.

CriterionWeightWhat we looked at
License clarity30%The license decides what you may run, modify and redistribute.
Maintenance and maturity30%Active releases reduce security and compatibility risk.
Hosting effort20%Setup and update burden decides total cost of ownership.
Link and analytics features20%Domains, edits, expiry and stats shape daily usefulness.

Which license fits how you will use the software?

MIT-licensed tools such as Shlink, YOURLS, Kutt and Chhoto URL allow broad use with notice requirements. AGPL tools such as Sink, and the Dub core, add obligations when modified versions are offered as a network service. GPL tools such as Pretty Links and Polr carry copyleft terms. Read the license file in the repository before commercial redistribution or hosted offerings. Write down who owns hosting, DNS, backups, updates and incident response before public links depend on the install. Test a restore, export link records, and review admin access on a schedule. Open source control only helps when the operating routine is documented and practiced.

What hosting will you run and maintain?

YOURLS and Shlink fit PHP hosting, Kutt needs Node.js, Chhoto URL ships as a small container, and Sink runs on Cloudflare. Budget for a domain, TLS, database backups, monitoring and updates. A shortener is infrastructure: if it stops, every printed and published link stops with it, so hosting quality matters more than feature count. Write down who owns hosting, DNS, backups, updates and incident response before public links depend on the install. Test a restore, export link records, and review admin access on a schedule. Open source control only helps when the operating routine is documented and practiced.

Do you need a dashboard, an API, or both?

Kutt and YOURLS provide a dashboard in the install. Shlink separates the API server from its web client, which suits automation and multiple instances. Dub centers on a hosted-style product experience. Choose based on who creates links each day: marketers may need screens, while product teams may need API keys, roles and audit trails. Write down who owns hosting, DNS, backups, updates and incident response before public links depend on the install. Test a restore, export link records, and review admin access on a schedule. Open source control only helps when the operating routine is documented and practiced.

Keep control of the short domain, export link and slug records regularly, and document redirect rules. Open source code helps you inspect data, but migration still needs matching paths and destinations. Avoid dormant projects for new public installs, because security updates are part of link reliability over years of use. Write down who owns hosting, DNS, backups, updates and incident response before public links depend on the install. Test a restore, export link records, and review admin access on a schedule. Open source control only helps when the operating routine is documented and practiced.

Frequently asked questions

Which open source URL shortener is best overall?

Shlink is best for most teams because it is MIT licensed, actively maintained and API first, with custom domains, tags and visit tracking. Its web client is separate from the server, so plan deployment for both parts or use the hosted client carefully.

Are open source shorteners really free?

The software license is free for the tools here, but hosting is not automatically free. You pay for a server or cloud usage, a domain, backups and your time for updates and security. Dub and Pretty Links also sell hosted or paid plans beside open source code.

Is Dub fully open source?

Dub is open core. Its core codebase is AGPLv3, while enterprise directories are under a commercial license for production use. That can still fit many teams, but it is not the same as an MIT-licensed project with no paid edition. Read the repository license files first.

Which open source shortener is easiest to host?

Chhoto URL is among the simplest, with SQLite storage and a small container, but analytics stop at hit counts. Kutt also keeps small installs simple with SQLite and a full dashboard. YOURLS suits existing PHP hosting, while Shlink suits API-led setups.

Should new projects use Polr?

No, not for a new public install. Polr is GPL-2.0 and genuinely open source, but its last tagged release was in Jan 2021. Old dependencies raise security risk. Existing users should plan migration to a maintained project such as Shlink, YOURLS or Kutt.

Can open source shorteners use custom domains?

Yes. Self-hosting means links normally run on a domain you control. Shlink supports multiple domains, Kutt supports custom domains, and YOURLS runs on your chosen domain. Plan DNS, TLS and slug records so printed links remain stable if you migrate later.

Is Pretty Links open source?

Yes, Pretty Links is licensed under the GNU General Public License, with a free Lite version on WordPress.org. Paid plans add automation, support and updates by site count. It requires WordPress, so it fits publishers rather than standalone team shortening.

Final verdict

  • Pick Shlink for a maintained, MIT-licensed, API-first shortener.
  • Pick YOURLS for PHP hosting and a large plugin ecosystem.
  • Pick Kutt for a modern dashboard with passwords and expiry.
  • Pick Dub only after accepting its open-core license split.
  • Avoid Polr for new public installs because maintenance has stalled.
Sources we checked (8)
  1. Shlink pricing and plan details checked December 2026
  2. YOURLS pricing and plan details checked December 2026
  3. Kutt pricing and plan details checked December 2026
  4. Dub pricing and plan details checked December 2026
  5. Sink pricing and plan details checked December 2026
  6. Pretty Links pricing and plan details checked December 2026
  7. Chhoto URL pricing and plan details checked December 2026
  8. Polr pricing and plan details checked December 2026

Is your product missing or out of date?

We review this list regularly. Vendors can request a listing, send updated pricing or ask about featured placement.

Request a listing
Shamim · Founder, Appterly

Shamim is the founder of Appterly and the author of every guide on this site.

More about Shamim →