Elofyn Tools · /tools/markdown-html

Markdown ↔ HTML converter

Live, bidirectional conversion. Paste Markdown or HTML, flip the direction, and the other format appears as you type. Runs entirely in your browser.

What is this? →
Loading converter…

What is this?

Markdown is a plain-text writing format that converts to HTML for the web. This tool runs that conversion in both directions: paste Markdown on the left and HTML appears on the right, or flip the direction to paste HTML and recover the equivalent Markdown. Conversion is live — output updates as you type — and runs entirely in your browser using the unified ecosystem (remark for Markdown, rehype for HTML). Reach for it when you're copying README content out of a GitHub PR description, converting a blog draft from a WYSIWYG editor into Markdown for a static site, cleaning AI-generated HTML back into a portable text form, or just sanity-checking how a snippet of Markdown will render before you ship it. The HTML→Markdown direction is lossy by design — inline styles and custom attributes are dropped — but headings, lists, links, code blocks, tables, and images survive intact. For the deeper history of Markdown, the CommonMark spec, and a breakdown of which features round-trip cleanly, see the full explainer below.

Read the full explainer →