Strips ads and styling, keeps content

Convert HTML to Markdown

Turn HTML files, saved web pages, and exported docs into clean Markdown. Headings, links, code blocks, and tables preserved. CSS, scripts, and ads removed.

100% Free Code blocks preserved No Sign-up

Any to Markdown Conversion

Transform any document into clean, structured Markdown. PDF, Word, Excel, PowerPoint, HTML, CSV, JSON, and more.

Conversion Engine

Checking...

Powered by Smarkdown API for world-class document conversion.

Privacy Mode

PDFs only

Best quality — all documents use world-class server processing.

Smart Clean Mode

Spreadsheets

Clean NaN values, add sheet separators.

25+ supported formats: PDF, Word, Excel, PowerPoint, EPUB, HTML, CSV, JSON, XML, ZIP, and more

Privacy note: All documents are processed securely and immediately deleted.

Drop files here or click to select

Supports PDF, Word, Excel, PowerPoint, and more

Lightning Fast

Server-powered processing for maximum speed and accuracy

High Quality

Preserves document structure, tables, and formatting

Batch Processing

Process multiple files and download as ZIP archive

How to Convert HTML to Markdown

1

Upload your HTML

Drop a .html or .htm file. Saved web pages, exported docs, or your own template output all work.

2

DOM-aware parsing

Headings, lists, links, tables, blockquotes, and code blocks are mapped to native Markdown. Style and script noise is dropped.

3

Get content-only Markdown

Download or copy. Ready for Astro, Hugo, Jekyll, Notion, Obsidian, or pasting into ChatGPT and Claude.

Why Convert HTML to Markdown?

HTML is full of presentation. Markdown is just content. The conversion is almost always what you actually wanted.

🌐

Migrate websites to static-site generators

Moving from WordPress, Drupal, or a legacy CMS to Astro, Hugo, or Jekyll? Convert each post's HTML to Markdown in one shot.

🤖

Feed web content to AI

Save a research article as HTML, convert to Markdown, paste into Claude or ChatGPT. Way more reliable than copy-pasting from a styled page.

📚

Personal knowledge base

Build a clean, searchable archive of articles you want to keep. Markdown plays well with Obsidian, Logseq, and ripgrep.

📨

Newsletter and email archives

Convert HTML newsletters into clean Markdown for archiving, indexing, or republishing.

HTML to Markdown FAQ

Can I convert a saved web page?

Yes. Save the page from your browser (Cmd+S or Ctrl+S, choose "Web Page, HTML Only" or "Web Page, Complete"), then upload the .html file. Smarkdown extracts content and drops boilerplate.

Does it preserve code blocks?

Yes. <pre><code> blocks become fenced code blocks. Inline <code> is preserved. Language hints from the class attribute are kept where present.

What about CSS, JavaScript, ads?

Stripped. Markdown is content-only by design. Inline styles, scripts, ad slots, and tracking pixels are removed.

Can I convert HTML emails?

Yes. Export or save the email as .html and upload. The output is dramatically cleaner than the original HTML email source.

Maximum file size?

256MB per file, free for everyone. For batch site migrations, you can upload up to 50 files at once.