How to Copy a Web Page as Markdown (Chrome & Edge)

Published · By Sh23

When you paste text from a web page into a notes app or an AI chat, headings and tables often fall apart. Copying it as Markdown keeps that structure intact. This guide walks through ways to do it without an extension first, then with one.

What is Markdown?

Markdown is a way of marking up text with simple symbols. Because it is plain text, you can paste it almost anywhere.

# Heading
## Subheading
- List item
**Bold**
[Link text](https://example.com)
| Ingredient | Amount |
| --- | --- |
| Miso | 2 tbsp |

The number of # signs sets the heading level, and - starts a list item. Tables use | to separate columns. Many apps can read Markdown, including Notion, Obsidian and GitHub.

What goes wrong with a normal copy

Say you have a page like this (a made-up example):

Now select the text, copy it with Ctrl+C (Command+C on a Mac), and paste it into a plain-text editor. The headings turn into ordinary lines, the table becomes a jumble of words, and the link URL disappears. In some apps, the font size and colors come along too.

Method 1: Copy without an extension

For a few lines, format by hand

If it is only a few lines, the quickest way is a normal copy, then typing # before headings and - before list items yourself. Rewrite links as [text](URL). To get a link's URL, right-click the link and choose "Copy link address."

Copy from a reading view

Chrome has Reading mode, and Microsoft Edge has Reading mode (called Immersive Reader in some versions). Both hide ads and menus and show just the article. Copying from there keeps extra text out, but it does not add Markdown symbols, so you still finish the formatting by hand.

Run the HTML through a converter

This one is for people comfortable with technical tools. Right-click the page and choose "Inspect," copy the HTML of the article, and save it to a file. Then convert that file to Markdown with a tool such as Pandoc.

pandoc -f html -t gfm memo.html -o memo.md

It takes a few steps, but you avoid typing all the symbols yourself.

Method 2: Use an extension (SumiClip as an example)

If you do this often, an extension makes it much easier. Several extensions can copy pages as Markdown. Here we use SumiClip, a free extension made by Sh23, as the example.

  1. Install SumiClip. SumiClip is being released on Microsoft Edge Add-ons and Firefox Add-ons (Chrome Web Store later). We will link it from the home page when it is available.
  2. Open the page you want to copy.
  3. Click the SumiClip icon in the toolbar, then click "Copy page body."
  4. Paste into your notes app or wherever you need it.

You can also use the right-click menu or keyboard shortcuts: Alt+Shift+M copies the page body and Alt+Shift+S copies your selection (Option+Shift instead of Alt+Shift on a Mac).

For the miso soup page above, you get this:

# Weekend Miso Soup Notes

Source: https://kitchen.example/miso

## Ingredients (serves 2)

| Ingredient | Amount |
| --- | --- |
| Tofu | Half a block |
| Miso | 2 tbsp |

## Steps

1. Warm the dashi
2. Add the tofu
3. Turn off the heat, then stir in the miso

For details, see [How to Make Dashi](https://kitchen.example/dashi).

Headings, the table, the numbered steps and the link all survive, and the source URL is added at the top. The conversion happens on your computer, and the page content is not sent anywhere.

That said, with any extension, pulling out the main text does not work well on every site. When it doesn't, select just the part you need and copy that.

Which method should you use?

Whichever you choose, skim the result once after pasting to make sure nothing broke.

Things to keep in mind when copying

Related