How to paste a web page into ChatGPT or Claude without the clutter

You find a useful article, documentation page or product comparison. You want ChatGPT or Claude to summarize it, answer questions about it or compare it with something else. So you press Ctrl+A, Ctrl+C and paste.

What the AI actually receives looks more like this:

Accept all cookies  Manage preferences
Home  News  Tech  Subscribe  Sign in  Menu
ADVERTISEMENT
How context windows changed in 2026
Share  Tweet  Email
Models now read whole repos in one go. See the benchmark for details.
Model Tokens A 1M B 2M
Related stories · Newsletter · Share · Tweet

The navigation, the cookie banner and the "related stories" are all in there. The table has collapsed into one line, so the AI can't tell which number belongs to which model. The link to the benchmark is gone. And every one of those extra words uses up part of the AI's context window.

Here are three ways to fix it.

Option 1: Select only the part you need

The simplest fix is to highlight just the article text with your mouse and copy that instead of the whole page.

Works well when: you need a few paragraphs from one page.

Falls short when: the page has tables, code or links you want to keep. Plain copy-paste usually turns tables into a jumble of words and drops the link addresses. On long pages, selecting exactly the right part is also tedious.

Option 2: Paste the link and let the AI read it

Many AI chats can open a web address themselves. You paste the URL and ask your question.

Works well when: the page is public and simple.

Falls short when: the page is behind a login (your company wiki, a course platform, a paywalled article you subscribe to), blocks automated visitors, or loads its content with JavaScript. You also can't see exactly what the AI read, so you don't know whether it got the whole page or just the menu.

Option 3: Convert the page to Markdown first

Markdown is a plain-text format that keeps the structure of a page: # for headings, [text](link) for links, | pipes for tables and fenced blocks for code. Language models are trained on huge amounts of it, so they read it very reliably, and it uses far fewer tokens than raw HTML.

The same page as Markdown:

# How context windows changed in 2026

Source: https://news.example.com/context-windows

Models now read **whole repos** in one go. See the
[benchmark](https://news.example.com/bench) for details.

| Model | Tokens |
| --- | --- |
| A | 1M |
| B | 2M |

The menus and banners are gone, the table still works and the link survives. This is the version you want the AI to see.

Works well when: you care about tables, code, links, or long pages, or the AI can't open the page itself.

How to do it in one step with MarkGrab

MarkGrab is a free Chrome extension I built for exactly this.

  1. Install MarkGrab from the Chrome Web Store.
  2. Open the page you want.
  3. Press Alt+Shift+M (⌥⇧M on a Mac), or right-click and choose Copy page as Markdown.
  4. Paste into ChatGPT, Claude, Gemini, Notion or Obsidian.

It strips navigation, ads and citation clutter, keeps links as full URLs, preserves code blocks with their language and converts HTML tables into Markdown tables. It also tells you roughly how many tokens you're about to paste. Everything happens locally in your browser; the page content is never sent to a server.

To copy just a section, highlight it first and choose Copy selection as Markdown.

Tips for better answers

FAQ

Is Markdown better than plain text for AI? For anything with structure, yes. Plain text loses headings, tables and links. Markdown keeps them in a compact form models handle well.

Can't I just paste the HTML source? You can, but HTML is full of tags, scripts and styling that waste tokens and distract the model. Markdown carries the same content in a fraction of the size.

Does MarkGrab work on pages that need a login? Yes. It reads the page as you see it in your browser, so it works on anything you can open, including internal tools and subscription sites.

Try MarkGrab free

Copy any page, selection or all open tabs as clean Markdown with Alt+Shift+M. 5 free copies a day; Pro is $5 once.

Add to Chrome — free