Markdown Editor
Templates ▾
File ▾
Markdown Source
Live Rendered Preview
Loading preview…
Free online Markdown editor, previewer & cheat sheet
Write Markdown with a live synchronized preview, full formatting toolbar, interactive table builder, HTML-to-Markdown converter, and export to .md or standalone styled HTML. Everything runs 100% locally in your browser; nothing is uploaded.
How to use the Markdown EditorShow guide ▾Hide guide ▴
1. Write & Format
Type in the editor or drag and drop any .md or text file. Use the toolbar or shortcuts: Ctrl/⌘+B for bold, Ctrl/⌘+I for italic, Ctrl/⌘+K for links, and Tab to indent.
2. Live Preview & Views
Toggle between Split, Edit, Preview, or HTML view modes. Proportional synchronized scrolling keeps your cursor position and preview aligned. Output is sanitized via DOMPurify.
3. Tools & Converters
Use Table Builder to visually configure rows, columns, and alignment. Use HTML → Markdown to convert web snippets into clean Markdown, or load ready-made templates (README, Changelog, API docs).
4. Save & Export
Your document autosaves in local storage. Use the File menu to download .md, export a self-contained styled .html page, copy Markdown/HTML to clipboard, or generate a PDF.
Markdown cheat sheet
Basic syntax is supported by every Markdown parser; extended syntax works across GitHub, modern documentation tools, and static site generators.
Heading
One # per level, up to six. Put a space after the #.
# H1 ## H2 ### H3
H1
H2
H3
Bold
__text__ also works, but ** is safer mid-word.
**bold text**
bold text
Italic
_text_ also works.
*italicized text*
italicized text
Bold & italic
***really important***
really important
Blockquote
> Quoted text > > > Nested quote
Quoted text
Nested quote
Ordered list
The numbers don't have to be in order — the first one sets the start.
1. First item 2. Second item 3. Third item
- First item
- Second item
- Third item
Unordered list
-, * or + — just don't mix them in one list.
- First item - Second item - Third item
- First item
- Second item
- Third item
Nested list
Indent nested items to line up with the parent's text.
1. Prepare - Gather tools - Read the docs 2. Build
- Prepare
- Gather tools
- Read the docs
- Build
- Prepare
Inline code
Use double backticks to include a backtick: `` `x` ``.
Run `npm install` first.
Run
npm installfirst.Horizontal rule
Leave a blank line before ---, or it turns the line above into a heading.
Above --- Below
Above
Below
Link
[Markdown Guide](https://www.markdownguide.org "Optional title")
Reference link
Read the [CommonMark spec][spec]. [spec]: https://spec.commonmark.org/
Read the CommonMark spec.
Image
Like a link, with a ! in front; the text in [ ] is the alt text.


Line break
End a line with two spaces, a backslash, or <br> for a break within a paragraph.
First line<br> Second line
First line
Second lineParagraphs
Separate paragraphs with a blank line.
First paragraph. Second paragraph.
First paragraph.
Second paragraph.
Escaping characters
A backslash shows a character that would otherwise be formatting.
\*not italic\* and 1\. not a list
*not italic* and 1. not a list
Frequently Asked Questions
›Is my Markdown sent to a server?
No. The editor, live preview rendering, syntax validation, and exports run entirely in your web browser. Your text is saved in this browser's local storage so your work is restored when you return.
›What Markdown flavors are supported?
The editor supports CommonMark and GitHub Flavored Markdown (GFM), including tables, task lists (- [x]), strikethrough (~~text~~), highlights (==text==), footnotes ([^1]), sub/superscripts (H~2~O, X^2^), emoji shortcodes, and definition lists.
›Can I convert HTML to Markdown?
Yes — switch to the 'HTML → Markdown' tool tab in the top navigation, paste your raw HTML, and click Convert. You can then copy it or insert it directly into the Markdown Editor.
›How does the Table Builder work?
Switch to the 'Table Builder' tool tab to configure rows, columns, and text alignment visually. Type directly into the interactive grid and click 'Insert into Editor' to drop in properly formatted Markdown pipes.
›How do I export to HTML or PDF?
Use the File menu or toolbar to download as .md or a styled standalone .html file. You can also click 'Print / PDF' (or press Ctrl+P) to generate a clean PDF document without any editor chrome.
›Is raw HTML safe in the preview?
Yes. Raw HTML is allowed for advanced styling, but all preview output is automatically sanitized using DOMPurify before rendering, stripping any malicious scripts or attributes.