Developer Tools

Markdown to HTML Converter

Write or paste Markdown and get clean HTML instantly, with a live preview. GitHub Flavored Markdown is supported, including tables, task lists, strikethrough and fenced code blocks.

Convert Markdown

Type Markdown on the left. The HTML and preview update as you type.

How to Convert Markdown to HTML

  1. Type or paste Markdown into the box, for example a README file, documentation or a blog draft.
  2. Check the formatted result in Preview, or switch to HTML code to see the generated markup.
  3. Press Copy HTML to paste it into a CMS or template, or download a complete HTML page.

Markdown Cheat Sheet

MarkdownResult
# Heading … ###### HeadingHeadings h1 to h6
**bold** / _italic_ / ~~strike~~bold / italic / strike
[text](https://url)Link
![alt](image.png)Image
- item / 1. itemBulleted / numbered list
- [x] doneTask list checkbox
> quoteBlockquote
`code` and fenced ``` blocksInline code and code blocks
| a | b | rows with |---|---|Table
---Horizontal rule

About GitHub Flavored Markdown

The converter uses marked, a fast open-source Markdown parser, with GitHub Flavored Markdown (GFM) enabled. That means README files from GitHub and GitLab, and notes from tools such as Obsidian and Notion exports, convert the same way they display on those sites.

Safety

Markdown can contain raw HTML. The preview is cleaned with DOMPurify so scripts in pasted content cannot run on this page. The HTML code output keeps your markup as written, so review it before publishing content from sources you do not trust.

Privacy

Conversion happens in your browser and your text is never uploaded.

Frequently Asked Questions

Does this support tables and task lists?

Yes. GitHub Flavored Markdown is enabled, so tables, task lists, strikethrough, autolinks and fenced code blocks all work.

Can I convert a README.md file?

Yes. Open the file in any text editor, copy its contents and paste them here.

Is the HTML safe to publish?

The HTML reflects your Markdown, including any raw HTML it contains. The on-page preview is sanitised, but review content from untrusted sources before publishing.

Is my text uploaded?

No. Everything runs in your browser.