CraftTools

HTML to Markdown Converter

Guide: Markdown Cheat Sheet: Syntax You Will Use Every Day

Tip: copy text from a web page and paste it here to keep its headings, links and lists.

Nothing you enter or choose here leaves your device. This tool runs in your browser.

Paste from a web page

You don't need the page's source. Select text on any web page, copy it and paste it into the input box. The formatting comes along as HTML and is converted, so headings, links, bold and lists arrive as Markdown. It's the quickest way to move an article into a notes app or a README.

A small example

<h2>Install</h2>
<p>Run the <code>setup</code> script, then <strong>restart</strong>.</p>
<ul><li>Windows</li><li>Mac</li></ul>
<p>See the <a href="https://example.com/docs">docs</a>.</p>
## Install

Run the `setup` script, then **restart**.

- Windows
- Mac

See the [docs](https://example.com/docs).

What's converted

HTMLMarkdown
HeadingsLines starting with hash marks, or underlined headings
Bold and italicDouble and single asterisks
Links and imagesSquare-bracket text with the address in brackets
ListsDashes, stars or plus signs, as you choose
QuotesLines starting with a greater-than sign
CodeBackticks, with fenced or indented blocks
Horizontal rulesThree dashes

Tables aren't converted and stay as plain text. If you need one, rebuild it with the Markdown table generator.

The style options

  • Headings: hash marks, which every Markdown reader understands, or the underlined form, which only works for the top two levels.
  • Bullets: a dash, a star or a plus. Pick the one your project already uses.
  • Code blocks: fenced with three backticks, which can name a language, or indented by four spaces.

Cleaning up the result

Web pages carry a lot of clutter, and conversion keeps what it's given. After pasting, delete menus, cookie notices and sidebars before you convert, or remove the stray lines afterward. Check that images have sensible links, because pictures that were relative to the original site will point nowhere once you move the text. Read the preview in the Markdown previewer before you publish.

A note on rights

Converting a page doesn't give you the right to republish it. Use it for your own notes, your own writing, or content you have permission to reuse, and credit the source.

The conversion runs in your browser. The Markdown cheat sheet lists the syntax you'll see in the output.

Common uses

  • Moving old blog posts from a content system into a static site that uses Markdown files.
  • Saving an article or a recipe into a notes app for your own reference.
  • Turning an HTML email or help page into documentation for a repository.
  • Cleaning text copied from a rich editor into plain Markdown for a forum post.

When the output looks off

  • Extra blank lines. Web pages nest a lot of containers. Tidy the spacing by hand, or paste again after trimming the input.
  • Odd characters. Curly quotes and non-breaking spaces come through as they are. Replace them with the find and replace tool if your target system dislikes them.
  • A table turned into a run of text. Tables aren't converted, so rebuild them as Markdown tables.
  • Missing images. Pictures that depend on the original site's address need their links fixed or the files copied across.

Written by Akinrinmade Michael · Updated October 24, 2026

How to use

  1. 1Paste HTML into the box, or copy text from a web page and paste it in.
  2. 2Choose the heading, bullet and code block styles.
  3. 3Read the Markdown on the right.
  4. 4Click Copy Markdown.

Frequently asked questions

Can I paste straight from a web page?

Yes. Copy text on any page and paste it into the input box. Its formatting is kept as HTML and converted, so headings, links and lists come through.

Which elements are converted?

Headings, paragraphs, bold, italic, links, images, lists, quotes, code and horizontal rules. Tables aren't converted and are left as plain text.

What are the style options?

They choose # headings or underlined headings, the bullet character for lists, and fenced (```) or indented code blocks.

Is my content uploaded?

No. The conversion runs in your browser.

Read the guide

Learn how this works and how to get the most from it.

Writing & text

Markdown Cheat Sheet: Syntax You Will Use Every Day

The Markdown basics in one page: headings, bold, lists, links, images, code and tables, with examples you can copy.

3 min read

Markdown Previewer

Write Markdown and see a live formatted preview side by side.

HTML / XML Formatter & Minifier

Beautify or minify HTML and XML.

HTML Entity Encoder / Decoder

Encode special characters as HTML entities, or decode entities back to text.

Word Counter

Count words, characters, sentences and paragraphs as you type.