Skip to main content
Convert2JSON Tools

Markdown Preview

Write Markdown on the left, see it rendered on the right, and export the HTML when you are done.

Your data stays on your device

0 words · 0 characters

Markdown

characters
0
lines
0
size
0 B

Preview

Raw HTML embedded in your Markdown is sanitised before it reaches the preview, so scripts and event handlers are stripped. The copied and downloaded HTML is the unsanitised render output — escape it yourself before inserting untrusted content into a page.

About this tool

Markdown is written far more often than it is previewed, which is how broken tables and mis-nested lists end up in a README. Seeing the rendered output as you type catches those immediately.

The renderer follows CommonMark with the GitHub-flavoured extensions people actually rely on: tables, task lists, strikethrough and fenced code blocks. The generated HTML is sanitised before display and available to copy.

How to use this tool

  1. Type or paste Markdown into the editor.
  2. Watch the preview update as you type.
  3. Switch to the HTML tab to see the generated markup.
  4. Copy the HTML or download the rendered output.

Key features

  • Live preview updating as you type
  • Tables, task lists, strikethrough and fenced code blocks
  • Generated HTML available to copy or download
  • Rendered output sanitised before being inserted into the page
  • Heading anchors generated for linkable sections
  • Word and character counts for the source

Example

Markdown to HTML

InputMarkdown

## Notes

- [x] draft
- [ ] review

OutputHTML

<h2>Notes</h2>
<ul>
  <li><input type="checkbox" checked disabled> draft</li>
  <li><input type="checkbox" disabled> review</li>
</ul>

Good to know

  • Raw HTML embedded in the Markdown is sanitised, so scripts and event handlers are removed from the preview.
  • The preview uses this site typography, which will differ from GitHub or your own stylesheet.
  • Diagram extensions such as Mermaid are not rendered.

Frequently asked questions

Which Markdown flavour is this?

CommonMark plus the common GitHub extensions — tables, task lists, strikethrough and autolinks. It is close to what GitHub renders for a README.

Why was my embedded HTML stripped?

The preview is sanitised so that pasted content cannot execute scripts in the page. The raw source is untouched in the editor.

Can I export a styled document?

The HTML export is unstyled semantic markup. Apply your own stylesheet to control appearance.

Is my document saved?

No. Nothing is stored or transmitted, so download the HTML if you want to keep it.

Your data stays on your device

Your data is processed locally in your browser and is not uploaded to our server. This page keeps working after you go offline, because there is nothing to send.

Share this toolXLinkedInHacker News