Kharabeesh
On-device ع

Markdown to HTML Converter

Convert Markdown into clean, sanitized HTML with a preview, automatic heading anchors and an option for a complete HTML page to copy or download.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Paste Markdown or open a .md file.
  2. Choose options: line breaks, heading anchors or a full page.
  3. Check the preview, then copy the HTML or download it.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: marked + dompurify (open-source libraries bundled with the site).
  • Works offline after you open it once.

Frequently asked questions

Is the output safe?

Yes. All HTML goes through DOMPurify: scripts, event handlers, forms, frames and style/class attributes are removed, so a file from an untrusted source cannot run code.

What are heading anchors?

Each heading gets an id the way GitHub makes them (Arabic letters kept), so you can link to #heading-name or build a table of contents.

Why do external images not show in the preview?

The site never contacts other websites, so images with internet links show as a named placeholder. The link stays in the output and the image shows when you open the file.

Related tools