Convert pasted HTML or local files to Markdown with headings, lists, tables, and code structure. No webpage fetching or content uploads.

Ready to process.

Scripts, styles, and embedded content are removed. Images keep alt text without loading external resources.

Processed in this browser. No uploads or automatic saving.

What can an HTML to Markdown converter do?

Convert copied HTML fragments, editor exports, or local HTML files into Markdown for technical notes, version control, and AI input preparation. The converter preserves content structure rather than website appearance. It does not accept URLs for fetching or execute JavaScript from the input.

Which HTML structures are supported?

Common headings, paragraphs, emphasis, lists, blockquotes, basic tables, links, and code blocks become Markdown. Scripts, styles, forms, iframes, and embedded objects are removed. Images retain alt text only, with no downloads. Complex layouts, CSS effects, and merged table cells cannot be fully represented in basic Markdown.

How is this different from an HTML entity decoder?

An entity decoder handles character references such as < and &. This tool converts document structure: an h1 element becomes a Markdown heading and list elements become Markdown lists. HTML character references are parsed, but input markup is never inserted into the current page for execution.

How are links and local files handled?

HTTP, HTTPS, mailto, relative paths, and fragment links may be preserved; other protocol destinations are removed. Disable link preservation to keep only link text. Files are read locally, never uploaded. Limits are 400 KB per file and 100,000 characters of parsed text. Copy the output or download it as a .md file.

References: rehype-remark