Shlink is an open-source, self-hosted URL shortener written in PHP, positioned around the idea of “controlling all your short links under your own domain.” It is not just a simple short-link generator, but a link management system for developers and teams, allowing short URLs to be created, managed, and tracked via a Web PWA, REST API, and CLI.
Feature-wise, Shlink covers common needs such as short-link generation, custom slugs, multi-segment slugs, multiple domains, tags, visit statistics, geolocation, referrer data, and browser analytics. More advanced capabilities include dynamic redirects based on location, device type, language, and other conditions, as well as access restrictions by date range or maximum visit count. It anonymizes IP addresses by default, emphasizes GDPR compliance, and includes bot detection to reduce noise in analytics.
On the technical and integration side, Shlink is built with PHP and uses components such as Mezzio, Doctrine, and Symfony. It supports MySQL, MariaDB, Postgres, and Microsoft SQL databases. It follows an API-first design: the REST API returns JSON by default and supports CORS, request tracing, API key authentication, and API key permission limits by domain or resource creation. Its CLI commands are also comprehensive, covering management tasks for API keys, domains, short URLs, tags, visits, and more. The ecosystem also includes an official PWA Web Client, real-time events via Mercure/RabbitMQ, Matomo integration, and data imports from bit.ly and YOURLS.
The source text does not show commercial pricing or hosted plans. Shlink is clearly an MIT-licensed open-source project. It can be self-hosted by downloading release packages or deployed directly to containerized environments using the official Docker image. For teams that care about data sovereignty and branding under their own domains, this is its main value proposition.
Its strengths are open-source transparency, the control that comes with self-hosting, complete API and CLI support, and powerful short-link rule capabilities. It is especially suitable for development teams that want to embed link-shortening functionality into their own business systems. The downsides are that you need to maintain the runtime environment, database, domains, and upgrade process yourself. For non-technical users, the learning curve is higher than with SaaS short-link services. Information about official commercial support, a hosted version, and payment methods is not covered in the source text.
Access from mainland China is not specified in the source text, so it should be considered unknown. Because Shlink supports self-hosting, actual access quality mainly depends on the deployment server and DNS location. If targeting users in China, it can be deployed on mainland China or Asia-Pacific nodes. Alternatives include YOURLS and bit.ly, though bit.ly is an externally hosted service, so data control and access stability need to be evaluated separately.
⚠ This review is compiled from public sources and does not constitute a purchase recommendation. Verify all facts on the vendor's official site. Verify on shlink.io official site.
shlink.io is an Spain Dev Tools provider. TG4G tracks its product information, an overall rating of 8.0/10, and a China-accessibility score of China direct-connect friendly. Click "Visit Official Site" to reach shlink.io directly.