HTML to Markdown Converter

Convert common HTML markup into clean Markdown directly in your browser.

This tool runs entirely in your browser. Your files are never uploaded to a server.

# Hello

This is **important**. Read the [guide](https://example.com).

What this converter does

Turns common HTML structure into readable Markdown without rendering or uploading the page. It handles headings, paragraphs, links, images, emphasis, line breaks, lists, quotes and code.

How to use it

Paste an HTML fragment or document into the editor. Review the live Markdown output, copy it when ready, or reset the workspace to start again.

Inline formatting

Strong and emphasized text become Markdown markers, anchors become inline links, and images use their alt text and source URL. HTML entities are decoded.

Blocks and code

Headings receive hash prefixes, blockquotes receive greater-than markers, and preformatted content becomes a fenced code block. Script, style and head content is omitted.

Lists and tables

List items become dash bullets with indentation for nested lists. Table cells are reduced to pipe-separated text rather than a fully aligned Markdown table.

Limitations

HTML and Markdown express different layouts. CSS, classes, IDs, forms, media, complex tables and exact whitespace have no lossless general conversion and may be simplified.

Privacy

Parsing and Markdown generation run locally in the browser. The pasted HTML and generated text are not uploaded.

Frequently Asked Questions

Which HTML tags are converted to Markdown?
Common headings, paragraphs, links, images, bold, italic, strike, lists, quotes, breaks and code are supported.
Are scripts included in the Markdown output?
No. Script, style and head content is deliberately omitted because it is not readable document content.
Will complex HTML look exactly the same?
Not always. CSS layout, forms, media and complex tables have no exact Markdown equivalent and are simplified.