# Markdown to HTML Converter > Live Markdown preview with sanitized HTML output — paste Markdown, get clean HTML instantly. ## What does this tool do? The Markdown to HTML Converter renders Markdown text as HTML in real-time. It shows a split view: Markdown input on the left, rendered HTML preview on the right. You can also copy the raw HTML output for use in other applications. The HTML output is sanitized using DOMPurify to prevent XSS attacks — safe to embed in web pages. ## What Markdown syntax is supported? All standard CommonMark Markdown, including: - **Headings** — `# H1`, `## H2`, `### H3` through `###### H6` - **Bold** — `**bold**` or `__bold__` - **Italic** — `*italic*` or `_italic_` - **Bold + Italic** — `***bold italic***` - **Strikethrough** — `~~strikethrough~~` - **Inline code** — `\`code\`` - **Code blocks** — fenced with `\`\`\`` (with optional language for syntax highlighting) - **Links** — `[text](url)` - **Images** — `` - **Unordered lists** — `- item` or `* item` - **Ordered lists** — `1. item` - **Nested lists** — indent with 2 or 4 spaces - **Blockquotes** — `> quoted text` - **Horizontal rules** — `---` or `***` - **Tables** — GFM table syntax - **Task lists** — `- [x] done`, `- [ ] todo` ## What does the HTML output look like? Input Markdown: ```markdown # Hello World This is **bold** and this is *italic*. - Item one - Item two ``` Output HTML: ```html
This is bold and this is italic.