How to use it
- Write or paste Markdown in the left pane.
- The right pane opens on the Preview tab, a rendered view of the result. Switch to the HTML tab to see the generated markup, then Copy or Download it as
document.html. - Adjust the options:
- GitHub Flavored enables tables, task lists, strikethrough and autolinked URLs.
- Line breaks → <br> turns single newlines into
<br>instead of joining them. - Full HTML page wraps the output in a complete document with
<!doctype html>, a UTF-8 charset, a viewport tag and a<title>taken from the first#heading.
The status bar counts headings and links, which is a quick way to check a long README.
Example
# Notes
- [x] done
- [ ] todo
~~old~~ https://tidypane.dev
becomes
<h1>Notes</h1>
<ul>
<li><input checked="" disabled="" type="checkbox"> done</li>
<li><input disabled="" type="checkbox"> todo</li>
</ul>
<p><del>old</del> <a href="https://tidypane.dev">https://tidypane.dev</a></p>
When to use it
- Turning a README or changelog into HTML for an email, a CMS field or a static page.
- Checking how Markdown will render before you commit it, including tables and task lists.
- Producing a standalone page: with Full HTML page on, the download opens directly in a browser.
If the markup needs tidying afterwards, paste it into the HTML Formatter. To check the length of a post before publishing, the Word Counter reports words and reading time. To compare two revisions of a document, use Text Diff.
The preview is sandboxed
The preview renders inside an iframe with every sandbox restriction applied and a content security policy that blocks scripts. Scripts, forms and navigation are all disabled, and only inline styles and images from https: or data: URLs are allowed. This means you can paste Markdown from an untrusted source to see how it looks without running anything in it.
The generated HTML itself is not sanitized. Raw HTML in your Markdown, such as <script>alert(1)</script>, appears in the output exactly as written. That matches how Markdown is specified, but it also means you should sanitize the HTML on your server, with a library such as DOMPurify, before showing Markdown written by other people.
Common surprises
- Two lines become one. A single newline doesn’t start a new paragraph in Markdown. Leave a blank line between paragraphs, or turn on Line breaks → <br>.
- A table doesn’t render. Tables need a header row followed by a separator row like
|---|---|, and GitHub Flavored must be on. - Indented text turns into code. Four leading spaces start a code block. Remove the indentation or use fenced code blocks.
Frequently asked questions
Which Markdown flavor is supported?
CommonMark plus GitHub Flavored Markdown when GitHub Flavored is on (the default): tables, task lists, strikethrough with ~~text~~ and bare URLs that become links. Turn it off to get plain CommonMark output.
Is raw HTML inside my Markdown kept?
Yes. Markdown allows inline HTML, so tags you write are passed through to the output unchanged. The preview runs in a sandboxed frame with no scripts, so a script tag is shown as markup but never executes.
Is the HTML safe to put on my website?
Only if you wrote the Markdown yourself. For content from users, run the generated HTML through a sanitizer such as DOMPurify before inserting it into a page, because Markdown can contain raw HTML and javascript: links.
What does Line breaks do?
Standard Markdown joins lines that are separated by a single newline into one paragraph. With Line breaks → <br> on, every single newline becomes a <br> tag, which matches how GitHub renders comments and chat-style text.
Is my document uploaded?
No. Parsing and the preview both happen in your browser, and nothing you write is sent to a server.
Last updated