Tab2Context
Turn the pages you have open into one Markdown document, with the original sources attached. Ready to paste into ChatGPT, Claude or another AI tool.
Why I built it
I usually have several tabs open when I'm researching something. At some point, I want to take what I've found into ChatGPT or Claude.
Getting it all across is the annoying part. I can copy each page by hand, or paste a bunch of URLs and hope the AI can open them. Neither works particularly well.
I built Tab2Context to take the useful content from those tabs and put it in one Markdown document, with the original URLs attached.
It doesn’t need an account or an API key.
How it works
Open the extension’s side panel, choose the tabs you want, and click Copy Markdown. You can search your open tabs and select up to 10 from the current window.
Tab2Context extracts the main content and puts it in one Markdown document. It keeps headings, lists, links, code blocks and basic tables where it can. Each page includes its title and original URL, so you can go back to the source.
You can also add a research goal before copying, check the preview, or download a .md file.
The interesting part
The part I spent more time on was deciding what to leave out.
Most pages contain far more than the article or documentation you’re trying to read. Menus, recommendations and footers can swamp the useful text.
Tab2Context starts with readability-style extraction and has fallbacks for pages that aren’t laid out like articles. Some complex web applications don’t extract cleanly, and Chrome won’t let extensions read browser-internal pages.
The extension shows which pages it processed and which it couldn’t read.
Built to stay simple
I wanted to get from open tabs to my clipboard in one click.
Tab2Context prepares the source material in your browser so you can use it in the tool you already have open. All processing stays in the browser.