Skip to content

HTML to Markdown Converter

Turn HTML into Markdown in your browser. Script and style elements are removed entirely; headings, lists, tables and links become Markdown equivalents.

Paste HTML

Options

Markdown result

Paste HTML, then convert.

The Markdown appears here after conversion.

Limit for uploaded files: 2 MB. Pasted text is not truncated by the tool — your browser’s memory is the ceiling.

Your file is never sent to a server. It is read and processed by your own browser, and the results are not stored.

How to use it

  1. Paste HTML, or choose an .html file.
  2. Pick the heading and list styles you want.
  3. Convert, copy the Markdown, or download it as a .md file.

Limits worth knowing

  • Script, style and noscript elements are dropped, not preserved as comments.
  • Layout-heavy HTML (float tables, positioning) is described by the DOM, not the CSS — the Markdown will read linearly.
  • Unknown elements become their text content; you will not get conditional output.
  • Files above 2 MB are refused to keep the tab responsive.

Why this direction is lossy

HTML describes a rendered document with boxes, floats and positioned elements; Markdown describes a linear document. Converting from HTML to Markdown throws away everything that does not map to a heading, a list, a link, a table, or code. That is the point of it — you get a clean, editable draft, not a screenshot of the page.

Images survive as Markdown links with the original alt text, which keeps the accessible data you added by hand.

Sanitised, by default

The converter never executes or keeps scripts. Paste a full page — navigation, widgets and all — and you get the readable content, not a booby-trapped document.

Frequently asked questions

Does HTML to Markdown Converter upload my files to any server?

No. HTML to Markdown Converter runs in your browser, and the file is read there rather than sent to a server for processing. Our host still sees ordinary page-request metadata, which is described on the privacy page.

Is HTML to Markdown Converter free to use?

Yes, HTML to Markdown Converter is free, with no paid tier, no account, and no watermark added to your output. The limits are technical rather than commercial: file size, page count and supported formats are listed on this page.

What file formats and sizes are supported?

HTML to Markdown Converter supports .html, .htm, .txt files up to 2MB directly in your browser.

Does the output contain my scripts?

No. Script, style and noscript elements are removed entirely — not commented out. Your JavaScript will not survive into the Markdown.

Which elements survive?

Headings, paragraphs, lists, tables, links, images, code (fenced), emphasis, horizontal rules and blockquotes, mapped to Markdown equivalents.

Can I choose the heading style?

Yes: ATX (# Title) or Setext (underline) headings, a bullet marker of -, * or +, and fenced or indented code blocks.

Is my file uploaded?

No. The conversion runs in this tab; nothing about the input leaves your device.