Markdown to HTML Converter (with Live Preview)
Type Markdown and it's converted to HTML with a live preview as you type. Copy the generated HTML source directly, or switch direction to paste HTML and convert it back to Markdown. Handy for checking a GitHub README or a blog draft before publishing. To count the characters in your result, try the Character Counter as well.
🔒 Runs in your browser · Your data is never sent to a server
Note: the preview is sanitized for safety, so some elements like<script>tags are not rendered.
Notes
- The preview is sanitized for safety, so some HTML elements such as script tags are not displayed.
- Markdown rendering varies slightly between platforms. If you publish on a specific service such as GitHub, check how it looks there as well.
- Converting HTML to Markdown may not reproduce complex layouts or styling exactly. Review the result.
Glossary
Markdown
A lightweight markup language that lets you write headings, lists, links, and more using simple symbols. Widely used for README files and blog posts.
HTML
Short for HyperText Markup Language, the markup language used to structure web pages. Browsers interpret HTML to render the page.
GFM (GitHub Flavored Markdown)
GitHub's extended Markdown syntax, which adds tables, strikethrough text, task lists, and more. This tool supports GFM syntax.
Sanitizing
The process of safely stripping dangerous elements, such as executable scripts, from HTML input. This tool sanitizes the output automatically before rendering the preview.
FAQ
Why are some HTML tags missing from the preview?
The preview is sanitized for safety, so elements such as script tags are not rendered. You can still copy the generated HTML source.
Can it convert HTML back to Markdown?
Yes. Switch to "HTML to Markdown" and paste HTML to convert headings, lists, links, code blocks and tables. You can also pick the heading and bullet style, or strip images and links. Complex layouts or styling may not convert perfectly, so review the result.
Will it look identical to a GitHub README?
Basic syntax renders the same way, but extensions and styling vary by platform. Check GitHub-specific features on GitHub itself.
Share this page
