Switch tabs, search history and the web from one box.

Press Alt+Shift+K and type gcal. Tabdrift jumps to Google Calendar, even if it's open in another window. Closed it an hour ago? Same keys, and it comes back from your history. Tabdrift is a free Firefox extension for finding the page you half remember, wherever it is.

Get the Add-on for Firefox
Alt+Shift+K to open
Try it:

How it works

Nothing runs in the background. Tabdrift reads your tabs and history only while the box is open, and everything stays in your browser.

01

Press the shortcut

The overlay is only injected into the page when you open it, so the extension isn't running on every tab all the time.

02

Type to filter

Matches tab titles and addresses as you type, across every window, and lights up the letters it matched. Works like fzf: words in any order, letters can skip ahead, and site names count both ways, so "google search" and "gcal" land where you meant.

03

Not open? Check history, then the web

Close matches from your history show up in the same list, one row per site. A page that matches better than any open tab goes to the top, and loose spellings like gmal still find Gmail. If nothing fits at all, the top row is a web search, so Enter takes you to the results.

04

Jump

Arrow keys move the selection, enter switches to it and focuses that window. Esc closes without doing anything.

Marks, scopes and commands

Keep the pages you come back to, narrow the search to one kind of thing, and run tab chores from the same box. All from the keyboard.

Mark what matters

Marks are Tabdrift's own bookmarks, separate from Firefox's and with no extra permission. Mark any row in the box, or the page you're on without opening it. Marks you open often rank higher, and a marked page that's already open switches to its tab.

Ctrl+B mark or unmark a row
Alt+Shift+B mark the page you're on

Search one kind of thing

Start with a symbol and a space to search only tabs, marks, history or commands, like Telescope's pickers. They're the same keys Firefox's address bar uses. Tab cycles through them, and on to Arrange, which lists your tabs in tab bar order.

% tabs   * marks
^ history   > commands
'exact ^starts ends$ !skip

Commands and tab actions

Type > for pin, mute, reload, unload inactive tabs, sort a window by site, merge windows or copy every link as Markdown. Right arrow on any tab gives the same actions for that tab.

> commands for this tab and window
→ actions for the highlighted tab

The box is wider now, with a preview pane beside the results: the full address, when you last used a tab or visited a page, which window it's in, and the tabs a clean up row is about to close. Pick Compact, Wide or Full in settings, or turn the preview off. Marks live in your Firefox profile, so settings can export them to a file and import them back.

Search a site directly

Skip the search engine when you already know where the answer is. Type a site's key, a space and your search, and Enter takes you straight to that site's results.

Key, space, search

YouTube, YouTube Music, Wikipedia, GitHub, MDN, npm and Google Maps come built in. The key goes at the start, so lofi yt stays a normal search.

ytm queen YouTube Music
wiki esp32 Wikipedia
gh wxt GitHub
maps lahore Google Maps

Your tabs still come first

The site's row goes on top only when nothing you have open matches. Otherwise it waits under your tabs and marks, so gh issues still finds the GitHub tab you already have.

gh issues
1. your open issues tab
2. search GitHub

Add your own

In settings, give it a name, a key and the address of a results page with {q} where the search goes. Yours win over a built-in with the same key, and you can switch the built-ins off.

sp Spotify
open.spotify.com/search/{q}

Keys are matched inside your browser as you type, and nothing is sent anywhere until you press Enter. Then your search goes straight to the site you picked, the same as searching there yourself. No extra permissions needed.

A new tab page that's ready when you are

Ctrl+T opens Tabdrift's own page instead of Firefox Home. The cursor starts in its search box, so you type straight away: tabs, history, the web and addresses, all from the same box as the overlay.

Search first

Firefox normally parks the cursor in the address bar. Tabdrift's page takes it instead, so Ctrl+T and typing is all it takes. Enter loads the result in that same tab.

Ctrl+T then type, Enter

Widgets that stay out of the way

Shortcuts to the sites you visit most, with your own pinned first. Weather for a place you pick, a to-do list, and a focus timer that keeps counting after you close the tab.

shortcuts pin, edit, reorder
to do synced across open tabs
focus timer optional notification

A background with some life

An animated grain gradient with seven presets, and full control over its shape, colors, grain and speed. Or use your own picture, or a plain color.

Everything is set from Customize, at the top right of the page. The gradient holds still if your system asks for reduced motion. Prefer Firefox Home? Pick it under Settings, Home, New tabs, and the rest of Tabdrift keeps working. On pages Firefox locks for extensions, like about:addons and addons.mozilla.org, the same shortcut opens Tabdrift from the toolbar.

History, one row per site

Dashboards and admin panels fill your history with long links full of IDs and session details. Tabdrift groups history results by site, so you get one row with a page count instead of a wall of URLs.

One row per site

Every page on the same site folds into a single row that shows the site, how many pages matched and the title of the latest one.

app.example.com/v2/location/8fK2xQ/invoices
app.example.com/v2/location/8fK2xQ/contacts
app.example.com 4 pages

Open the site, or the exact page

Enter opens the site's front page and the site takes you where you need to go, like login or your last workspace. Shift+Enter opens the last page you visited there.

Enter open the site's front page
Shift+Enter open the last page

Expand it, copy from it

Right arrow lists the pages under a site, most recent first. Right arrow again on a page swaps the list for its copy options. Left arrow goes back.

→ list the pages, then copy options
← collapse, or go back

The pages listed under a site are the ones that match what you typed. The copy options are the same ones a pasted link gets: clean link, site link with no path, domain, root domain and a Markdown link. Prefer the plain list? Turn off Group history by site in settings. History is searched locally and nothing leaves your browser.

Open several results at once

Need a handful of pages from one search? Ctrl+Enter opens the highlighted result in a background tab and leaves the overlay, your search and your place in the list exactly as they were.

Open and stay

The link opens in a new background tab, so the page you're on doesn't change. A count in the footer tells you how many you've opened so far.

Ctrl+Enter open in the background, stay
Enter open and close, as before

Search once, open many

Arrow down, press it again, repeat. Ten pages from one search is ten taps, not ten searches.

docs
Ctrl+Enter Getting started
↓ Ctrl+Enter API reference
↓ Ctrl+Enter Changelog

Or flip it

Want the overlay to stay open by default? Turn on Keep overlay open after opening a link in settings and the two keys swap.

Enter open in the background, stay
Ctrl+Enter open and close

It works on history rows and on the open rows under Utilities (open website, open clean link, Wayback Machine), and Ctrl-clicking a row does the same. Add Shift to open a site's last page instead of its front page. On a Mac, use Cmd instead of Ctrl. Switching to an open tab always closes the overlay, because you're leaving that page.

Emails and links

Paste an email and a Utilities section shows up with the domain already selected, so Enter copies it. Paste a link and the top row opens it, with the clean link and the other copy options right under it.

Email to domain

Get the domain from an email address. It handles Name <a@b.com>, mailto: links and pasted lists (unique domains, one per line). The root domain is worked out for endings like co.uk and co.ae.

Sara Ahmed <sara@mail.acme.co.uk>
mail.acme.co.uk
acme.co.uk (root domain)

Links without the tracking

Strips utm_*, fbclid, gclid, msclkid and similar click ids, unwraps redirect links from Google, Outlook Safe Links, Facebook and LinkedIn, and shortens Amazon product links. Parameters that aren't tracking are left exactly as they were.

example.com/post?utm_source=news&id=7&fbclid=zzz
example.com/post?id=7

Copy without opening anything

Copy the current page's clean link with a shortcut, or from the right-click menu on any link. With Quick copy on, pasting into the overlay copies the result straight away.

Alt+Shift+C copy this page's clean link
Right-click a link, then Copy clean link

A pasted link also gets a Markdown link, a version without query and hash, a site link with no path, its domain and root domain, an open-in-new-tab row and a Wayback Machine lookup. Everything runs locally and nothing leaves your browser. Copying uses the clipboardWrite permission, and the right-click item uses contextMenus.

Clean up your tabs

Open Tabdrift and your tabs are listed, most recent first. Close the ones you're done with without leaving the keyboard or waiting on each one to load.

Close as you go

Press the keys on the highlighted tab and it closes. The overlay stays open and the highlight moves down, so you can tap through a pile. Holding the keys doesn't repeat.

Ctrl+D close the highlighted tab

Duplicates in one go

When the same page is open more than once, a Clean up row appears above the list. One Enter closes the extras and keeps a copy of each page. Tracking parameters and #fragments are ignored.

Close 4 duplicate tabs
Keeps one copy of each page

Close everything that matches

Type a site name or a word, then choose Close all matching tabs. It asks for a second Enter before it does anything.

docs
Close all 6 matching tabs?
Press Enter again

Pinned tabs are never closed in bulk, and the tab you're on is never closed from its own overlay. Tabs closed from Tabdrift are ordinary closed tabs, so Ctrl+Shift+T (Cmd+Shift+T on Mac) brings them back. You can turn off the tab list on open in settings.

Put your tabs in order

Arrange lists your tabs the way the tab bar does, one window after another. Move them around without squinting at a strip of tiny tabs.

Drag a row

Grab any row and drop it between two others. A line shows where it will land, and the list scrolls when you drag near its edge. Esc cancels the drag.

Shipping OTA updates
Sprint 14 board
API reference

Or keep your hands on the keys

Move the highlighted tab one place at a time, or send it straight to the start or end of its window. On a Mac, use Option instead of Alt.

Alt+↑/↓ move it one place
Alt+Shift+↑/↓ to the start or end

Across windows

Every window gets its own section. Move a tab past the last one in a window and it lands at the top of the next. Typing filters the list but keeps the tab bar order.

Alt+↑/↓ on any tab, in any list, starts arranging it

Pinned tabs stay at the start of the tab bar, as Firefox requires: an unpinned tab can't move in among them, and a pinned one can't move out. The tab you opened Tabdrift on can move within its window but not to another one. Get to Arrange with Tab, a click on it in the scope bar, or Move this tab along the tab bar in a tab's actions.

Make it yours

Pick an accent color, where the overlay sits on screen and your default search engine, and switch Quick copy, the tab list, history grouping and keeping the overlay open after opening a link on or off. It's all in one settings page. Try them here, the demo above follows along.

Accent color

Overlay position

Default search engine

The one-letter keys still work whichever you pick.

Common questions about Tabdrift

Does Tabdrift use my Firefox bookmarks?

No. Tabdrift has its own marks, kept inside the extension. Press Ctrl+B on any row in the box, or Alt+Shift+B on any page, to mark or unmark it, and type * to list them. It needs no bookmarks permission. Marks stay in your Firefox profile, and settings can export and import them as a JSON file.

Is Tabdrift free?

Yes. Tabdrift is free and open source under the MIT license. There are no accounts, no ads and no paid tier. The source is on GitHub.

Can Tabdrift replace the Firefox address bar?

For most things, yes. Type a search and press Enter to search Google, Bing or DuckDuckGo, or type an address like github.com to open it. Put g, b, d or n before or after a search to pick the engine. Your open tabs and history show up in the same list, so one box covers switching, reopening and searching.

Does it work on the new tab page?

Yes. Tabdrift replaces the Firefox new tab page with its own, and the cursor starts in its search box, so you can press Ctrl+T and type. On pages Firefox locks for extensions, like about:addons and addons.mozilla.org, the same shortcut opens Tabdrift from the toolbar instead.

Can I go back to the normal Firefox new tab page?

Yes. In Firefox, open Settings, then Home, and under New tabs pick Firefox Home. The rest of Tabdrift keeps working.

Which search engines does it support?

Google, Bing, DuckDuckGo and DuckDuckGo without AI (noai.duckduckgo.com). Pick your default in settings. The keys g, b, d and n choose one for a single search, typed either before or after the search, like "g esp32 pinout" or "esp32 pinout d".

Can I search YouTube, Wikipedia or another site directly?

Yes. Type the site's key, a space and your search: yt for YouTube, ytm for YouTube Music, wiki for Wikipedia, gh for GitHub, mdn for MDN, npm for npm and maps for Google Maps. You can add your own in settings with a name, a key and a results address containing {q}. Your open tabs still come first: the site's row only goes on top when nothing you have open matches.

Does Tabdrift send my tabs, history or searches anywhere?

No. Tab and history matching happens inside your browser and nothing is sent to a server. Web searches go straight from Firefox to the engine you picked, the same as searching from the address bar. Tabdrift doesn't log them. The only request Tabdrift makes itself is for the optional weather on the new tab page: it sends the place you picked to Open-Meteo, and only after you agree in Firefox's consent prompt.

What's the keyboard shortcut?

Alt+Shift+K by default. You can change it in Tabdrift's settings. Alt+Shift+C copies the current page's link without tracking parameters.

Does Tabdrift work in Chrome, Edge or Safari?

No. Tabdrift is built for Firefox 109 and later, on Windows, macOS and Linux.

How do I close lots of tabs quickly?

Open Tabdrift and press Ctrl+D on a highlighted tab to close it. The highlight moves to the next one. A Clean up row closes duplicate tabs in one go, and typing a site name offers to close every matching tab. Closed tabs come back with Ctrl+Shift+T.

Can I reorder my tabs with Tabdrift?

Yes. Pick the Arrange scope to see your tabs in tab bar order, one section per window. Drag a row to move its tab, or press Alt+↑ or Alt+↓ (Option on a Mac) to move the highlighted tab one place. Add Shift to send it to the start or end. A tab can move into another window the same way, and pinned tabs stay at the start of the tab bar.