HTML to Markdown
Turn HTML into readable Markdown.
Use the HTML to Markdown tool
What this html to markdown does
HTML to Markdown converts rendered markup into the plain-text conventions used by README files, documentation sites and note apps. Headings become hashes, emphasis becomes asterisks, links keep their href, and lists keep their structure.
Scripts, styles, forms and layout tables are discarded because they have no meaningful Markdown equivalent. The converter works on the markup you paste; it does not fetch the page, so there are no network requests or tracking pixels involved.
Why use it
- Move a blog post into a Markdown-based CMS.
- Turn documentation HTML into a README.
- Keep the text and structure of a page without its presentation.
How to use it
- 1Paste the HTML source, not the rendered page.
- 2Review the Markdown output and any unconverted elements.
- 3Copy the result into your editor.
Worked examples
Heading and paragraph
Input
<h1>Hello</h1><p>This is <strong>bold</strong>.</p>
Output
# Hello This is **bold**.
Link
Input
<p>Read the <a href="https://example.com">guide</a>.</p>
Output
Read the [guide](https://example.com).
Common mistakes
- Pasting rendered text instead of HTML source and wondering why no formatting appears.
- Expecting complex layouts and tables to survive; Markdown has no equivalent for most of them.
- Publishing converted HTML from an untrusted source without reviewing links.
Frequently asked questions
Are scripts removed?
What happens to tables?
Does it fetch a URL?
Related tools
All toolsMarkdown Editor
Write Markdown with a live, sanitised preview.
Whitespace Remover
Trim, collapse and remove unwanted whitespace.
Meta Tag Analyzer
Audit the head of a page for SEO and sharing tags.
JSON Formatter
Beautify or minify JSON, with precise error positions.