HTML to Markdown
Convert HTML content to Markdown format.
Convert HTML to Markdown. Paste HTML from a web page, a CMS or an email and get Markdown with headings, bold and italic, links, images, lists, block quotes and code blocks. Choose # headings or underlined ones, and the bullet character. Conversion uses the open-source Turndown library in your browser. Tables and complex layouts don't convert to Markdown structure and may need tidying by hand.
Common use cases
- Move blog posts from WordPress to a Markdown-based site
- Turn a web page into notes for Obsidian or Notion
- Write a README from existing HTML documentation
- Clean formatted text into plain Markdown
How to use
- Paste the HTML, or press Try an example.
- Choose the heading style and bullet character.
- Copy or download the Markdown.
FAQ
Can I paste a rendered web page?
Paste the HTML source rather than the text you see. In most browsers, right-click and choose View Page Source, or copy an element's HTML from the developer tools.
What about tables?
Tables come through as plain text rather than Markdown tables. The table to Markdown converter makes a Markdown table from rows you paste.
How do I check the result?
Paste the Markdown into the Markdown preview to see how it renders.
Related tools
- HTML FormatterBeautify HTML code with proper indentation and formatting.
- HTML EscapeConvert special HTML characters to their entity equivalents for safe display.
- Markdown Heading GeneratorGenerate markdown headings with proper formatting.
- Table to Markdown ConverterConvert tabular data to markdown table format.
- Markdown to Table ConverterParse markdown tables back to plain tabular data.
- ASCII Art GeneratorTurn text into ASCII art with 34 FIGlet fonts, ready to paste into code comments, READMEs or a terminal.
- Markdown Syntax ReferenceIn Reference