Switch environments without losing your place.
Tunnel takes you from domain.com to pre-domain.com (or local, dev, or whatever environments you have) with one click or shortcut, on the same path, with the same query and hash.
Free, no account, no ads.
/any-page/?id=42#details stays the same.How it works
Set it up once per project. From then on, switching is a single gesture.
-
Create a project with its environments
Name each environment and type its address:
domain.com,pre-domain.com,localhost:4200orintranet.com/pre. Pick a color so you can spot it at a glance. -
Browse as usual
Nothing about how you work needs to change. The extension only looks at the tab when you use it.
-
Jump to any environment
From the popup, with Alt+Shift+→ / ←, or from the right-click menu. You land on the same page in the other environment.
Features
What you need to move between environments all day, and nothing more.
- As many environments as you need
- Each project can hold local, dev, staging, production or whatever you have. The list order is the order the shortcuts cycle through.
- Exact matching
- Compares the full host, port included, plus an optional path prefix. It never searches for fragments of text in the URL.
- Configurable shortcuts
- Alt+Shift+→ goes to the next environment and Alt+Shift+← to the previous one. Change them in the browser’s shortcut settings.
- Direct click, if you prefer
- Make the toolbar icon jump to the next environment without opening the popup.
- You choose where it opens
- In the same tab, a new tab, or a new background tab.
- A warning before production
- Mark environments as protected and turn on confirmation. Environments named PRO, PROD, Production, Producción or Live are marked automatically when created.
- Per-tab color badge
- Optional: the icon shows the short name and color of each tab’s environment. The tabs permission is only requested when you turn it on.
- Protocol per environment
- Keep the current URL’s protocol or force
httporhttps, handy when local runs without a certificate. - Import and export
- Save your configuration as a JSON file and load it on another computer or share it with your team.
- Light, dark, English, Spanish
- Follows your system theme and language, or pick your own.
- Coming from version 1
- Your PRE/PRO pairs become projects automatically the first time the new version loads.
- Free
- No accounts, no subscriptions, no ads.
No false positives
A URL belongs to an environment only if the host is exactly the same and, when there is a prefix, the path starts with it. When several match, the longest prefix wins.
With two projects set up: Shop (pre-domain.com and domain.com) and Intranet (intranet.com/pre and intranet.com).
| Open URL | Environment | Why |
|---|---|---|
pre-domain.com/cart | Shop PRE | Exact host. |
blog.domain.com/ | None | It is a different host. |
domain.com:8080/ | None | The port is part of the host. |
search.com/?q=domain.com | None | Only the host is checked, never the query. |
intranet.com/pre/reports | Intranet PRE | The longest prefix wins. |
intranet.com/press | Intranet PRO | /press is not /pre. |
Jumping from intranet.com/pre/reports to PRO lands on intranet.com/reports: the prefix is swapped and the rest of the path is kept.
Keyboard shortcuts
They cycle through the project’s environments in order and wrap around at the end.
- Alt+Shift+→
- Go to next environment
- Alt+Shift+←
- Go to previous environment
To change them, open chrome://extensions/shortcuts in Chrome, edge://extensions/shortcuts in Edge or, in Firefox, about:addons → gear icon → Manage Extension Shortcuts. You also get Go to next environment in the right-click menu on any page.
Privacy
Your configuration stays in your browser. The extension has no server to send it to.
- Everything is saved in the extension’s local storage (
chrome.storage.local). - No accounts, no analytics, no cookies and no code downloaded from the internet.
- It doesn’t read the pages you visit: only the tab’s address, when you use the extension.
| Permission | Used for |
|---|---|
storage | Saving your projects and settings in the browser. |
activeTab | Reading the current tab’s URL only when you click the icon, press a shortcut or use the menu. |
contextMenus | Adding “Go to next environment”, “Settings” and “Buy me a coffee” to the right-click menus. |
tabs (optional) | Only if you turn on the per-tab badge: reading each tab’s URL to show its color. You never have to grant it. |
Frequently asked questions
Which browsers does it work on?
Yes. It is a Manifest V3 extension that runs on current versions of Google Chrome, Microsoft Edge and Firefox (desktop, version 140 or later).
Does it need access to all websites?
No. It uses activeTab, which only grants access to the current tab at the moment you click the icon, press a shortcut or use the menu. It injects nothing into pages.
Does it work with localhost and a port?
Yes. Type the host with its port, for example localhost:4200, and choose http as the protocol if your local environment has no certificate.
What happens to the query string and hash?
They are kept by default. If you’d rather land on a clean URL, you can turn each one off in the settings.
How does the production confirmation work?
With confirmation on, jumping to an environment marked as protected asks you to confirm before it opens. From a shortcut or direct click, it opens the popup so you can confirm there.
I used version 1. Will I lose my configuration?
No. The first time the new version loads, each PRE/PRO pair becomes a project with two environments, with PRO marked as protected.
Can I share my configuration with my team?
Yes. Export a JSON file from the settings and have your teammates import it. Imports are validated and anything invalid is discarded.
Why is it asking for the tabs permission?
Only if you turn on the per-tab color badge, because it needs to see each tab’s URL as it changes to show the badge. If you don’t turn that option on, it will never ask.
How much does it cost?
Nothing. It is free. If you find it useful, you can buy me a coffee.
Buy me a coffee
Tunnel is free and will stay free, with no paid features. If it saves you a few clicks a day and you’d like to say thanks, you can buy me a coffee with a card, Apple Pay or Google Pay, no account needed.
Donations are voluntary and don’t unlock anything.