No tool matches “”

Try a format (“webp”, “mp3”) or a verb (“merge”, “compress”).

Loading index

↵to open

Text Tools · Updated November 8, 2026 · Reviewed by FormatFlow Editorial

HTML to Markdown Converter

You can convert HTML to Markdown in your browser: paste or open an HTML file, choose heading and bullet styles, keep or drop links and images, then copy or download a .md file without uploading anything.

Runs in your browserFree · No sign-up · No watermark
HTMLMarkdownRuns in your browser
Loading the tool…

Everything runs locally in this tab. No file is uploaded while the tool loads.

Use this tool as a step in a repeatable browser pipeline.

Add to Workflow

This tool runs in your tab. Nothing is uploaded and no copy is stored.

How files are handled

Key facts

Category
Text Tools
Processing
In your browser — nothing is uploaded
Input formats
HTML
Output format
Markdown
Maximum size
Bound by the memory available to your browser tab
Requirements
Chrome, Edge, Firefox or Safari · JavaScript enabled
Price
Free, no account, no watermark
Last updated
Nov 8, 2026

SummaryHTML to Markdown is a free online text tools tool. You can convert HTML to Markdown in your browser: paste or open an HTML file, choose heading and bullet styles, keep or drop links and images, then copy or download a .md file without uploading anything. HTML and Markdown describe the same document at different levels of detail: HTML can carry styling, scripts and layout, while Markdown keeps only the structure that survives when a page is read as plain text. Converting between them is useful for publishing a page in a repository, moving documentation into a Markdown-based wiki or turning an exported article into a source file that is easy to edit. It runs in your browser — nothing is uploaded. It accepts HTML and produces Markdown. The maximum size is bound by the memory available to your browser tab.

At a glance

Formats
HTML → Markdown
Processing
In your browser
Max size
Device memory bound
Price
Free, no account
Updated
November 8, 2026
All Text Tools

About HTML to Markdown

HTML and Markdown describe the same document at different levels of detail: HTML can carry styling, scripts and layout, while Markdown keeps only the structure that survives when a page is read as plain text. Converting between them is useful for publishing a page in a repository, moving documentation into a Markdown-based wiki or turning an exported article into a source file that is easy to edit.

This converter parses the HTML in your browser with the browser's own DOM parser, then writes Markdown with the heading and bullet styles you choose. Links, images, lists, code blocks, blockquotes and tables have rules of their own; scripts, styles, iframes and other non-content elements are removed and reported as warnings. The result can be copied or downloaded as a .md file, and the input is never uploaded.

What this tool does

The details that matter when you use HTML to Markdown for real work.
  • HTML in, Markdown out

    Paste markup or open an .html or .htm file up to 10 MB, and the output is clean Markdown written with the structure rules Markdown actually supports.

  • Heading and bullet styles

    Choose ATX (#) or Setext (underlined) headings and a bullet marker of -, * or + to match the Markdown convention your project already uses.

  • Links and images you control

    Keep inline links and images as Markdown, or strip them and leave their text and alt labels, so pasted web content does not drag remote URLs into the file.

  • Tables become GFM tables

    Simple HTML tables are converted into GitHub-flavored pipe tables, with cell content flattened to plain text and pipe characters escaped.

  • Scripts and styles removed

    Script, style, iframe, object and similar non-content elements are dropped before conversion, and a warning reports what was removed.

  • Copy and download, no upload

    Copy the Markdown or download a .md file; the HTML never leaves your device and no network request is made for the conversion.

How to use HTML to Markdown

No account, no installation — the whole job happens in this browser tab.
  1. 01

    Add the HTML

    Paste markup into the input pane or open an .html or .htm file; the converter updates as soon as there is content.

  2. 02

    Pick heading and bullet styles

    Choose ATX or Setext headings and the bullet marker your Markdown convention uses; the output updates immediately.

  3. 03

    Decide about links and images

    Keep links and images when the Markdown will be published with them, or strip them to get plain text labels instead of remote URLs.

  4. 04

    Review the Markdown

    Check the converted text and read the warnings about removed elements before using the result.

  5. 05

    Copy or download

    Copy the Markdown with one button or download it as a .md file named after the source document.

Supported formats and limits

Input
HTML
Output
Markdown
Processing
Client-side, in your browser. Nothing is uploaded.
Maximum size
Bound by the memory available to your browser tab.
Requirements
Chrome, Edge, Firefox or Safari · JavaScript enabled

Limitations worth knowing

  • CSS styling, classes, inline styles and layout have no Markdown equivalent, so colors, fonts and positioning are not preserved.
  • Complex structures such as nested tables, multi-line table cells, forms and custom widgets are flattened to text or removed.
  • Scripts, styles, iframes and embedded media are stripped rather than converted, and their presence is reported in a warning.
  • The input is capped at 10 MB; very large pages are processed after a short delay and browser memory is the practical ceiling.

Privacy and file handling

The HTML is parsed and converted entirely inside this browser tab. Nothing is uploaded to FormatFlow or anyone else, no copy is stored and no network request is made for the conversion; closing the page discards the input and the Markdown.

Read the full privacy policy

HTML to Markdown FAQ

Short, direct answers to the questions people ask before using this tool.
Does converting HTML to Markdown keep the formatting?
It keeps the structure Markdown can express: headings, paragraphs, lists, links, images, code, blockquotes and tables. Styling that lives in CSS, such as colors, fonts, spacing and layout, has no Markdown equivalent and is dropped, and inline emphasis inside table cells is flattened.
Which heading styles can I choose?
ATX headings use # characters, and Setext headings underline the first two levels with = or -. Setext only exists for levels one and two, so deeper headings are always written as ATX even when Setext is selected.
What happens to links and images?
With both options on they become standard Markdown links and images. Turning an option off removes the URL and keeps the link text, or the image alt text, which is useful when the pasted content should not reference remote resources.
Are HTML tables converted properly?
Simple tables become GitHub-flavored pipe tables with a header row and separator, and pipe characters inside cells are escaped. Nested tables and tables with multi-line cell content lose their layout and are flattened into text.
What happens to scripts, styles and iframes?
They are removed before conversion, because their content is not document text and scripts are not safe to carry around. A warning lists how many of these elements were removed so nothing disappears silently.
Why does the Markdown have more blank lines than I expected?
Each block element gets its own paragraph spacing, as Markdown requires a blank line between blocks. The output normalises runs of three or more blank lines down to one blank line between blocks.
Is my HTML uploaded or processed on a server?
No. The markup is parsed with the browser's DOMParser and converted in this tab; nothing is uploaded, stored or logged, and the conversion works offline after the page loads.
Which HTML elements are supported?
Headings, paragraphs, line breaks, bold and italic text, inline code, code blocks, ordered and unordered lists, links, images, blockquotes, horizontal rules and tables have dedicated rules. Other elements keep their text content, so unknown markup is not lost.

Background reading

Format guides that explain the trade-offs behind HTML to Markdown.