Markdown to HTML Converter
Convert Markdown text to HTML online. Preview rendered Markdown in real time. Free markdown converter.
About this calculator
Write Markdown and see the HTML and a live rendered preview. A sample document is loaded to show headings, bold text and lists.
Copy the HTML into a CMS, email or web page.
How to use it
- Type or paste your Markdown.
- Check the live preview.
- Press Copy HTML.
Syntax
# Heading is an h1, ## an h2; **bold**, *italic*; [text](url) a link; - item a bullet; 1. item a numbered list; `code` inline code; triple backticks for a code block; > quote a blockquote.
Worked example
# Hello World
| HTML | <h1>Hello World</h1> |
| **bold** | <strong>bold</strong> |
Tips and common mistakes
- Leave a blank line between paragraphs.
- Indent code blocks by four spaces or fence them with backticks.
- Escape special characters with a backslash.
- Sanitise Markdown from untrusted users before showing it.
- Preview before publishing.
Frequently asked questions
What is Markdown?
A plain-text way to write formatted content.
How do I make a link?
[text](url).
How do I make a heading?
Start the line with #.
Does it support tables?
Standard Markdown plus GitHub-style tables.
Is the HTML safe?
Sanitise it if the Markdown came from untrusted input.
Is it free?
Yes.