Markdown Editor
Write Markdown online for free with a side-by-side live preview — a toolbar and shortcuts for bold, italics, links, headings, lists, quotes, code and tables, GitHub-flavoured tables and task lists, word count and reading time, autosave in your browser, and export to Markdown, HTML or PDF.
100% private — everything runs in your browser. Conversion happens on your device; nothing is uploaded.
GitHub-flavoured Markdown (tables, task lists, fenced code) rendered with the open-source marked library. Your text is autosaved in this browser only and never uploaded.
How to use the Markdown editor
- Type Markdown on the left (or open a .md file).
- Use the toolbar or Ctrl/⌘ + B, I and K for formatting.
- Check the live preview on the right.
- Download .md, HTML or print to PDF.
What you can use it for
- Draft README files, docs and blog posts
- Write notes and meeting minutes with clean formatting
- Prepare content for GitHub, Notion, Obsidian and static sites
- Learn Markdown with an instant preview
More free tools
Building for the web?
Format, minify, convert and generate code with our free, private developer tools.
See all free tools →Frequently asked questions
Is my writing saved?
Yes — it's autosaved in this browser, so it's still there when you come back. It isn't uploaded anywhere.
Does it support GitHub Markdown?
Yes: tables, task lists, fenced code blocks and strikethrough.
How do I export to PDF?
Click Print / PDF and choose “Save as PDF” in the print dialog.
Can I convert existing documents?
Use DOCX to Markdown, PDF to Markdown or HTML to Markdown, then paste the result here.
Which toolbar buttons and keyboard shortcuts are there?
The toolbar adds the Markdown for you. B and I wrap the selected text in bold or italic marks, Code wraps it in backticks, and Link and Image insert a pattern with a web address to fill in. H, Quote, • List and 1. List add ##, >, – or 1. at the start of the current line. Table inserts a two-column table. Ctrl or ⌘ with B, I or K adds bold, italic or a link.
Can I open a Markdown file I already have?
Yes. Click Open .md and pick a file ending in .md, .markdown or .txt. Its text replaces everything in the editor, so download your current draft first if you want to keep it. The file is read by your browser, not uploaded. When you're done, Download .md always saves the file as document.md, so rename it if you want to keep the original name.
What does “Treat line breaks as new lines” do?
With the box unticked, lines that sit next to each other are joined into one paragraph, so a single press of Enter doesn't show as a new line in the preview. Tick Treat line breaks as new lines and every single line break shows as a line break, in the preview and in the HTML and PDF exports. A blank line always starts a new paragraph. The box starts unticked each time you open the page.
Can I use HTML inside my Markdown?
Yes. HTML you type among your Markdown, such as a details block or a table with merged cells, shows in the preview and is kept in the HTML and PDF exports. For safety, the editor removes script, iframe, object, embed, style, link and meta tags, plus on-event attributes such as onclick and any javascript: links. The .md download always keeps your text exactly as you typed it.
How do I add an image?
Click Image, or type , then replace https:// with the image's full web address and alt text with a short description of it. The picture shows in the preview straight away. The image itself isn't stored inside the .md or HTML file: both keep a link to that address, so use an image that is already online and will stay there.
What's the difference between Download HTML and Copy HTML?
Download HTML saves document.html, a complete web page you can open in a browser. It has simple built-in styling: a text column up to 760 pixels wide, bordered tables, shaded code blocks and images that shrink to fit. Copy HTML puts only the converted content on your clipboard, with no page wrapper and no styles, ready to paste into another page or template.
What will my PDF look like?
Print / PDF opens your document in a new window laid out for paper: serif text at 12 pt in a column up to 700 pixels wide, tables with thin grey borders, images scaled to fit the width and code blocks that wrap long lines instead of running off the page. The print dialog opens a moment later, and the editor page stays as it was.
How does autosave work, and how do I start a new document?
Your text is saved in this browser's local storage a moment after you stop typing, and it loads again when you come back in the same browser on the same device. It isn't synced anywhere else, so use Download .md to keep a copy or to move it to another device. To start a new document, click Clear. If you reload with the editor empty, the short welcome sample appears.