Url-Shorten-Worker

Free, open-source URL shortener and Pastebin that runs on Cloudflare Workers and Workers KV.

Visit Website
Url-Shorten-Worker

About Url-Shorten-Worker

Url-Shorten-Worker is a self-hosted URL shortener and Pastebin that runs entirely on Cloudflare Workers. The whole app is a single index.js file with no build step, and it runs on the Workers free tier at $0/month. Deployment takes about 5 minutes: fork the repo, create a Workers KV namespace, add the config to wrangler.toml, and run npx wrangler deploy.

Beyond shortening links, it includes a Pastebin mode for sharing text up to 10 MiB, with ?raw=1 for plain-text output. Links can be set to expire automatically. Spam protection is available through an optional CAPTCHA on link creation (via a CAP Worker) and an optional Google Safe Browsing check. The project is MIT licensed, so users keep full ownership of their data and avoid vendor lock-in.

This tool suits developers, hobbyists, and small teams who want a private, low-cost link shortener or paste service without running their own servers or paying for a hosted SaaS product.

More Products