S

Shlink

5.0k stars·Privacy Protection·SHA-256 checksum verified

A self-hosted PHP URL shortener that lets you create short links under your own domain with analytics and API support.

Smart Download

Visit Project Homepage

No installer available yet — head to the source repository

Self-host your own short links with full control over data and analytics.

Core Features

  • Custom domain support for branded short links
  • Detailed click analytics with geolocation
  • Full REST API and CLI for automation
  • Official web client available
  • Docker deployment, multiple database support

What It Can't Do

  • •No built-in UI – needs the separate web client; API key management is CLI-only; geolocation features require optional GeoLite2 database setup.

Use Cases

  • Personal link management for blogs or social media
  • Marketing campaign tracking and attribution
  • Branded short links for trust and recognition
  • Privacy-focused alternative to commercial services

Shlink is an open-source, self-hosted URL shortening service built with PHP. It allows you to create and manage short links under your own custom domain, providing detailed click analytics, geolocation data, and a powerful REST API. You can run it on your own server using Docker or manual installation, supporting MySQL, PostgreSQL, SQLite and other databases. Unlike commercial services, Shlink gives you full control over your data and link management, with CLI and web client options for ease of use.

Tags

url-shortenerself-hostedphplink-managementanalytics

Getting Started

1

Download installer

Click the button above to download the installer for your system

2

Install the software

Double-click the downloaded installer and follow the prompts

3

Step 1: Ensure Docker (or PHP 8.4+ with a database) is installed

4

Step 2: Run docker run -p 8080:8080 -e DEFAULT_DOMAIN=your.domain shlinkio/shlink

5

Step 3: Generate an API key via bin/cli api-key:generate

Install Guide
  1. Step 1: Ensure Docker (or PHP 8.4+ with a database) is installed
  2. Step 2: Run docker run -p 8080:8080 -e DEFAULT_DOMAIN=your.domain shlinkio/shlink
  3. Step 3: Generate an API key via bin/cli api-key:generate
File Integrity

Checksum not available

This project has not published a SHA-256 checksum on its GitHub Release page

SHA256 Checksum

No checksum available

Download directly from GitHub Releases and verify file integrity yourself

All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.

Open Source Transparency

View GitHub Source
Environment Guide

Uninstall Info

Remove Docker container and image (docker rm shlink && docker rmi shlinkio/shlink); for manual install, delete project directory and database.

No Extra Dependencies

Ready to use after download. No additional runtime required.

Project Info
LicenseMIT
Last Updated2026-10-22 23:57:36
GitHub RepositoryOfficial Website

Having issues? Check the FAQ below

3 FAQs

Similar Projects