Text & data TOOL
Markdown preview
Preview Markdown safely and save it as HTML.
Enter your text
On-device processingMarkdown preview · How to use
Preview Markdown safely and save it as HTML.
Example
Enter # Poptools followed by a blank line and **Hello!** to preview a heading and bold text.
Things to know
Executable tags, images and event attributes are removed from previews and exported HTML.
Your files and results are never sent to a server. Everything is processed in this browser.
How to preview Markdown and convert it to HTML
Check that headings, lists and tables in a README or blog draft look right before you publish. Copy the generated HTML into the HTML mode of an editor that does not understand Markdown.
When to use this tool
- Check a GitHub README before pushing it
- Turn a Markdown blog draft into HTML
- Make sure table syntax renders correctly
- Save meeting notes written in Markdown as an HTML fragment
Step-by-step instructions
- Paste your Markdown into the input box, or choose Use sample to see the structure.
- Choose Convert.
- Check the preview in the results area to confirm headings, lists and tables look right.
- Copy the HTML code below it or download markdown-preview.html.
Frequently asked questions
Why don't images in my Markdown appear in the preview?
For safety, images, executable tags such as scripts, and event attributes are removed from both the preview and the saved HTML. Allowed elements such as headings, paragraphs, lists, quotes, code, links and tables remain.
Does the saved HTML file include styles?
It is an HTML fragment containing only the converted tags, with no CSS or head section. It is meant to be pasted into a blog editor's HTML mode or an existing page that supplies its own styles.
Are GitHub-style tables and strikethrough supported?
Pipe tables become HTML tables and ~~strikethrough~~ becomes a del element. Code blocks are output as pre and code tags without syntax highlighting.