HTML to Markdown
Convert HTML into clean Markdown, keeping headings, lists, links, code, and tables readable, and escaping stray Markdown characters in the text.
How to use
- Paste your HTML into the box.
- Choose the bullet marker and the heading style.
- Copy the Markdown.
HTML to Markdown is what you need before pasting content into a system that writes Markdown, such as a repository, a note app, or a static site. Tables, lists, and links survive the trip.
Paste or type something above.
Questions about html to markdown
- What happens to script and style tags?
- Their contents are dropped, because they are code rather than readable content.
- Does it keep tables?
- Yes, a table becomes a Markdown pipe table with a separator row.
- Why are some characters escaped?
- A literal asterisk in the text would otherwise turn into emphasis, so characters that carry Markdown meaning are escaped.
Related tools
- Markdown to HTML Convert Markdown into clean HTML with headings, lists, links, code, tables, and blockquote...
- Plain Text Formatter Strip HTML tags and formatting from a page and leave readable plain text, keeping headings...
- Markdown Formatter Tidy Markdown into a consistent style, with normalised list markers, clean spacing around...