Create Your Own URLShorter Website for Your Own Domain

Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated
🔗

URLShorter

⚡ Fast • 🔒 Secure • 🎨 Modern URL Shortening

A professional, responsive URL shortening service powered by Cloudflare Workers.

✨ Features

⚡ Lightning-fast

URL shortening in milliseconds

🔗 Clean Short Links

Shareable and memorable URLs

📋 One-click Copy

Copy button for generated URLs

📱 Fully Responsive

Works on all devices

🛡️ CAPTCHA Support

Optional security integration

🌓 Dark Mode

Beautiful light/dark themes

🌐 Example Short URL

https://go.abdullah.nyc.mn/ANiFZm 🚀 Open Example Short URL

🚀 Getting Started

1. 📦 Create a Workers KV Namespace

Open Cloudflare Dashboard → Workers & Pages → KV and create a new KV namespace.

Choose any name you like. For example:

links

2. 🔗 Bind the KV Namespace

Go to Settings → Variables → KV Namespace Bindings and add a KV binding.

Variable name:

LINKS

✅ The Worker code expects the KV binding variable to be named LINKS.

3. 📝 Copy the Worker Code

Open the Worker source file and copy the complete Worker code. Replace existing code with copied code.

4. ⚙️ Configure the Worker

Main settings are inside the config object:

const config = { no_ref: "off", theme: "theme/captcha", cors: "on", unique_link: true, custom_link: false, safe_browsing_api_key: "", expiration_ttl: 0, captcha: { enabled: true, require_on_create: true, require_on_access: true, timeout: 5000, fallback_on_error: true, max_retries: 2 } };

5. 🚀 Save and Deploy

After KV binding and Worker code are ready: Save → Deploy. Then test URL shortening.

🧪 How to Use

  1. Open your deployed URLShorter website.
  2. Paste a long URL into the input field.
  3. Complete security verification when required.
  4. Click Shorten URL.
  5. Your short URL result will appear.
  6. Click Copy to copy the generated URL.
  7. Share your short link anywhere.

⚙️ Configuration Options

Option Description
no_refControls referrer hiding
themeHomepage theme
corsEnables CORS
unique_linkReuses same short URL for same long URL
custom_linkEnables custom short URLs
safe_browsing_api_keyOptional URL safety checking
expiration_ttlOptional link expiration in seconds
captcha.enabledEnables/disables CAPTCHA
captcha.require_on_createCAPTCHA for link creation

🛡️ Security Notes

  • 🔐 Keep API keys private
  • 🧱 Configure Worker bindings correctly
  • 🛡️ Keep security protection enabled
  • 🔎 Test redirects before publishing
  • 🚫 Never expose private credentials in frontend code

👨‍💻 Developer

Abdullah Bin Shahid

🌐 Website: abdullah.nyc.mn

💜 URLShorter — Fast. Secure. Simple.
Built by Abdullah Bin Shahid

About the Author

Abdullah Skill 🛒 – Your One-Stop Source for Blogger Templates 📄, Themes 🎨, PHP Scripts 💻, Widgets 🧩 & More. Powered by Abdullah Coded & Designs ✨.

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.