How to use
- Type Markdown on the left and the preview on the right updates as you go | handy for READMEs, blog drafts, meeting notes or anything headed for GitHub or Notion.
- GitHub-flavored Markdown (GFM) is supported: tables, task lists (
- [ ]), strikethrough (~~ ~~) and automatic links. - Turn on “Treat single line breaks as
” to see single newlines as line breaks, the way GitHub comments render them. - Download .md saves your source; Download .html saves a styled web page. Copy HTML copies just the body HTML.
Syntax cheat sheet
| You want | Markdown |
|---|---|
| Headings | # Title, ## Subtitle (number of # = level, space required) |
| Bold, italic | **bold**, _italic_ |
| Links, images | [text](https://url),  |
| Lists | - item or 1. item |
| Task lists | - [ ] to do, - [x] done |
| Quotes | > quoted text |
| Code | `inline code`, or a block fenced with three backticks (```) |
| Tables | | Head | Head | then |---|---|; align with :---: (center) or ---: (right) |
When line breaks don’t behave
In standard Markdown (CommonMark), a single newline is treated as a space, not a line break; a blank line starts a new paragraph. To break a line inside a paragraph, end it with two spaces or a backslash (\). GitHub issues and comments show single newlines as breaks, which is why the same text can look different in a README. Use the option above to compare both.
How the preview stays safe
Markdown allows raw HTML, so text from someone else can hide malicious scripts. This tool sanitizes the converted HTML with DOMPurify | stripping scripts, event-handler attributes and javascript: links | and renders it only inside an isolated sandbox iframe where scripts can’t run. For the same reason, links in the preview don’t open. The exported .html file also carries a Content Security Policy that blocks scripts.
FAQ
Is my text saved or uploaded?
No. Conversion happens in your browser and nothing is sent to a server | download your .md before closing the page. External image URLs you include are fetched from their servers so the preview can show them.
Can I go the other way, from a web page to Markdown?
Use HTML to Markdown. To check length, try the Character Counter.