Markdown Editor & HTML Converter

An editor for writing Markdown with a real-time preview. It supports GitHub Flavored Markdown (tables, task lists, strikethrough, and more), and lets you copy the converted HTML or download it as .md/.html files.

How to use

  1. Type Markdown into the editor on the left, and the result updates in real time on the right.
  2. The "Preview" tab shows how it will actually be rendered, including GitHub Flavored Markdown (GFM) syntax like tables, task lists, and strikethrough.
  3. Switch to the "HTML Code" tab to see the converted HTML source, ready to paste elsewhere with "Copy to clipboard".
  4. Use "Download Markdown (.md)" or "Download HTML (.html)" to save it as a file in either format.

About this tool

This tool lets you preview Markdown text in real time while also converting and extracting it to HTML. It's useful for drafting README files, writing blog posts, converting documentation to HTML, and other Markdown-related tasks.

It supports the major GitHub Flavored Markdown (GFM) extensions — tables, task lists (checkboxes), strikethrough, and syntax-highlighting classes on code blocks.

The generated HTML is sanitized with DOMPurify in your browser before being displayed or exported, so that any malicious script embedded in the Markdown can't be executed.

Frequently asked questions

What is GitHub Flavored Markdown (GFM)?

It's an extension of standard Markdown used by GitHub, adding tables, strikethrough (~~text~~), task lists (- [ ] and - [x]), and more. This tool supports all of these.

Can I write raw HTML tags directly inside the Markdown?

Markdown containing raw HTML tags is converted, but dangerous elements like script tags are stripped by DOMPurify on output. Because safety is prioritized, some advanced HTML may not be preserved.

Can I publish the downloaded HTML file as-is?

The downloaded HTML file is exported as a self-contained document with minimal styling (headings, tables, code blocks, etc.), so you can open it directly in a browser or use it as a simple page. For a more polished design, add your own CSS.

Is my input Markdown sent to a server?

No. Converting to a preview, generating HTML code, and downloading files all happen entirely with JavaScript in your browser.