A free, open-source URL shortener built on Cloudflare Workers + D1. Sub-10ms global redirects, click analytics, vanity slugs, and a full admin dashboard — all on Cloudflare's free tier. Integrates with Claude, GitHub Copilot, Cursor, and Windsurf via an MCP server.
shrtnr deploy --edge-only
# Detecting configuration...
{✓} Workers: shrtnr-main
{✓} KV Store: SHRTNR_DB
{✓} Region: Global (250+ PoPs)
Infrastructure synced.
Your domain is now active.
Runs entirely on Cloudflare's free tier. Workers handle compute, D1 handles storage. No servers to maintain.
175,616 unique combinations out of the box. Short enough to fit anywhere.
Human-readable aliases like /my-blog-post alongside random slugs. One link, multiple entry points.
Per-click tracking with referrer, country, device, and browser. Know exactly how your links perform.
Link management, analytics charts, QR code generation. Everything from the browser.
The @oddbit/shrtnr npm package for programmatic link management from any TypeScript project.
Connect Claude, GitHub Copilot, Cursor, and Windsurf via the Model Context Protocol. Ask your AI to shorten URLs, create vanity slugs, or check click analytics — all in natural language.
SSO via Google, GitHub, OTP, SAML, or any identity provider. Zero auth code in the worker.
Click the button, get a running instance. Fork, D1 database, and Worker created automatically.
Manage links from code or let your AI assistant handle it. The TypeScript SDK works in Node.js, Deno, and the browser. The MCP server connects Claude, GitHub Copilot, Cursor, and Windsurf — shorten URLs and manage links in natural language.

Cloudflare's edge network resolves links at the nearest point of presence. 250+ locations worldwide, no cold starts.
Your links, your data, your database. Host on your own Cloudflare account. No third-party touches your PII.
Version control your redirects. Sync via CI/CD. Treat shortlinks like you treat your microservices.
You own the domain and the logic. No platform risk, no link rot. Your assets stay under your control.

Ready to own your link infrastructure? Deploy to Cloudflare and go live.

Tell Us About Your Project