DO IT EASY APP
English

HTML to Markdown converter

Convert HTML to Markdown: headings, lists, links, images, code blocks and tables.

  • No sign-up, no fees.
  • Converts HTML to Markdown.
  • Headings, lists, links, images, code blocks, quotes and tables.
  • Script and style content is dropped.
  • What you type is processed, but never shared with anyone.

How to convert HTML to Markdown

You want to move a blog post or an email template into Markdown. Three steps:

  1. Paste the HTML. Put the code into the HTML box on the left.
  2. Read the result. The Markdown box on the right updates instantly.
  3. Copy. Take the Markdown with Copy.

What's the difference between HTML and Markdown?

HTML is the language that describes a web page's structure with tags. Markdown writes the same structure with plain marks like # headings, **bold** and - lists; it's easy to read and write. README files, documentation, note apps and many blogging systems use Markdown. This tool turns the structure in your HTML into the matching Markdown marks.

What gets converted?

  • Headings (h1-h6), paragraphs, bold and italic, strikethrough
  • Links and images
  • Ordered and unordered lists, including nested ones
  • Inline code and code blocks (a language class is kept if present)
  • Quotes, horizontal rules and simple tables

What you need to know

  • Tables are converted to Markdown's simple form; merged cells aren't kept.
  • Styling, colors and classes don't exist in Markdown and are dropped.
  • The content of <script> and <style> doesn't reach the result.
  • Text inside tags it doesn't recognize is kept.

Tips

  • To preview the resulting Markdown visually, use the Markdown preview.
  • For the opposite direction (Markdown to HTML), the Markdown preview tool gives you the code.
  • To shrink HTML, use the HTML minifier.

Frequently asked questions

Is HTML to Markdown conversion free?

Yes, it's free with no sign-up.

Can all HTML be converted?

The text structure is converted. Presentation details with no Markdown equivalent (colors, layout) are dropped.

Will my tables break?

Simple tables convert fine. Merged cells can't be written in Markdown, so they aren't kept.

Is my code sent anywhere?

What you type is processed, but never shared with anyone. The conversion runs in your browser.

Can I convert a whole web page?

If you paste the page source, yes; the tool doesn't connect to the page by itself.

Can I use it on my phone?

Yes.

Related tools