How it works
- Type or paste Markdown.
- Watch the preview update.
- Copy the HTML or save the document.
Why use it
- GitHub flavored Markdown.
- Syntax highlighted code blocks.
- Sanitized HTML output.
- Copy HTML or print to PDF.
Writing Markdown and turning it into HTML
Markdown in two minutes
Markdown is plain text with a few marks that become formatting. It is how README files, documentation, forum posts and notes apps are written, because it stays readable as plain text and converts cleanly into HTML.
| You type | You get |
|---|---|
# Title and ## Section | Headings of level 1 and 2 |
**bold** and *italic* | Bold and italic text |
[text](https://example.com) | A link |
- item or 1. item | A bulleted or numbered list |
- [ ] task and - [x] done | A task list with checkboxes |
> quote | A block quote |
| Three backticks, a language name, code, three backticks | A code block with syntax colours |
| a | b | rows with a |---|---| line | A table |
In tables, colons in the separator line set the alignment of a column: |:---| aligns left, |:---:| centres and |---:| aligns right, which is how columns of numbers are usually set.
The toolbar inserts the same marks for you: bold, italic, heading, link, lists, task list, quote and code. Paste or open a .md file to work on an existing document.
Getting the HTML
- Copy HTML copies the body only, ready to paste into a website builder, a CMS or an email template.
- Download HTML saves a complete web page with basic styles, which opens in any browser and can be sent as a file.
- Print opens the print dialog with the preview, where choosing Save as PDF gives a tidy PDF of the document.
Code blocks get syntax colours for JavaScript, TypeScript, JSON, CSS, HTML, shell scripts and more when you name the language after the opening backticks.
Safe HTML
Markdown allows raw HTML inside it, which means a document pasted from somewhere else could carry a script. The preview and the exported HTML pass through DOMPurify, a widely used sanitiser, which removes scripts, event handlers and other active content while keeping normal formatting. That keeps the page safe to preview and the HTML safe to publish.
Writing comfortably
Switch between Write, Split and Preview layouts; split view keeps the preview scrolled to the part you are writing when Sync scroll is on. The draft is saved in this browser as you type, so closing the tab does not lose it; it stays on this device only. For text statistics such as word count and reading time, paste the text into the word counter.
If something goes wrong
- A list or table does not render. Markdown needs a blank line before a list or a table that follows a paragraph.
- Line breaks disappear. In Markdown a single line break joins lines into one paragraph. Leave a blank line between paragraphs.
- Some HTML was removed. It was active content, such as a script or an inline event handler, removed for safety.
Questions and answers
How do I convert Markdown to HTML?
Paste your Markdown into the editor and copy the HTML output.
Is the HTML safe to publish?
It is sanitized with DOMPurify, which removes scripts and unsafe attributes.
Is my writing stored?
No, it stays in your browser.