LOCAL FILES. CLEAR RESULTS.

Markdown ↔ HTML converter

Convert Markdown and HTML locally with a sanitized, isolated preview and downloadable output.

About this tool

This converter moves documents between Markdown and HTML in both directions, for writers and developers shifting drafts between note apps, documentation platforms and static site generators. Markdown becomes a clean, sanitized HTML fragment; HTML becomes Markdown with unsupported markup removed.

Safety is built into the flow: pasted HTML is sanitized before conversion or preview, scripts, embeds, forms and remote images are stripped, and the preview runs in a sandbox without scripts. What cannot survive the trip is presentation — CSS layouts, complex tables and page designs have no Markdown equivalent — so review links and formatting in the output before you publish it.

How to use Markdown ↔ HTML converter

  1. Choose the conversion direction and paste text or add a UTF-8 file up to 5 MB.
  2. Run to generate the output. The preview strips scripts, embeds, forms and remote media.
  3. Download the converted fragment. Review links and formatting before publishing.

Keep the original files and inspect the exported result before publishing or sharing it.

Frequently asked questions

Is pasted HTML executed?

No. HTML is sanitized before conversion or preview, and previews run in a sandbox without scripts. Remote media is removed to avoid fetching URLs from your document.

Will the document look identical?

No. Markdown does not represent arbitrary CSS, scripts, complex tables or page layouts. HTML to Markdown removes unsupported markup. Markdown to HTML exports a sanitized fragment, not a full website.

Which Markdown features are supported?

The parser supports common Markdown and GitHub-style tables and strikethrough. Images are removed for a local-only preview and export; links remain as text or safe links.