Free Markdown editor
with live preview
Write or upload a .md file, see it render as you type, then download the Markdown or a styled HTML file. No sign-up, no servers, no data stored anywhere.
- Nothing leaves your browser
- No server, no account
- Upload .md files
- Free forever
Markdown Live Editor
A free, private Markdown editor that runs entirely in your browser. Type on the left, see the result on the right. Nothing is uploaded, ever.
Tip: drag a
.mdfile anywhere onto this page to open it.
Everything you'd expect
- Bold, italic,
strikethroughandinline code - Links and automatic ones: https://vishnubaliga.com
- Nested lists
- second level
- third level
- second level
- Footnotes1
Task lists
- Open an existing file
- Edit with live preview
- Download as Markdown or HTML
Tables
| Feature | Supported | Notes |
|---|---|---|
| GitHub Flavoured | Yes | Tables, task lists, footnotes |
| Syntax highlight | Yes | 180+ languages |
| Diagrams | Yes | Mermaid |
| Math | Yes | KaTeX |
Code
type Doc = { name: string; content: string };
/** Runs in your tab. No network calls, no telemetry. */
export function wordCount(doc: Doc): number {
return doc.content.split(/\s+/).filter(Boolean).length;
}
# nothing to install — it is just a web page
open https://markdownpreview.io
Diagrams
Math
Inline , and a display block:
Quotes and details
"The best tool is the one that gets out of the way."
Inline HTML works too
Raw HTML is sanitised before preview, so opening a file from someone else is safe.
Built by Vishnu Baliga · Free forever · No account, no servers.
Footnotes
-
Rendered at the bottom, like GitHub. ↩
Your document stays in this browser tab. There is no upload step, no server-side rendering of your text and no copy kept anywhere else.
Features
Everything a Markdown editor should do — and nothing it shouldn't
A complete writing and preview environment that happens to run entirely inside a single web page. No extension, no desktop install, no account.
Upload any .md file
Click Open or drag a file anywhere onto the page. Several files open at once as tabs. The browser's File API reads them from disk — nothing is sent anywhere.
Live side-by-side preview
The rendered result updates as you type, with synchronised scrolling and a divider you can drag. Switch to editor-only or preview-only whenever you want more room.
Download Markdown, HTML or PDF
Save your work back as a .md file, export a self-contained styled .html page, copy the rendered HTML, or save the whole document as a PDF.
Full GitHub Flavoured Markdown
Tables, task lists, footnotes, strikethrough, autolinks and fenced code blocks with syntax highlighting for more than 180 languages.
Mermaid diagrams
Flowcharts, sequence diagrams, Gantt charts and more render straight from a mermaid code block — drawn locally, in your tab.
LaTeX math with KaTeX
Inline and display math render instantly, so technical notes, papers and README files look right the first time.
Shortcuts and a real toolbar
Bold, italic, links, headings, lists, tables and code blocks from the toolbar or the keyboard, with multi-cursor editing and find-and-replace built in.
Document outline
Headings become a clickable outline, so you can move through a long README or specification without scrolling for it.
Autosave on your device
A working copy is kept in your browser's local storage, so a refresh never loses your draft. One click erases it completely.
Light and dark theme
Follows your system appearance by default, with a manual override that is remembered on your device.
Works offline
Everything runs on the page itself, so once it has loaded you can keep writing on a plane, on a train or with the network switched off.
Safe with files from others
Inline HTML in a Markdown file is sanitised before it renders, so scripts hidden inside a document you received cannot run.
Privacy & security
Your document never leaves your browser
This is a static page. Every feature — reading a file, rendering it, exporting it — happens on your own device, which makes it safe for internal documents, client work, drafts and anything else you would rather not paste into someone else's web app.
No server receives your file
There is no backend. Opening a file uses the browser's local File API, and the preview is produced by JavaScript already running in your tab. No upload request is ever made.
No data storage
Nothing is written to a database, a bucket or a log, because none exist. The only copy is the working draft in your own browser's local storage, which you can erase with one click.
No tracking of your content
Your text is never read, analysed, indexed or used to train anything. There is no telemetry on what you write.
No accounts, no cookies to accept
You are not asked to sign in or to hand over an email address. There is no sign-up wall and no cookie banner, because there is no tracking cookie to consent to.
Safe to open files from other people
Inline HTML is sanitised before rendering: scripts, event handlers and javascript: links are stripped, so a hostile .md file cannot run code in your browser.
No ads, no paid tier
The tool is free and complete. Nothing is held back, and no part of the page is sold to an advertiser.
Want to verify it? Open your browser's developer tools, switch to the Network tab, and type or open a file. You will see no requests carrying your content. You can also save the page and run it from your own machine.
How to use it
From file to finished document in three steps
- 1
Open or write your Markdown
Press Open to pick a .md file from your device, drag one onto the page, or just start typing in the left pane. Several files can be open at once as tabs.
- 2
Edit with the preview beside you
The right pane re-renders as you type. Use the toolbar or keyboard shortcuts for headings, bold, links, tables and code, and drag the divider to give either side more room.
- 3
Download the result
Save it back as a .md file, export a styled standalone .html page, copy the rendered HTML, or save it as a PDF. Everything is generated locally.
Markdown syntax cheat sheet
Every one of these works in the editor above. Paste any of them in to see the result immediately.
| Syntax | What it does |
|---|---|
# Heading 1 | Largest heading — use # through ###### for six levels |
**bold** | Bold text |
*italic* | Italic text |
~~strikethrough~~ | Struck-through text |
[label](https://example.com) | Link |
 | Image |
- item | Bullet list — indent two spaces to nest |
1. item | Numbered list |
- [ ] task | Task list — use - [x] for a completed item |
> quote | Blockquote |
`code` | Inline code |
```js … ``` | Fenced code block with syntax highlighting |
| a | b | | Table row — follow the header with | --- | --- | |
--- | Horizontal divider |
Text[^1] | Footnote reference, defined later as [^1]: note |
$E = mc^2$ | Inline LaTeX math, or $$ … $$ for a display block |
```mermaid … ``` | Mermaid diagram rendered from text |
Keyboard shortcuts
Built for people who would rather not reach for the mouse.
- Bold
- Ctrl / ⌘ + B
- Italic
- Ctrl / ⌘ + I
- Inline code
- Ctrl / ⌘ + E
- Insert link
- Ctrl / ⌘ + K
- Code block
- Ctrl / ⌘ + ⇧ + C
- Heading level 1 to 6
- Ctrl / ⌘ + ⌥ + 1…6
- Bullet list
- Ctrl / ⌘ + ⇧ + 8
- Numbered list
- Ctrl / ⌘ + ⇧ + 7
- Task list
- Ctrl / ⌘ + ⇧ + 9
- Find and replace
- Ctrl / ⌘ + F
- Open a file
- Ctrl / ⌘ + O
- Download as .md
- Ctrl / ⌘ + S
- Leave focus mode
- Esc
FAQ
Questions people ask first
Short answers about cost, privacy, file handling and what the editor supports.
Is this Markdown editor free?
Yes. It is completely free, with no account, no sign-up, no trial and no paid tier. Every feature — live preview, file upload, syntax highlighting, diagrams, math and downloads — is available to everyone at no cost.
Is my data safe? Do you store my files?
Nothing is stored on any server, because there is no server. The editor is a static web page: your Markdown is processed by JavaScript inside your own browser tab and never transmitted anywhere. No uploads, no database, no logs, no tracking, no analytics on your content.
Where is my document saved?
A working copy is kept in your browser's local storage on your own device, so you do not lose your work if you refresh or close the tab. It never leaves your computer, and you can erase it instantly with the 'Clear local data' button. Use private/incognito mode if you prefer nothing to persist at all.
Can I upload an existing .md file?
Yes. Click Open, or drag and drop one or more .md, .markdown, .mdx or .txt files straight onto the editor. The file is read locally with the browser's File API — it is never uploaded. You can open several files at once and switch between them as tabs.
Can I download the result?
Yes. You can download your document as a .md file, export it as a styled standalone .html file, copy the Markdown or the rendered HTML to your clipboard, or save it as a PDF — all of it generated inside your browser.
Does it work offline?
Yes. Once the page has loaded, everything runs locally, so you can keep editing with no internet connection. You can also install it as a browser app and open it like a desktop editor.
Which Markdown syntax is supported?
It renders GitHub Flavored Markdown: headings, bold and italic, lists, task lists, tables, blockquotes, footnotes, strikethrough, autolinks, fenced code blocks with syntax highlighting, inline HTML, plus Mermaid diagrams and LaTeX math via KaTeX.
Is it safe to paste confidential or internal documents?
Your text stays inside your browser, so pasting is as private as opening a local file in a desktop app. Inline HTML in your document is sanitised before preview, which blocks scripts hidden inside a Markdown file you received from someone else.
Who built this?
It was built by Vishnu Baliga as a free, privacy-first alternative to Markdown editors that require an account or send your content to a server.
A Markdown editor that respects your files
Free, private and complete. Bookmark it, use it offline, and never hand your drafts to a server again.