Open source · 2026
A Markdown editor with live preview that never uploads your writing
A free, open-source Markdown editor with live preview that runs in the browser: GitHub-style tables and task lists, code highlighting, KaTeX maths and Mermaid diagrams, with export to HTML or PDF and share links that need no server.
- For
- Open source
- Role
- Design and engineering
- Year
- 2026
- Industry
- Developer Tools

Overview
Writing a README or a doc often means pasting it into a site that wants an account, or that keeps a copy.
Markdown Preview renders as you type, entirely in the browser. It exports to HTML or PDF, and share links carry the whole document after the # in the address, which browsers never send to a server.
The problem
- Online Markdown previewers often need sign-up or store your text.
- Many skip the parts developers use: tables, maths and diagrams.
- Sharing a draft usually means uploading it somewhere.
What it had to do
- Render everything GitHub Flavored Markdown supports, plus maths and diagrams.
- Make opening a share link from a stranger safe.
- Keep the page light: load heavy parts only when a document needs them.
How I built it
Safe by default
Every render passes through DOMPurify, KaTeX runs with trust off, and Mermaid runs in strict mode with its theme settings locked, so a shared document cannot run code or restyle the page.
Share links without a server
Documents are compressed with fflate and stored in the URL fragment, so a link is the document and nothing is stored anywhere.
Load only what is used
Mermaid and its layout engines download only when a document contains a diagram.
What shipped
- Live editor with split, write and preview layouts, scroll sync and drafts kept on the device.
- Export to Markdown, HTML (copy or a styled standalone page) and PDF.
- Pages for Markdown to HTML and Markdown to PDF, and a cheat sheet with rendered examples.
What came of it
- Live at markdown.vivekbhange.tech and open source under the MIT licence.
- Tested against hostile share links carrying scripts, event handlers and javascript: links.
What it does not do
- The editor is a plain text box, with no syntax highlighting while you type yet.
- Very long documents make very long share links, which some chat apps cut short.
Built with
Useful?
Have something like this to build?
Built by Vivek Bhange, Full-Stack AI Engineer in Pune, India. Open for freelance and collaboration.
More work
See all work
Open source · 2026
An in-browser tool that reads the hidden tags behind "AI info" labels
A free, open-source tool that shows why a photo gets an "AI info" label.
- Developer Tools
- AI & Automation

Open source · 2026
Fifteen PDF tools that do all the work in your browser
Free, open-source PDF tools that run entirely in the browser: merge, split, compress, convert, rotate, number, watermark, protect and unlock PDFs.
- Developer Tools

Open source · 2026
Developer utilities that never send what you paste anywhere
Fourteen free developer utilities that run entirely in the browser: JSON formatter, JSON and CSV converters, JWT decoder with signature checks, Base64, URL encoding, hashes, regex tester, diff checker, cron explainer, timestamps, UUIDs and more.
- Developer Tools