HTML to Markdown
Convert simple HTML headings, paragraphs, lists, emphasis, links and code into editable Markdown.
Loading tool…
How to use HTML to Markdown
Recover a simple semantic draft from markup without running scripts or loading media. The conversion deliberately omits visual layout and active elements.
- Enter input.
- Choose the settings for html to markdown, then run the tool.
- Review the result and any limitations before copying or downloading it.
Good to know
- A limited, lossy semantic converter: nested list numbering, tables, styles, attributes and complex layouts are not retained.
- Long backtick runs are replaced in code sections to avoid broken Markdown fences. Images become alt text.
- Processing is local. Output is limited to 1,000,000 text characters unless a stricter file limit is stated.
Recover a simple Markdown draft from supplied HTML
Paste the small HTML fragment below; this tool accepts source text, not a website address to fetch. The h2 becomes a second-level heading, strong becomes bold Markdown, and the accepted relative link becomes a Markdown link. The period in ordinary text is escaped in the generated source to keep it literal. Such a backslash is Markdown syntax, not a new visible word in the intended document. Review the result in your destination editor because this converter intentionally preserves selected semantics rather than the original layout or all HTML structures.
Literal HTML source
<h2>Packing note</h2><p>Bring <strong>water</strong>. <a href="/route">Route</a></p>
Expected Markdown source
## Packing note Bring **water**\. [Route](/route)
- Scripts, styles, templates and noscript content are omitted. Images become alt text, and unsupported link targets lose the target while retaining their text.
- Tables, styles, attributes and complex nested-list numbering are not preserved. Save the original HTML if those details matter.
- Input is parsed as an inert source tree. The converter does not load remote media, execute scripts or reproduce a page screenshot.
Common questions
Is this lossless conversion?
No. It preserves selected text structure only; keep the source and review the result.
Is this input sent to a server?
No. The application processes this input inside your browser tab and does not save it to persistent storage.
Keep going with related tools
All developer →HTML to Plain Text
Extract plain text from pasted HTML without mounting markup or requesting linked resources.
DeveloperMarkdown to Safe HTML
Convert Markdown to an HTML fragment with raw HTML disabled and no mounted preview.
DeveloperJSON Formatter
Format and indent valid JSON in your browser, with downloadable output and clear syntax errors.
DeveloperJSON Viewer
Inspect a JSON document as a safe path, type, and value tree without executing its contents.
DeveloperJSON Validator
Check JSON syntax locally and see its root type, value count, and nesting depth.
DeveloperJSON to CSV
Convert JSON records into quoted CSV while retaining original number text and spreadsheet formula protection.