Markdown to HTML

GFMBeta

Convert Markdown to a complete HTML page or body-only HTML. Tables, task lists and code blocks supported; copy or download .html, all in your browser.

Files are not uploaded · processed in your browser

Up to 1,000,000 characters

Or open a Markdown file
or drop files here (files are processed locally, never uploaded)Supports .md / .markdown / .txt, up to 8 MB

Enter Markdown, then click “Convert to HTML”.

How to use

  1. Paste Markdown, or open a .md / .markdown / .txt file.
  2. To embed the result in another page, select “Body HTML only”.
  3. Click “Convert to HTML”, check the preview, then copy the code or download the .html file.

Privacy

Files you choose and text you enter are processed in your browser. They are not uploaded to our servers and we do not store them. Some tools download the code or data they need (such as OCR language data) from this site the first time you use them.

Read the privacy policy

FAQ

Is my content uploaded?

No. Parsing and conversion run in your browser, and your content never leaves your device.

Which Markdown syntax is supported?

GitHub Flavored Markdown (GFM): headings, paragraphs, bold, italic, strikethrough, links, images, ordered and bullet lists, task lists, nested lists, blockquotes, fenced code blocks (with a language-name class), inline code, tables with alignment, horizontal rules and line breaks.

What happens to HTML tags inside the Markdown?

They are not output as HTML. They are escaped and shown as plain text, so <script> appears as text and never runs. Links with unsafe schemes such as javascript: are removed and only the link text is kept.

What is the difference between a full page and body-only HTML?

By default you get an HTML file that opens directly in a browser, with a UTF-8 charset, a mobile viewport and a small embedded stylesheet that uses system fonts only (no external resources). With “Body HTML only” you get just the HTML inside <body>, for pasting into a blog or CMS.

How are images handled?

The HTML output keeps the original <img src>. To avoid network requests, the in-page preview does not load images from the web and shows their alt text instead.

Which encoding is used, and are there limits?

Files are read as UTF-8 first; if that fails they are read as Windows-1252. Up to 1,000,000 characters; files can be up to 8 MB.