# Markdown Editor

> Write Markdown with a live preview, synced scrolling, several saved documents and export to HTML or PDF. Runs entirely in your browser, so nothing is uploaded.

Source: https://toffeekit.com/tools/markdown-editor

**Category:** [Developer](https://toffeekit.com/category/developer) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/markdown-editor

**Also useful for:** markdown editor, markdown editor online, md editor, markdown preview, live markdown, github flavored markdown, gfm, readme editor, markdown to pdf, markdown to html, markdown notes, writing app, distraction free writing

## What you can do

- **Write a README** — Start from a README outline with install, usage and options sections. ([open with this preset](https://toffeekit.com/tools/markdown-editor?preset=readme))
- **Draft a blog post** — A clean post structure, focus mode for writing, and HTML export. ([open with this preset](https://toffeekit.com/tools/markdown-editor?preset=blog))
- **Take meeting notes** — Agenda, decisions and a task list you can tick off in the preview. ([open with this preset](https://toffeekit.com/tools/markdown-editor?preset=notes))

## How it works

1. Type in the left pane, or click Import to open a .md or .txt file. The preview on the right updates as you write.
2. Format with the toolbar or shortcuts like Ctrl+B, Ctrl+I and Ctrl+K, and pick a table size from the grid.
3. Switch between Editor only, Editor and preview, and Preview only, or press Focus mode to write without distractions.
4. Open Export to save as Markdown, styled HTML or PDF, or copy the result as formatted text or HTML.

## FAQ

### Where are my documents saved?

In your browser's local storage on this device, saved as you type. They stay after you close the tab, but clearing site data removes them, so export anything important.

### Which Markdown features are supported?

CommonMark plus GitHub Flavored Markdown: tables, task lists, strikethrough, autolinks and fenced code blocks with syntax highlighting. Footnotes like [^1] work too. Mermaid diagrams and LaTeX math aren't rendered yet.

### How do I convert Markdown to PDF?

Choose Export, then PDF. Your browser's print dialog opens with just the document; pick Save as PDF as the destination. Headings, code blocks and tables are kept together across pages where possible.

### Can I paste HTML into my Markdown?

Yes. Safe tags like details, kbd, sub, sup and br render in the preview. Scripts, styles, iframes, forms and event handlers are removed, so pasted content can't run code.

### How do I make a table in Markdown?

Click the table button and pick a size, or type a header row like | Name | Price |, then a line of | --- | --- |, then one row per line. Add colons, as in :---:, to centre a column.

### Is Markdown Editor free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

## Privacy

Markdown Editor runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [JSON Formatter](https://toffeekit.com/tools/json-formatter) — Format, minify and validate JSON with clear errors.
- [Base64 Encode / Decode](https://toffeekit.com/tools/base64-encoder) — Encode text to Base64 or decode it back, UTF-8 safe.
- [URL Encode / Decode](https://toffeekit.com/tools/url-encoder) — Percent-encode query values or whole URLs.
- [HTML Entities](https://toffeekit.com/tools/html-entity-encoder) — Escape < > & and quotes, or decode entities.
- [JWT Decoder](https://toffeekit.com/tools/jwt-decoder) — Read a token's header, claims and expiry.
- [Hash Generator](https://toffeekit.com/tools/hash-generator) — MD5, SHA-1, SHA-256, SHA-384 and SHA-512 at once.

