Markdown to HTML
Convert Markdown to clean, safe HTML source.
This tool needs JavaScript enabled to run in your browser.
What this tool does
This tool converts Markdown into HTML source. It supports a common subset: headings, bold and italic, inline code and fenced code blocks, links and images, lists, blockquotes and horizontal rules.
Safe by default
Any raw HTML in your Markdown is escaped rather than passed through, only a known set of tags is produced, and link schemes such as javascript: are replaced with a harmless target. That means the HTML it generates cannot carry a script, so it is safe to paste into a page.
Common use cases
- Turning a README or note into HTML for a page or email.
- Previewing how Markdown will render as markup.
- Producing the HTML body for a static site or a CMS field.
Frequently asked questions
- Is the HTML safe?
- Raw HTML in the Markdown is escaped, only a known set of tags is produced, and link schemes such as javascript: are blocked, so the output cannot carry a script.
- Which Markdown is supported?
- A common subset: headings, bold, italic, inline code, fenced code blocks, links, images, lists, blockquotes and horizontal rules.
Learning resources
Testsmith also runs hands-on courses and a free practice app for the skills behind this tool.