HTML to Markdown
Turn HTML, such as a web page or an email, into clean, readable Markdown for notes, README files, wikis and AI prompts.
Your files stay on your device. Nothing is uploaded.
Step 1: Paste or open your HTML
Step 2: Copy or download
How to convert HTML to Markdown
-
Paste or open HTML
Paste HTML into the first box, or click Open a file for an .html file.
-
See the Markdown
The Markdown appears as you type, with # headings, - lists and fenced code blocks.
-
Copy or download
Click Copy Markdown, or Download .md for a file.
About this tool
What is converted
Headings, paragraphs, bold, italic, links, images, lists, quotes, code and horizontal lines become their Markdown form. Scripts, styles and embedded frames are removed, so only the content remains.
The Markdown style used
# for headings, - for bullet lists, *asterisks* for italic, ``` fenced blocks for code and --- for lines: the style most editors, GitHub and note apps expect.
Tables and layout
Complex layouts made with <div> boxes become plain paragraphs, as Markdown has no layout. Simple tables keep their text.
Privacy
This tool runs in your browser, on your own device. Your files and text are not uploaded to our server and we cannot see them. When you close or reload this tab, they are cleared, along with the results.
Frequently asked questions
Can I convert a web page by its address?
Not by address. Open the page, view its source or select the content, copy it and paste it here.
Can I convert back to HTML?
Yes, with Markdown to HTML.
Is my text sent anywhere?
No. The conversion runs in your browser.
Is there a size limit?
Files up to 10 MB.
Related tools
- MD › HTML Markdown to HTML Convert Markdown to HTML as you type, with a preview.
- DOCX › HTML Word to HTML Turn a Word document into clean HTML.
- MD › PDF Markdown to PDF Turn Markdown notes into a formatted PDF.
- XML › JSON XML to JSON Convert XML to JSON as you type, attributes included.
- Words Word counter Count words, characters and sentences as you type.
- DOCX › TXT Word to text Get the plain text out of a Word document.
- JSON › XML JSON to XML Convert JSON to well-formed XML as you type.
- Aa › AA Case converter Change text to upper, lower, title or sentence case.