curly{bits}

curlybits / Markdown Preview / Markdown to HTML

Markdown to HTML Converter

Paste Markdown and get clean HTML code straight away, ready to drop into a website, CMS or email template. Switch to Preview to see how it looks, then copy the code or download a complete .html page.

Markdown
HTML

      

How to use the Markdown to HTML Converter

  1. Paste your Markdown into the left box.
  2. The HTML appears on the right as you type.
  3. Click Copy HTML to copy just the converted part, or Download .html for a complete page with basic styling.

What the HTML looks like

Each Markdown element becomes its standard HTML tag: # Title becomes <h1>, paragraphs become <p>, lists become <ul> or <ol>, and code blocks become <pre><code>. There are no extra classes or styles, so the result picks up your site's own CSS.

Copy or download

Copy HTML gives you only the converted content, to paste inside an existing page. Download .html wraps it in a complete web page with a title and simple, readable styling, ready to open in a browser or send to someone.

Safe output

Raw HTML inside your Markdown is kept, but scripts and event handlers are removed with DOMPurify, so the output is safe to publish.

Frequently asked questions

Which Markdown flavor is supported?

GitHub-flavored Markdown (GFM), including tables, task lists, strikethrough and automatic links.

Can I convert HTML back to Markdown?

Not with this tool. It converts Markdown to HTML only.