🧩 Intelligently organize your browser tabs into a clean grid using AI
TabGrid is a Chrome extension that automatically groups your open tabs into logical clusters, organizing them into a clean, manageable grid. Whether you're working on multiple projects, browsing different topics, or juggling various services, TabGrid helps you keep your browser tidy and organized.
- AI-Powered Grouping: Uses AI (via OpenRouter) to intelligently analyze and group tabs based on content, purpose, and relationships
- Smart Fallback: Automatically falls back to domain-based grouping if AI is unavailable
- One-Click Toggle: Click the extension icon or use
Ctrl+Shift+X(Mac:Cmd+Shift+X) to group or ungroup tabs - Visual Feedback: Green checkmark badge indicates when tabs are grouped
- Smart Collapse: Groups with 2 or fewer tabs automatically collapse (unless they contain the active tab)
- Incognito Support: Works seamlessly in both normal and incognito windows
- Automatic Organization: Groups tabs by domain, related services, and similar purposes
See TabGrid in action! Watch how it transforms a cluttered browser into an organized workspace.
Before: Multiple unorganized tabs cluttering your browser
- Hard to find specific tabs
- No logical grouping
- Overwhelming tab bar
After: Tabs organized into logical groups
- Clean, organized tab groups
- Easy to find related tabs
- Collapsed groups save space
💡 Tip: Groups with 2 or fewer tabs automatically collapse to keep your tab bar clean!
-
Download the Extension
- Clone this repository or download the ZIP file
- Extract the files to a folder on your computer
-
Enable Developer Mode in Chrome
- Open Chrome and navigate to
chrome://extensions/ - Toggle "Developer mode" ON (top right corner)
- Open Chrome and navigate to
-
Load the Extension
- Click "Load unpacked"
- Select the folder containing
manifest.json - The extension should now appear in your extensions list
-
Verify Installation
- Look for the TabGrid icon in your Chrome toolbar
- You should see a checkmark badge when tabs are grouped
If you want to create a packaged extension file:
- Go to
chrome://extensions/ - Enable Developer mode
- Click "Pack extension"
- Select the extension directory
- This creates a
.crxfile you can share
- Windows/Linux:
Ctrl+Shift+X - Mac:
Cmd+Shift+X
- Click the TabGrid icon in your Chrome toolbar
-
Grouping Tabs: Click the icon or press the keyboard shortcut
- The extension analyzes all open tabs
- Groups them intelligently using AI (or domain-based fallback)
- Creates Chrome tab groups with descriptive names
-
Ungrouping Tabs: Click the icon or press the keyboard shortcut again
- All tab groups are removed
- Tabs return to their ungrouped state
-
Visual Indicators
- Green checkmark (✓): Tabs are currently grouped
- No badge: Tabs are ungrouped
- Yellow "AI" badge: AI grouping in progress
- Red "!" badge: Error occurred
TabGrid doesn’t just group tabs — it also organizes groups based on how you actually use them:
- Active tab priority: The group containing your currently active tab is always placed on the far right
- Usage-based sorting: Groups are ordered by the most recently accessed tab within each group
- Effortless access: Your most relevant and active groups stay within easy reach
The extension uses OpenRouter for AI-powered grouping. An API key is already configured - the extension works out of the box!
Optional: Use Your Own API Key
If you want to use your own OpenRouter API key instead:
- Get an API key from OpenRouter
- Open
service.jsin a text editor - Find the
PROVIDER_CONFIGSsection (around line 83) - Replace the API key with your own:
const PROVIDER_CONFIGS = { openrouter: { defaultKey: "YOUR_API_KEY_HERE" } };
Note: The extension works perfectly fine with the default API key - no configuration needed! It will automatically use intelligent domain-based grouping as a fallback if AI is unavailable.
tabs: To read and organize your tabstabGroups: To create and manage tab groupsstorage: To save extension settings<all_urls>: To analyze tab content for groupinghttps://openrouter.ai/*: To access OpenRouter AI API (if using AI features)
- Chrome Extensions Manifest V3
- Chrome Tab Groups API
- OpenRouter AI API (optional)
- Make sure Developer mode is enabled
- Check that Chrome version is 89+ (required for Tab Groups API)
- Reload the extension from
chrome://extensions/
- Verify your OpenRouter API key is correct
- Check your internet connection
- The extension will automatically fall back to domain-based grouping
- The badge only appears when tabs are grouped
- Try grouping your tabs again
- Check the browser console for errors
Contributions are welcome! Please feel free to submit issues or pull requests.
- Chrome 89+ (for Tab Groups API support)
- Developer mode enabled (for unpacked extensions)
Note: This extension requires Chrome 89+ for Tab Groups API support. Make sure your Chrome browser is up to date.
