Url-Shorten-Worker is a free, open-source (MIT) URL shortener and Pastebin that runs on Cloudflare Workers with Workers KV storage. It is a single index.js file with no build step and can be deployed on the free tier. Features include per-link expiry, optional CAPTCHA protection, pastes up to 10 MiB with raw output, optional Google Safe Browsing checks, and docs in English and Chinese. For developers who want their own link shortener.
SaaS link shorteners charge monthly and host your data on their servers. We wanted a tool you fully own: deploy it yourself on Cloudflare Workers, keep the code auditable, and pay nothing on the free tier.