HTML To Markdown Converter
Strip HTML into clean, readable Markdown fast
gpt-4o-mini
Your prompt will appear here…
Your beautifully formatted article will appear here once you generate.
No history yet
Your generations will appear here. Sign in to save them permanently.
Ever pasted an old blog post into a new editor and watched a wall of nested divs arrive with it? The HTML To Markdown Converter strips that back to clean Markdown, keeping the headings, links and lists while dropping everything the old template wrapped around them.
Short answer: The HTML To Markdown Converter is a free tool on EizTools that turns pasted HTML into clean Markdown. Headings, links, lists and emphasis carry over, while wrapper markup and inline styling are dropped.
What is HTML To Markdown Converter?
It rewrites markup into Markdown. Paste your HTML into the prompt box and the HTML To Markdown Converter returns the same content in a form you can commit to a repository, paste into a static site, or keep as readable plain text.
Clean Markdown From Messy HTML
Real world HTML is rarely tidy. Content management systems wrap paragraphs in containers, add classes nobody needs and leave inline styles behind. Markdown has no way to express any of that, which is precisely why the conversion is useful: everything that is not structure or content simply falls away.
Carries across cleanly
- Headings, paragraphs, ordered and unordered lists
- Links and images, as Markdown syntax with the source preserved
- Bold, italic, blockquotes and code blocks
Does not survive
- Inline styles, classes and any visual formatting
- Complex tables with merged cells, which Markdown cannot express
- Embedded scripts, forms and interactive elements
Whitespace And Structure
| Setting | What it does | Suggested |
|---|---|---|
| Output Format | The target syntax | Markdown |
| Structure | Simple, Detailed, Grouped, Sorted, Custom | Detailed, so heading levels are preserved |
| Clean Whitespace | Removes the extra spacing left by the source | On, almost always |
Detail Level controls how much the conversion explains itself. Keep it low here, since you want the Markdown and nothing around it. Custom Instructions is the place to say what should happen to elements Markdown cannot represent, such as stripping tables to plain text.
How Does HTML To Markdown Converter Work?
- Copy the HTML, from view source or from an export.
- Paste it into the prompt box.
- Choose which model handles the conversion.
- Choose Markdown as the target, keep Structure on Detailed, and switch on Clean Whitespace.
- Generate, then check the heading levels and the links first.
- Copy the Markdown, or download it as TXT for your repository.
Migrating a post from an old content system is the usual case. The article arrives with its wrapper markup attached, and what you want is the piece a static site generator can read. Checking that the first heading came through as a level two rather than a level one saves a formatting problem later.
Worth doing Convert one post before a batch of thirty. A single run tells you how your particular source handles images and tables, and that is the detail you would otherwise fix thirty times.
Best Use Cases
- Moving posts from a content system to a static site or a repository
- Turning documentation into Markdown for a wiki or a readme
- Cleaning content copied from a web page before editing it
- Archiving articles in a format that stays readable without a browser
EizTools is free with no account, gives every tool its own options and lets you switch AI model families before generating. Converted posts usually need editing as well as reformatting, and the Blog Writer is the tool for rewriting a migrated article rather than just moving it.
Frequently Asked Questions
Does the HTML To Markdown Converter keep my links?
Yes. Links convert to Markdown syntax with the destination preserved. Check a couple of them afterwards, particularly relative links, which may need rewriting for the new site structure.
What happens to tables?
Simple tables become Markdown tables. Complex ones with merged cells cannot be expressed in Markdown, so say in Custom Instructions whether you want those flattened or left as HTML.
Can I convert a whole page at once?
Paste the article section rather than the entire page. Navigation, footers and sidebars all convert too, and stripping them afterwards takes longer than selecting the right part first.
Will images come across?
The image tags convert to Markdown image syntax with their source paths. The files themselves are not moved, so the paths still need pointing at wherever the images now live.
Markdown is worth converting to because it stays readable, sits well in version control and outlives whatever editor produced the original. Convert one article, check the headings and links, then run the rest with settings you have already proved.