# shlink

> Self-hosted URL shortener with REST API and CLI

Shlink is a self-hosted URL shortener for serving shortened links under custom domains. It features a REST API, command-line management tools, and support for multiple relational databases. It can be deployed using an official Docker image or run directly in a PHP environment.

- Source: https://github.com/shlinkio/shlink
- Homepage: https://shlink.io
- License: MIT
- Built with: PHP 99.1%, Other 0.9%
- Stars: 5440
- Forks: 456
- Contributors: 26
- Last commit: 2026-11-22
- Latest release: v5.1.9 (2026-11-21)
- Purpose: Self-hosted apps
- Type: Web, Docker / self-host, CLI
- For: Personal, Enterprise

## Can I use it?

MIT License. Permissive. Few rules: use it almost any way you like, if you keep the notice.

- Use it at work: Yes. Free for personal and company use.
- Sell what you build with it: Yes. You can sell apps and services that include it.
- Keep your own code private: Yes. You don’t have to share your code or your changes.
- Put it in a closed-source app: Yes. You can ship it inside closed-source software.
- Credit the authors: Required. Keep the copyright and license notice in the copies you share.

Good to know:

- It comes with no promise that it works. You use it at your own risk.
- This covers the project’s own code. Its dependencies, and folders like “ee”, may have other licenses.
- The license can change between versions. The one in the version you use is what counts.

_For information only, not legal advice. This is a short summary of the MIT License. The license text is what counts. [Read the full license](https://spdx.org/licenses/MIT.html). For a business decision, ask a lawyer._

[Compare the common licenses](https://diggithub.com/-/licenses#lic-mit)

## Worth score: 78/100

How much DigGitHub recommends it, from activity, adoption, docs, license and security signals.

- Popularity: 19/25
- Momentum: 10/20
- Maintenance: 25/25
- Community: 9/15
- Readiness: 15/15

## Downloads

Latest release: [v5.1.9](https://github.com/shlinkio/shlink/releases/tag/v5.1.9). Files from the project's GitHub release, not checked by DigGitHub.

Other files:

- [shlink5.1.9_php8.5_dist.zip](https://github.com/shlinkio/shlink/releases/download/v5.1.9/shlink5.1.9_php8.5_dist.zip) (12 MB, 78 downloads)
- [shlink5.1.9_php8.4_dist.zip](https://github.com/shlinkio/shlink/releases/download/v5.1.9/shlink5.1.9_php8.4_dist.zip) (12 MB, 66 downloads)

## Alternatives

- [YOURLS](https://diggithub.com/YOURLS/YOURLS.md): Self-hosted URL shortener with stats, analytics, and plugins
- [kutt](https://diggithub.com/thedevs-network/kutt.md): Modern URL shortener with custom domains and analytics
- [wiki-go](https://diggithub.com/leomoon-studios/wiki-go.md): Flat-file wiki and documentation platform built with Go

---

Source page: https://diggithub.com/shlinkio/shlink
Updated: 2026-11-24
