Markdown to HTML Converter: Convert Markdown Documents to HTML
Convert CommonMark-oriented Markdown to HTML in this browser. Headings, emphasis, lists, links, code, blockquotes, and thematic breaks are supported. Raw HTML is escaped so tags cannot inject markup. The preview is built with safe DOM nodes. Nothing is uploaded or stored.
Load file
Drop a .md or .txt file here. Client-only FileReader. Nothing is uploaded.
Preview
Rendered with createElement and textContent. Raw tags stay visible as text.
Paste Markdown and press Convert, or load the sample. Results stay in this browser.
0Characters
0Lines
0Blocks
0Blocked URLs
HTML output
Text and attributes are escaped. javascript, data, vbscript, and file URLs are omitted. This pane is text, not live markup.
Supported subset and limits
This is a CommonMark-oriented subset, not a full CommonMark or GFM implementation. Markdown has no syntax errors; empty input and size limits are the invalid cases.
- Blocks: ATX and setext headings, paragraphs, thematic breaks, fenced and indented code, block quotes, tight and loose lists (nested).
- Inlines: emphasis, strong, code spans, inline and reference links, autolinks, hard breaks (two spaces or a backslash), backslash escapes.
- Raw HTML, HTML blocks, images, tables, task lists, and footnotes are not interpreted. Tags appear as escaped text.
- Maximum input is 1 MB or 50,000 lines. Conversion is local. No network, storage, or eval.