Markdown Editor
Write Markdown with a live preview in your browser. Draft README sections, docs, and comments, then copy Markdown or rendered HTML. Preview stays on-device so unpublished docs and internal notes are not sent to a cloud editor.
Runs in your browser. Nothing is uploaded.
About this tool
Write GitHub-flavored Markdown with a live HTML preview. marked renders; DOMPurify sanitizes before inject so a pasted README cannot run script. Toolbar helpers wrap bold, italic, links, code, and lists. The editor library loads on demand so other tools stay light.
How to use: type in the source pane, watch preview, copy Markdown from the sticky bar or HTML from the toolbar. Draft README sections, comments, and changelog bullets without a cloud doc.
Example: a heading plus a fenced code block previews as it would on GitHub-like sites. Sanitization strips dangerous tags; this is not a full CMS with uploads. Keep drafts in the tab until you are ready to commit.
Preview never leaves the browser. Unpublished docs stay on your device. Related: HTML formatter for the copied HTML, Mermaid if you need a diagram in the same doc later. The Markdown library is lazy-loaded with ssr disabled so other tools stay small. After it loads once, keep drafting offline.
Related Web tools
JSON Formatter
Pretty-print, minify, and validate JSON in your browser. Paste a payload, fix indentation, and spot syntax errors without sending data to a server. Works for APIs, config files, and nested objects. Output stays on your device.
JavaScript Formatter
Beautify or compact JavaScript in the browser. Re-indent minified snippets from DevTools, or collapse whitespace for a rough size check. Formatting stays on-device so proprietary scripts are never posted to a beautifier.
SQL Formatter
Beautify SQL in the browser with dialect-aware formatting for PostgreSQL, MySQL, SQLite, and T-SQL. Paste a query, pick indent, and copy readable SQL without sending statements to a formatter service.
HTML Formatter
Beautify or minify HTML markup locally. Re-indent nested tags, collapse whitespace for production snippets, and copy formatted markup without posting templates to a formatter service. Handy for emails, partials, and messy copy-paste from DevTools.
CSS Formatter
Format and minify CSS in the browser. Expand rules for readability or compress stylesheets for a quick size check. Paste a snippet, tidy selectors and declarations, and copy the result. Proprietary styles are not uploaded.
XML Formatter
Pretty-print or minify XML documents in your browser. Indent nested elements from SOAP, RSS, and config files, or collapse whitespace for a compact blob. Parsing and formatting never leave the tab.