HTML to Markdown Converter

Paste HTML and convert it into clean Markdown locally in your browser.

HTML input

Paste article fragments, documentation HTML, CMS exports, or tables.

Processed locally in your browser Limit 5 MB. Your input is processed in your browser and is not uploaded or sent to a server. Avoid pasting production secrets, access tokens, private keys, passwords, or sensitive customer data unless you understand the risk.
Paste HTML or load a sample to begin.

Markdown output

Readable Markdown text with conversion warnings when markup is lossy.

Ready to convert HTML

Paste HTML or load a sample to create Markdown for docs, README files, CMS migrations, or review notes.

Tip: complex layout HTML may need manual cleanup after conversion.

HTML to Markdown Guide

Convert document-style HTML into Markdown

Use this converter for content migrations, documentation cleanup, README drafts, support articles, and CMS exports where the final result should be readable Markdown.

Supported HTML elements

Headings, paragraphs, links, images, emphasis, strong text, lists, blockquotes, code, preformatted blocks, horizontal rules, and simple tables are converted to Markdown.

Lossy conversion limits

Markdown cannot represent forms, scripts, iframes, custom component behavior, CSS, layout containers, event handlers, or many complex table structures.

Markdown output options

Choose ATX or Setext headings, dash, asterisk, or plus bullets, backtick or tilde code fences, inline or reference links, and line-break preservation.

HTML to Markdown vs Markdown Previewer

This tool starts with HTML source and produces Markdown text. Markdown Previewer starts with Markdown and renders sanitized HTML for visual review.

HTML to Markdown vs HTML Formatter

HTML Formatter keeps HTML and improves indentation. HTML to Markdown changes formats, so unsupported HTML features may be removed or flattened.

Review after conversion

Check headings, lists, table alignment, image paths, relative links, and warning messages before publishing the generated Markdown.

HTML to Markdown FAQ

Does this converter upload my HTML?

No. Conversion, warnings, copy actions, and downloads run locally in your browser.

Does it render or execute HTML?

No. Input HTML is parsed as inert text for conversion. Scripts, stylesheets, iframes, images, and links are not fetched or executed.

Can it convert tables?

Simple tables can become GitHub-style Markdown tables. Nested tables, row spans, and column spans may lose structure and trigger warnings.

What happens to scripts and styles?

Scripts and styles are removed or ignored by default because Markdown cannot represent executable code or CSS styling safely.

Why do custom elements trigger warnings?

Custom elements may contain framework behavior or styling that Markdown cannot preserve, so their text content is converted while component behavior is lost.

Can I use the output in a README?

Yes. Copy or download the Markdown, then review links, images, tables, and warnings for the Markdown renderer used by your repository or documentation site.