Converter

HTML to Markdown Converter

Turn HTML into clean Markdown — content without the navigation, ads, and markup noise around it.

  • Free, no sign-up
  • Clean Markdown output
  • Sign in to download
No document converted yet
Upload a file to see clean Markdown output here.
AI image description High-accuracy OCR Sign in to use enhancements
Want to save results, batch convert, download files, and view history?
Sign Up Free

The problem

Why copy-paste fails

Boilerplate noise

Navigation, footers, and ads surround the content you actually want.

Nested markup

Deeply nested tags and inline styles obscure the real document structure.

Inconsistent headings

Heading levels are often misused in HTML; clean Markdown normalizes the hierarchy.

How it works

Format notes

Boilerplate removal

Navigation menus, footers, sidebars, and ad containers are dropped; the parser focuses on the document's main content region.

Headings and tables

HTML heading tags (h1–h6) map to Markdown headings and <table> elements become Markdown pipe tables.

File upload vs. live URL

This tool converts uploaded .html or .htm files. To convert a live web page by URL, use the URL to Markdown converter at /url-to-markdown.

Inline scripts and styles

Inline <script> and <style> blocks are stripped from the output; only visible document content is kept.

Example output

article.html
# How Retrieval Works

Retrieval-augmented generation pairs a model with a search index.

## Chunking

Split documents into passages.
Need it in your code? Use the developer API to convert files programmatically.Converting at scale? See plans and pricing for higher limits and credits.

Common questions

Do I upload an HTML file?

Yes. Upload an .html or .htm file to convert it. To convert a live web page by URL, use the URL to Markdown converter at /url-to-markdown.

What is the maximum file size?

The free converter accepts HTML files up to 10 MB.

Is navigation and boilerplate removed?

Parsing focuses on the document content rather than surrounding page chrome such as nav menus, footers, and ad blocks.

How are headings handled?

HTML heading tags (h1–h6) map directly to Markdown heading levels, preserving the document hierarchy.

Are tables preserved?

Yes. HTML tables are converted to Markdown pipe tables with their column structure intact.

What about inline scripts and styles?

Inline <script> and <style> content is stripped. Only the visible document text and structure is output.

Is sign-up required?

No. Preview is free; download and history use a free account.

Is there a developer API?

Yes. Convert HTML files programmatically via the REST API. See /developers for documentation.

Turn a document into Markdown

Free in your browser, no sign-up. Sign in for saved history, batch, and the API.