Shlink

github.com/shlinkio/shlink URL & Link Tools Open-source projectOpen source

Deploy Shlink as a self-hosted URL shortener, according to its repository description.

github.com/shlinkio/shlink
Shlink homepage screenshot

About Shlink

Shlink is a PHP-based self-hosted URL shortener for serving shortened URLs under your own domain. It can be deployed using the official Docker image or from built distributable packages, with support for MySQL, MariaDB, PostgreSQL, Microsoft SQL Server, and SQLite.

Setup requires PHP 8.4 or 8.5 with specified extensions, a database, and command-line steps including an installer script and API key generation. Once installed, it is managed through the command line and an API.

Key features

  • Serve shortened URLs under your own domain
  • Deploy via official Docker image using env vars
  • Install from pre-bundled dist zip packages
  • Manage instance via command-line interface
  • Interact programmatically using generated API keys
  • Use MySQL, MariaDB, PostgreSQL, Microsoft SQL or SQLite
Best for: People who want to run a URL shortener on their own server and domain.
Good for
  • Self-hosted open-source codebase for use on your own domain
  • Provides Docker image and pre-bundled distributable packages
  • Supports MySQL, MariaDB, PostgreSQL, Microsoft SQL Server and SQLite
Watch out for
  • Requires PHP 8.4 or 8.5 with specific extensions
  • Requires manual server setup, database creation and installer run
  • Configuration and API key generation require command-line use

Shlink at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

Shlink alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 17 alternatives

Popular in URL & Link Tools

Well-known listings from the same topic.

All 63

Shlink FAQ

What is required to self-host Shlink?
A host with PHP 8.4 or 8.5, the required PHP extensions, and MySQL, MariaDB, PostgreSQL, Microsoft SQL Server or SQLite with the matching PDO driver.
How is Shlink installed?
Download a pre-bundled dist zip file or build from source, place it on the server, then run the installer script on that server.
How do I use Shlink after installation?
Use the bin/cli command-line tool and interact with the API using an API key generated with bin/cli api-key:generate.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing