How to use HTML to Markdown
- Paste your HTML into the input box, or click Open a file to load an .html file.
- Choose the heading style (# or underlined), the list marker and the code block style.
- Read the Markdown in the output box.
- Click Copy or Download to save document.md.
Features
- Converts headings, paragraphs, lists, links, images, emphasis, code and blockquotes
- Heading style, list marker and code block style options
- Scripts and style elements are removed
- Works on full pages or fragments
- Runs in your browser, so the HTML is never uploaded
Supported formats and limits
- Maximum input: 10,000,000 characters
Examples
| Input | Result |
|---|---|
| <h1>Notes</h1><p>Read the <a href="https://example.com/docs">docs</a> and <strong>save</strong> your work.</p><ul><li>First</li><li>Second</li></ul> | # Notes Read the [docs](https://example.com/docs) and **save** your work. - First - Second |
| <h2>Sub</h2> | Sub --- — Underlined headings selected. |
Limitations
- Markdown cannot express everything HTML can. Layout, classes, inline styles and most attributes are lost.
- Tables are not converted to Markdown tables; their text content is kept.
- Complex pages with navigation, ads and scripts produce noisy output; paste only the content you want.
Learn more
HTML describes the structure and appearance of web pages, while Markdown is a minimal syntax for the most common kinds of text formatting. Converting from HTML to Markdown is a way to extract the readable structure of a page, for example to move an article into documentation, a wiki or a static-site generator.
The conversion keeps semantic elements that have a Markdown counterpart: headings become lines starting with #, strong and em become ** and *, list items become hyphens and links become [text](url). Anything that is purely visual, such as colors, column layouts and classes, cannot be carried over.
For best results, paste only the content part of a page instead of the whole document, and review the output. Converted Markdown is a starting point; check links, lists and code blocks before publishing it.
Frequently asked questions
Which HTML elements are converted?
Headings, paragraphs, lists, links, images, bold, italic, inline code, code blocks, blockquotes and horizontal rules.
What happens to scripts and styles?
They are removed so they do not appear in the Markdown.
Why is formatting lost?
Markdown is deliberately simple. Colors, fonts, classes and layout have no Markdown equivalent.
Is my HTML uploaded?
No. Conversion runs in your browser.
Sources
Last reviewed: September 30, 2026