What is Polr?
Polr is a self-hostable open source URL shortener released under the GPL-2.0 license and written in PHP with the Lumen framework. It provides a web interface for creating short links with custom endings, user accounts, and a JSON API for shortening and looking up destinations. The project aimed to give operators control over branding and link data instead of depending on a hosted shortener domain.
The important context in Dec 2026 is maintenance. Polr last tagged release was in Jan 2021, so new public installs would run old dependencies and accept security and compatibility risk. Existing operators may keep a controlled install while planning migration, with careful backups and access limits. New projects should choose a maintained shortener such as Shlink, YOURLS or Kutt. Polr remains genuinely open source, but dormant status should drive the decision.
Existing Polr operators should treat migration as the main task. Inventory important slugs, destinations, owners and printed uses, then recreate priority links in a maintained shortener under the same domain where possible. Redirect behavior should be tested before DNS or routing changes, and old records should be retained for audit. Access to the legacy install should be restricted, backups verified, and public exposure reduced while migration is pending. Keeping Polr running without a plan leaves important links dependent on dormant code and old dependencies.
Polr at a glance
How does Polr work?
- Install Polr
Deploy the PHP application with a database and point a short domain at the install.
- Create accounts
Set up administrator and user accounts and assign API keys where needed.
- Create links
Add short URLs with custom endings through the interface or API.
- Plan migration
Export link records and move important slugs to a maintained shortener.
Polr key features
Custom endings
Choose readable short paths for shared and printed links.
JSON API
Shorten and look up URLs programmatically with API keys.
User accounts
Manage access for people who create links on the instance.
Own domain
Run links under a domain and database you control.
Web interface
Create and manage links without using the API for every task.
GPL-2.0 license
Inspect, run and modify the code under copyleft terms.
Why use Polr?
- Genuinely open source under GPL-2.0.
- API supports programmatic shortening and lookup.
- Custom endings keep links readable.
- Self-hosting keeps data under operator control.
Who is Polr best for?
A good fit for
- Existing Polr operators planning migration
- Legacy PHP environments with controlled access
- Developers studying older shortener code
Less suited to
- New public shortener projects
- Teams that need current security updates
- Campaigns that need modern analytics and support
Polr pricing
| Pricing model | Free open source (GPL-2.0), self-hosted |
|---|---|
| Free plan | Yes |
| Free trial | Not confirmed |
| Starting price | Free (self-hosted) |
Polr is free GPL-2.0 software. You pay for hosting and a domain. Its last tagged release was in Jan 2021, so new public installs carry maintenance and security risk.
Prices checked December 2026. Vendors change plans often, so confirm on the official Polr pricing page before you buy.
Polr pros and cons
Pros
- GPL-2.0 license and documented API
- Custom endings and user accounts
- Self-hosted data control
- Simple link shortening model
Cons
- Last tagged release was in Jan 2021
- Old dependencies raise security risk
- Better maintained alternatives exist
Polr integrations and platforms
Works with
Available on
Polr alternatives
See the full shortlist in Best URL Shorteners.
Polr FAQ
Is Polr free and open source?
Yes. Polr is free software under the GPL-2.0 license, and you host it yourself. Hosting and domain costs still apply, and maintenance status should be considered before any new deployment. A sensible migration starts with an inventory of slugs, destinations, owners and printed uses. Recreate priority links in a maintained shortener, test redirects, and retain old records for audit before changing DNS or routing. Restrict access to the legacy install, verify backups, and reduce public exposure while migration is pending. Those steps protect important links better than trying to modernize dormant code in place, and they give readers a stable path when the replacement service takes over.
Is Polr still maintained?
Polr last tagged release was in Jan 2021. That dormant status makes it a poor choice for new public installs, because security updates and compatibility fixes may not arrive when needed. Keep a written record of slug ownership and destination changes, review legacy access on a schedule, and rehearse cutover before printed materials depend on the replacement. That preparation protects readers and partners while the dormant install is retired in an orderly way.
Does Polr have an API?
Yes. Polr provides a JSON API with actions for shortening and looking up URLs, authenticated with API keys assigned to users by an administrator.
Should new projects use Polr?
No. New projects should choose a maintained open source shortener such as Shlink, YOURLS or Kutt. Existing Polr users should export link records and plan migration of important slugs.
What does Polr run on?
Polr is written in PHP with the Lumen framework and uses a database such as MySQL. Old framework and dependency versions are part of the maintenance risk for public hosting.
Sources
This overview is based on Polr's official website and documentation, checked December 2026.