About the HTML to Markdown
HTML to Markdown rewrites common HTML tags as Markdown syntax and strips the rest, giving you clean text you can drop into a README, wiki, note-taking app, or static site. It is designed for article-style content rather than full page layouts.
How it works
Your HTML is parsed by the browser's own HTML parser into a document tree, so messy or unclosed markup is handled the way a browser would. The tool then walks the tree and writes the Markdown for each element: # headings, **bold**, *italic*, ~~strikethrough~~, [links](url "title"), , > quotes and --- rules.
Lists keep their numbering (including a start number) and nest with indentation, checkboxes become task-list items, and tables become GitHub-flavored Markdown tables. <pre> blocks become fenced code with the language taken from a language- class. Scripts, styles, forms and other non-content elements are dropped, and entities are decoded.
How to use
- 1
Paste your HTML or open an .html file.
- 2
Choose the bullet character and heading style if you have a preference.
- 3
Review the Markdown in the output panel.
- 4
Copy it or download document.md.
Worked examples
Article snippet
A short release note.
Ordered list
A numbered list.
Ordered lists are converted to bullet lists; renumber them by hand if order matters.
Frequently asked questions
Will complex HTML layouts convert cleanly?+
Content converts well: headings, paragraphs, emphasis, links, images, nested lists, tables and code. Layout markup such as columns and wrappers is removed and only its text is kept.
Why convert HTML to Markdown?+
It is common when migrating blog posts to a Markdown-based site generator or copying web content into Markdown notes and documentation.
Are numbered lists preserved?+
Yes. <ol> lists become numbered Markdown lists, keeping a custom start number, and nested lists are indented under their parent item.
What happens to tags it does not recognize?+
They are removed, and the text inside them is kept.