One click to switch between localhost, staging, and production. The browser extension (Chrome + Firefox) that saves web developers 30 seconds, 50 times a day.
No Chrome Web Store required. Download, load unpacked, done in 60 seconds.
Click "Staging" and your current page instantly navigates to the staging equivalent. Path, query params, and hash preserved.
The popup highlights which environment you're currently on — localhost, staging, or production — so you never lose track.
Add your own environments in the Options page. Works with any URL pattern: dev, QA, preview, feature branches.
Pure HTML + CSS + JavaScript. No React, no npm, no build step. Loads instantly. Weighs under 10KB.
Your environment configs sync via chrome.storage.sync. Set up once, available on every machine you sign into.
Full source on GitHub. Fork it, modify it, ship it to your team. No vendor lock-in. No subscription.
The popup appears when you click the extension icon. The Options page lets you configure your environments.
Extension Popup
https://myapp.vercel.app/products/42?debug=true#section
Current: Production
Options Page
You don't need the Chrome Web Store. The extension is a pure unpacked build — download the ZIP, extract, load into Chrome. Works immediately, no login, no account, no wait.
url-switcher-latest.zip (7.4 KB) — or git clone https://github.com/ttcd77/url-switcher.git if you prefer
Unzip the folder, go to chrome://extensions, toggle Developer mode (top right), click Load unpacked, and select the extracted folder (the one containing manifest.json)
Right-click the extension icon in the toolbar, select Options, and replace the default example URLs with your own localhost, staging, and production addresses
Coming to Chrome Web Store soon — one-click install without Developer Mode. Until then, the unpacked flow above works identically.
The extension works in Firefox too — same code, same features, zero changes. Uses the WebExtensions API.
url-switcher-firefox-v1.0.0.zip (6.6 KB) — purpose-built for Firefox with browser_specific_settings in manifest
Extract the ZIP, go to about:debugging#/runtime/this-firefox, click Load Temporary Add-on, and select the manifest.json file
Go to about:addons, find the extension, click the Options tab, and set your environment URLs
Coming to Mozilla Add-ons (AMO) soon. Free developer registration — no fee like Chrome Web Store. Until then, temporary loading works identically.
| Manual URL editing | Bookmark folders | URL Switcher | |
|---|---|---|---|
| Switch environments | Copy-paste-edit | Find bookmark | One click |
| Preserves path & query | Manual | No | Yes |
| Shows current environment | Look at URL bar | No | Yes, highlighted |
| Custom environments | Your brain | Limited | Unlimited |
| Syncs across devices | No | Yes | Yes |
| Cost | Free (your time) | Free | Free (MIT) |
http://localhost:3000 and https://myapp.com). Then click the extension icon on any page to toggle between environments with one click. The extension preserves your current path, query parameters, and hash — so /products/42?debug=true transfers between environments automatically.The core extension is and always will be free. A premium version with team features (multiple project sets, keyboard shortcuts, ExtensionPay) is in development.
7.4 KB ZIP. No store. No account. Extract, load unpacked, done.