MARKDOWN → HTML

Markdown to HTML

Markdown to HTML converts headings, lists, links, code and tables into HTML elements. Paste Markdown to edit the generated HTML and preview the result.

Drop a file or paste below
Conversion options

Ready

Markdown syntax and HTML elements

A leading # creates an h1; ## creates an h2. A blank line separates paragraphs. **Bold** becomes strong, *italic* becomes em, and backticks create code. A fenced block produces pre and code elements, keeping line breaks inside the code. GFM pipe tables and task lists are supported in addition to ordinary paragraphs.

HTML fragment and complete page

Choose a complete page for a downloadable document with a doctype, character encoding, title and body. Turn that option off when you need only the elements to insert into an existing page. Changing the generated code updates the preview; downloading uses the edited result. External stylesheets are not bundled into the file.

HTML preview and embedded content

The preview displays sanitized HTML in a separate frame. Script elements and event attributes are removed. Remote images and other remote resources are not loaded by the preview; their URLs may remain in the HTML code. An HTML preview is a check of the generated structure, rather than a screenshot of a destination website with its own CSS.

Format references

GFM specification

File content is read and converted in the browser. Conversion does not upload the source to a server.

Frequently asked questions

Are tables supported?

Yes. GFM pipe tables become HTML tables with header and data cells.

Can I edit the HTML before downloading?

Yes. The result pane is editable, and the file contains its current contents.