Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
A self-hosted URL shortener with a REST API and CLI, custom slugs, QR codes and visit tracking. It has no bundled web UI; manage it with the separate Shlink web client or the API.
Runs on a VPS from $4/mo (Kamatera 1GB, 1 GB RAM) · prices checked Nov 2026
Fits home hardware (110 MB measured idle, RAM only): Raspberry Pi 4 (4 GB) (arm64 untested), Raspberry Pi 5 (8 GB) (arm64 untested), Repurposed laptop (8 GB), Intel N100 mini PC (16 GB), AMD Ryzen mini PC (32 GB).
Paid link — we earn a commission if you shop through it.
Run these commands on your server:
# Shlink — official image with its built-in SQLite DB; set DEFAULT_DOMAIN to your short domain
SHLINK_API_KEY=$(openssl rand -hex 32) && echo "Shlink API key: $SHLINK_API_KEY"
docker run -d --name shlink --restart unless-stopped -p 8080:8080 \
-e DEFAULT_DOMAIN=SERVER_IP:8080 -e IS_HTTPS_ENABLED=false \
-e INITIAL_API_KEY="$SHLINK_API_KEY" \
shlinkio/shlink:stable
# add -e GEOLITE_LICENSE_KEY=<free MaxMind key> to geolocate visits
# API: http://SERVER_IP:8080/rest/health — point the Shlink web client at it with the key aboveShlink used 110 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.9.3 (first boot, measured Nov 2026). We list a minimum of 256 MB.
The Shlink install snippet is marked verified on Ubuntu 26.04 (Nov 2026).