Back to tools
Markdown to HTML
Convert Markdown to clean HTML markup
About Markdown to HTML
Markdown to HTML lets you convert markdown to clean html markup.
Category: Text.
Frequently asked questions
What Markdown syntax is supported?
▾
GitHub Flavored Markdown (GFM): headings, bold, italic, links, images, code blocks with syntax highlighting, tables, task lists, strikethrough, and blockquotes.
Is the output sanitized?
▾
Raw HTML embedded in the Markdown is passed through by default in most processors. If you are rendering user-supplied Markdown in a browser, sanitize the output with a library like DOMPurify to prevent XSS.
How do I add a class or ID to a heading in Markdown?
▾
Standard Markdown does not support attributes on headings. Use the {#id .class} extended attribute syntax if your processor supports it (Pandoc, markdown-it-attrs), or add the attribute manually in the HTML output.