Export all open Google Chrome tabs to a timestamped Markdown file — one command, no dependencies.
- macOS
- Google Chrome
- Bun (
curl -fsSL https://bun.sh/install | bash)
git clone https://github.com/alexrios/chrometabs.git
cd chrometabsNo install step needed — Bun runs TypeScript natively.
bun run start
# Exported 42 tabs to /path/to/chrometabs/exports/tabs-2026-03-15-10-36.mdOutput is written to exports/ in the current directory. Override with:
TAB_EXPORTER_DIR=~/Documents/tab-exports bun run start# Tab Export — 2026-03-15 10:36
> 42 tabs across 2 windows, 3 duplicates removed
## Window 1 (38 tabs)
### 1. GitHub
**URL:** https://github.com
### 2. Some Page
**URL:** https://example.com
*Also open in: Window 2 · Tab 4*Duplicate URLs are deduplicated automatically. The first occurrence is kept; subsequent ones are noted inline.
On first run, macOS will ask you to allow Terminal (or your shell) to control Google Chrome. Click OK.
If you see a permission error, go to System Settings → Privacy & Security → Automation and enable the toggle for Google Chrome under your terminal app.
Copyright (C) 2026 Alex Rios — GNU General Public License v3.0. See LICENSE.