Markdown to HTML Converter

Write or paste Markdown on the left and get clean HTML on the right, with a live preview below.

Input
HTML
Ready

Markdown to HTML in one step

Markdown lets you write formatted text with simple symbols — **bold**, # Heading, - list item — that are easy to type and read. Browsers, email templates and many CMS fields need HTML instead. This converter turns Markdown into clean, semantic HTML and shows a live preview so you can see exactly what the reader will see.

Markdown syntax cheat sheet

MarkdownHTML
# Title … ###### Small<h1> … <h6>
**bold** / *italic*<strong> / <em>
[text](https://url)<a href="https://url">text</a>
![alt](image.png)<img src="image.png" alt="alt">
- item / 1. item<ul> / <ol> lists
> quote<blockquote>
`code` and ``` fences<code> and <pre><code>
---<hr>

GitHub Flavored Markdown

With GitHub Flavored Markdown (GFM) on, you also get the extensions people use in READMEs, issues and documentation:

Line breaks

In standard Markdown, a single line break inside a paragraph is ignored — lines are joined into one paragraph. To force a break you end the line with two spaces, or leave a blank line for a new paragraph. If your text comes from a chat app or a plain-text note where every line break matters, tick Single line break → <br>, which matches how GitHub comments behave.

About the preview and safety

Markdown can contain raw HTML, which is passed through to the output. The preview is rendered in a sandboxed frame with scripts disabled, so pasting untrusted Markdown here cannot run code. If you publish HTML generated from other people's Markdown on your own site, run it through an HTML sanitizer such as DOMPurify first.

Frequently asked questions

Does it support tables and task lists?
Yes, when GitHub Flavored Markdown is on (the default). Tables, task lists, strikethrough and autolinks are all converted.
Why are my lines joined into one paragraph?
Standard Markdown ignores single line breaks. Leave a blank line between paragraphs, end a line with two spaces, or enable "Single line break →
".
Can I convert HTML back to Markdown?
Not with this tool. It converts Markdown to HTML only.
Is my text uploaded?
No. The conversion and preview run in your browser.

Related tools

HTML Encode/Decode, YAML to JSON Converter, Character Counter, Readability Score.