A fast, lightweight, keyboard-driven floating tab switcher HUD for Chromium browsers on Windows.
Summon instantly with Alt + Q or Alt + `, search in real time, and switch tabs without touching your mouse.

Quick Install โข Keyboard Shortcuts โข Features โข Architecture โข Troubleshooting
Note
AltTabs is an in-browser tab switcher HUD, not a replacement for the Windows application Alt+Tab window switcher. It is designed specifically to solve tab overload inside Chromium browsers (Brave, Google Chrome, Microsoft Edge, and Opera) without injecting into Explorer or altering web pages.
Power users and developers frequently keep dozens of tabs open across research, documentation, pull requests, and communication tools.
- Modern Chromium browsers squish tabs into unreadable slivers once you pass 30+ tabs.
- Finding a specific tab requires either endless mouse clicking or opening separate history menus.
- Browser extensions designed for tab switching add DOM overhead, require broad browser permissions, and fail when browser focus is lost.
AltTabs runs as an isolated, native Win32 tool mod via Windhawk. When you press Alt + Q or Alt + `:
- A sleek, centered dark HUD immediately floats over your active browser window.
- It displays all open tabs of that window with their titles and the site name from the end of each title (
GitHub,YouTube). - You can instantly filter the list by typing keywords or navigate with
Tab/Arrow Keys. - Pressing
Enterbrings the target tab into view immediately.
- โก Instant Keyboard Activation: Summon the switcher with
Alt + QorAlt +` (the key above Tab on US layouts). The hotkeys are only taken over while a supported browser is focused, so other apps keep them. - ๐ Real-Time Filter: Start typing to narrow down dozens of open tabs. Several words match tabs that contain all of them, in any order.
- ๐ท๏ธ Site Labels & Grouping: Shows the site name from the end of each tab title (
GitHub,Stack Overflow,YouTube) and can list the tabs of each site together. Browsers don't expose tab addresses to other apps, so the label comes from the title. - ๐จ Windows 11 Fluent Aesthetics: Uses DWM dark mode, rounded corners (
DWMWCP_ROUND), ClearType Segoe UI typography, double-buffered GDI rendering, and scales with the display's DPI. - ๐ 100% Offline & Private: Zero telemetry, zero analytics, zero external network traffic. Everything executes strictly in local memory.
- ๐ชถ Zero Background Impact: Uses a non-polling event model. Consumes 0% CPU and < 8 MB RAM when idle.
- ๐ก๏ธ Clean Separation: Runs inside an isolated Windhawk tool process. Does not inject hooks into
explorer.exeor modify webpage DOM content.
AltTabs is published in the official Windhawk mod catalog: windhawk.net/mods/alttabs.
- Windows 10 (version 1809+) or Windows 11 (all versions).
- Windhawk installed (free, open-source).
- Open Windhawk and go to Explore.
- Search for AltTabs and open AltTabs - Browser Tab Switcher HUD.
- Click Install, then Accept Risk and Install.
Windhawk keeps the mod updated when new versions are published. If the mod doesn't show up in search, exit Windhawk from its tray icon and open it again so it downloads the latest catalog.
Use this to try changes from this repository before they reach the catalog. If you also have the catalog version installed, disable it first so that both don't run.
- In Windhawk, click the three dots menu (
ยทยทยท)$\rightarrow$ Advanced Options$\rightarrow$ Create Local Mod (or the+New Mod button). - Copy the entire content of
alttabs.wh.cppand paste it over the code in Windhawk's editor. - Press
Ctrl + S(or click Compile Mod). Once compiled, the status shows Loaded.
You're done! Switch to your browser and press Alt + Q.
To disable or remove AltTabs:
- Open Windhawk.
- Find AltTabs - Browser Tab Switcher HUD on your home screen.
- Click Details
$\rightarrow$ toggle the switch to Disabled, or click Uninstall.
All controls are active whenever the AltTabs HUD is open:
| Shortcut | Action | Description |
|---|---|---|
Alt + Q |
Summon / Cycle | Summons the HUD over your browser, with the tab after the current one selected. Tap repeatedly to cycle tabs, add Shift to cycle backwards. |
Alt + /Alt + ~` |
Alternative Summon | Same as Alt + Q, using the key above Tab on US layouts. |
Tab or โ Down Arrow |
Next Tab | Moves selection down by one row. |
Shift + Tab or โ Up Arrow |
Previous Tab | Moves selection up by one row. |
Page Down / Page Up |
Next / Previous Page | Moves selection by one page of rows. |
Any Character Key (a-z, 0-9) |
Filter / Search | Types directly into the search bar, filtering visible tabs instantly. |
Backspace / Ctrl + Backspace |
Delete / Clear | Removes the last typed character, or clears the filter. |
Enter |
Activate Tab | Switches to the selected tab and dismisses the HUD. |
| Left Click / Mouse Wheel | Mouse Selection | Click a row to switch to that tab, scroll the wheel to scroll the list. |
Esc |
Dismiss | Closes the HUD without changing the active tab. |
AltTabs targets the standard Chromium Views accessibility tree (Chrome_WidgetWin_1).
| Browser | Status | Verification Details |
|---|---|---|
| Brave Browser | โ Verified | Fully tested and verified on Windows 11. Tab strip enumeration and selection verified. |
| Google Chrome | โ Verified | Tab strip enumeration verified (TabContainer). |
| Microsoft Edge | โ Verified | Tab strip enumeration verified (EdgeTabStripRegionView). |
| Opera | ๐ก Untested | Uses Chromium Views; community testing welcome. |
| Vivaldi | โ Unsupported | Vivaldi's tab bar is part of a web page, not a native tab strip. |
| Mozilla Firefox | โ Unsupported | Uses Gecko XUL rendering engine (MozillaWindowClass), not Chromium Views. |
AltTabs is designed to adhere strictly to Windows system programming best practices:
sequenceDiagram
autonumber
actor User as User (Alt+Q / Alt+`)
participant Hook as Low-Level Keyboard Hook (WH_KEYBOARD_LL)
participant HUD as TabSwitcherHUD (Win32 Window)
participant UIA as Windows UI Automation (CUIAutomation)
participant Browser as Browser Window (Chrome_WidgetWin_1)
User->>Hook: Presses Alt+Q or Alt+` in a browser
Hook->>HUD: PostMessage(registered hotkey message) [Non-blocking]
HUD->>UIA: ElementFromHandle + breadth-first search for the tab strip, skipping web content
UIA->>Browser: FindAllBuildCache(TabItem) inside the tab strip
Browser-->>UIA: Returns tab elements (names, selection state)
HUD->>HUD: Read site names + group + apply filter
HUD-->>User: Displays Centered Double-Buffered HUD
User->>HUD: Types filter query / presses Tab / Enter
HUD->>Browser: IUIAutomationSelectionItemPattern::Select()
Browser-->>User: Selected tab brought into active focus
- Dedicated Process Tool Mod (
windhawk.exe -tool-mod): Runs as a standalone tool process rather than injecting DLL code intoexplorer.exeor third-party web browsers. This eliminates Explorer stability risks. - DLL Module Binding for Hooks:
The
WH_KEYBOARD_LLhook is installed usingHINST_THISCOMPONENT(&__ImageBase), ensuring the Windows hook manager accepts the hook procedure without rejectingwindhawk.exeas an invalid module. - Separate Hook and UI Automation Threads:
The
WH_KEYBOARD_LLhook runs on its own thread that does nothing else, so typing anywhere in Windows is never delayed by UI Automation calls. The HUD and all UIA work live on a second thread withCoInitializeEx(nullptr, COINIT_APARTMENTTHREADED), and UIA calls time out after 2 seconds if a browser hangs. - Native Tab Strip Only:
Tabs are read from the browser's own tab strip, found with a breadth-first search that never descends into web page content. Tab-like widgets inside web pages (ARIA
role="tab") aren't listed, and pages aren't crawled. - Window Activation:
Tab activation uses
IUIAutomationSelectionItemPattern::Select(), withIUIAutomationLegacyIAccessiblePattern::DoDefaultAction()as a fallback. - Accessibility Warm-Up: Chromium builds its accessibility tree on the first request, so right after a browser starts, AltTabs retries the tab strip lookup a couple of times before showing "No tabs found".
We believe system utilities should be completely transparent:
- No Network Permissions: AltTabs makes zero outbound HTTP/HTTPS requests and has no network sockets open.
- No Telemetry: No tracking, usage analytics, or error reporting is transmitted.
- No Page DOM Access: AltTabs operates strictly at the desktop window accessibility level (
UIA_TabItemControlTypeId). It never reads webpage content, passwords, forms, or cookies. - Open Source Auditable: The entire codebase is self-contained in a single readable source file:
alttabs.wh.cpp.
AltTabs is built for zero perceptible latency:
- Idle Resource Usage: 0.0% CPU, < 8 MB private working set.
- Activation Latency: Reading the tab strip takes about 30-100 ms in Brave, Chrome and Edge.
- Open Windhawk and navigate to the AltTabs mod page.
- Click the Log tab to view the enumeration logs generated via
Wh_Log:Found 24 tabs - Open Windows Task Manager
$\rightarrow$ Details, locate thewindhawk.exeprocess with command-line-tool-mod "alttabs", and observe memory and CPU remain at 0% when idle.
- v1.1.0: Standalone floating HUD with Win32 rounded corners & dark mode.
- v1.1.1: Dual universal hotkeys (
Alt + QandAlt +`), COM apartment fixes, and guaranteed fallback display. - v1.2.0: Native tab strip only, separate hook thread, site grouping, scrolling, DPI scaling, and browser-only hotkeys.
- v1.3.0: User-configurable hotkey selector in Windhawk mod settings UI.
- v1.4.0: Favicon rendering.
- v1.5.0: Multi-window tab switching (switch across all open browser windows simultaneously).
Contributions are warmly welcomed! Please read CONTRIBUTING.md for details on setting up your environment and submitting changes.
- Fork this repository and clone your fork:
git clone https://github.com/<your-username>/AltTabs.git
- Open Windhawk
$\rightarrow$ Advanced Options$\rightarrow$ Create Local Mod. - Edit
alttabs.wh.cppin your editor of choice (e.g., VS Code). - Paste and test your changes in Windhawk.
- Submit a Pull Request targeting the
mainbranch.
Why Alt + Q instead of Alt + Tab?
Windows 11's Alt-Tab switcher is controlled by XamlExplorerHost.exe, which tightly couples the taskbar with the Alt-Tab list. Modifying it causes unwanted ghost windows or taskbar flickering. A dedicated floating HUD triggered by Alt + Q provides instantaneous response, custom real-time search, domain grouping, and zero interference with native Windows multitasking.
Nothing happens when I press Alt + Q. What should I check?
1. Verify the mod status in Windhawk displays Loaded.2. Ensure an active Chromium browser window (Brave, Chrome, Edge) is currently open and focused.
3. Open the Log tab in Windhawk to verify that the worker thread and hook initialized successfully.
Can I change the keyboard shortcut?
Yes. Inalttabs.wh.cpp, locate IsHotkey and adjust the virtual key code (e.g., replace 'Q' with your preferred key). A GUI setting for hotkey configuration is planned in an upcoming release.
Does this work with vertical tabs in Brave or Edge?
It should, since the tabs are found by their UI Automation control type rather than their position, but vertical tabs haven't been tested yet. Reports are welcome.- License: Released under the open-source MIT License.
- Acknowledgements: Built on the open-source Windhawk framework developed by Ramen Software.
Built by Dipesh Sapkota (@Dszae), a Computer Engineering student at IOE Thapathali Campus, Kathmandu, Nepal. More projects at dipeshsapkota7.com.np.
