Launch
Url-Shorten-Worker
Visit
Example Image

Url-Shorten-Worker

Self-hosted URL shortener + Pastebin on Cloudflare Workers

Visit

Open-source URL shortener that runs entirely on Cloudflare Workers. A single index.js plus Workers KV gives you short links on your own domain, a REST API, per-link expiry, CAPTCHA abuse protection, and a Pastebin mode for text/code up to 10 MiB. MIT licensed - deploys in about 5 minutes on the free tier.

Example Image
Example Image
Example Image
Example Image

Features

- Short links on your own domain, optional custom paths

- REST API for programmatic link creation

- Pastebin mode: text/code up to 10 MiB, raw output

- CAPTCHA protection on link creation

- Per-link expiry

- English + Chinese docs

Use Cases

- Personal branded short links without a subscription

- Teams sharing links under a company domain

- Quick text/code snippet sharing (Pastebin mode)

- Self-hosters who want serverless tooling

Comments

custom-img
Open-source dev tools maintainer

I'm a maintainer of Url-Shorten-Worker. The project started as a single-file URL shortener for Cloudflare Workers, and the latest release adds a Pastebin mode (10 MiB per paste) plus CAPTCHA protection on link creation. It deploys in minutes on the free tier — no servers, MIT licensed. Happy to answer questions about the Workers/KV setup or the deployment flow.

Premium Products
custom-img
Open-source dev tools maintain...
Makers
custom-img
Open-source dev tools maintain...

Comments

custom-img
Open-source dev tools maintainer

I'm a maintainer of Url-Shorten-Worker. The project started as a single-file URL shortener for Cloudflare Workers, and the latest release adds a Pastebin mode (10 MiB per paste) plus CAPTCHA protection on link creation. It deploys in minutes on the free tier — no servers, MIT licensed. Happy to answer questions about the Workers/KV setup or the deployment flow.

Premium Products