Markdown to HTML converter (with live preview)

Convert Markdown text to clean HTML instantly, with GitHub Flavored Markdown support (tables, task lists, strikethrough, code blocks) and a live preview rendered in a sandboxed frame that never runs scripts or loads external resources. Copy the generated HTML or download it as an .html document. Everything happens in your browser: your text is never uploaded to any server.

How to convert Markdown to HTML

  1. Type or paste your Markdown into the box on the left.
  2. The HTML appears on the right instantly; switch to “Preview” to see the rendered result.
  3. Tick the box if you want every single line break converted to <br>, as on GitHub.
  4. Copy the HTML with “Copy” or download it as an .html document with “Download”.

Frequently asked questions

What is Markdown?

Markdown is a lightweight markup language: plain text with simple marks (# for headings, ** for bold, - for lists) that converts to HTML. It is the format of GitHub README files, of many note-taking apps and of much of the world's technical documentation.

What Markdown syntax does it support?

CommonMark plus the GitHub Flavored Markdown (GFM) extensions: tables, task lists, strikethrough, autolinks and fenced code blocks. The conversion uses marked, a widely adopted open-source (MIT) library.

What does the line break option do?

In standard Markdown, a single line break does not start a new paragraph: you need a blank line, or two spaces at the end of the line. With the box ticked, every single line break becomes a br tag, just like in GitHub comments and issues.

Can I include HTML inside the Markdown?

Yes. Markdown lets you mix in raw HTML, and the conversion keeps it as-is in the output. The preview, however, is rendered in a sandboxed frame that never runs scripts, so viewing the result is safe even if the Markdown contains HTML.

Does the preview load external images?

No. For privacy, the preview blocks all external resources; only images embedded as data: are displayed. The generated HTML does keep your images with their URLs; they simply are not downloaded inside the tool.

Is my text uploaded to any server?

No. The conversion happens in your browser with JavaScript; your text never leaves your device and the tool works offline once loaded.