Markdown editor

About this tool

The Markdown editor shows your text on the left and the formatted preview on the right, updated as you type. It supports CommonMark and the GitHub extensions such as tables, task lists and strikethrough. You can save the finished text as an .md file, copy or save it as HTML, or output a PDF through the print dialog. Conversion runs entirely in your browser, and your text is not sent to a server.

What you can use it for

Frequently asked questions

How can I see what my Markdown looks like formatted?

Type or paste your text into the editor on the left. The preview on the right shows headings, lists, tables and code right away. “Split”, “Editor” and “Preview” switch the view.

How do I get HTML out of my Markdown?

“Copy HTML” copies just the content without a page frame. “Save .html” creates a self-contained page with styling, no scripts and a security policy.

How do I save the result as a PDF?

“Print / PDF” opens the finished page in a new tab. Press Ctrl+P there and choose “Save as PDF”. If the browser blocks the new tab, save the HTML file and print it from there.

Is my text sent to a server?

No, conversion runs in your browser. The text is never put into the address either. External images are not loaded by default, so other servers cannot see your address.

Is my text kept when I close the page?

Only if remembering the draft is switched on. It is then stored only in this browser (localStorage), not on the server or on other devices. Save important text as an .md file as well.

Which Markdown features are supported?

CommonMark 0.31 plus GFM tables, task lists, strikethrough and automatic links. Footnotes, formulas, diagrams, emoji shortcodes and syntax colouring in code are not included.

Is raw HTML in Markdown dangerous?

The preview runs in a sandboxed frame with no scripts and no access to the page. You can allow HTML tags, show them as text or remove them. For HTML from an unknown source, “Remove” is the sensible choice.

Which keyboard shortcuts are there?

Ctrl (Mac: Cmd) plus B for bold, I for italic, K for link, E for code and S to save the .md file. Enter continues lists and Tab indents list items. The shortcuts also appear in the button tooltips.

Background

Markdown is a simple way of writing formatted text. A hash sign at the start of a line makes a heading, asterisks around a word make it bold or italic, and a hyphen starts a list. The file remains plain text and opens in any editor. Only a converter turns it into HTML. That is why Markdown is common for documentation, notes and README files.

The basic rules are defined in the CommonMark specification, which this editor implements in version 0.31. GitHub Flavored Markdown (GFM) adds tables, task lists, strikethrough text and automatic links. Tables are written with vertical bars; the second row sets alignment, for example :-- for left, --: for right and :-: for centred. Task lists use - [ ] for open and - [x] for completed items. The converter in this editor is written from scratch and uses no third-party library. Rare edge cases may therefore differ from how GitHub renders them.

Markdown may contain raw HTML, including script tags, which is a risk when displaying it. The editor therefore shows the preview in an iframe with the sandbox attribute: no scripts, no access to the surrounding page, no forms and no popups. The page inside the frame starts with a Content Security Policy that forbids loading anything except embedded images and, if enabled, images over https. The converter additionally blocks javascript: links and dangerous data: addresses. Raw HTML can be allowed, shown as text or removed.

There are three ways to get the result out. The .md file contains the text unchanged. The .html file is a self-contained document with styling and a security policy, but no scripts. “Copy HTML” gives only the content, without a frame and without the policy. A PDF is produced through the browser's print dialog.

The draft can be kept in the browser's localStorage. This storage applies only to this browser and this address. Another browser, a private window or cleared site data will not have the text. Texts are limited to about one million characters, and with large texts the preview updates with a delay.

Help & info

What is Markdown?

A simple way to write formatted text: # makes a heading, **asterisks** bold, - a list. The editor turns it into HTML live (CommonMark 0.31 with GitHub extensions). The file stays plain text and opens anywhere.

Syntax in brief

# Heading · **bold** · *italic* · `code` · [text](address) · ![alt](address) · > quote · - list · 1. numbers · ``` code block ``` · --- rule · two spaces or \ at line end = line break. The cheat sheet under “Examples & templates” shows it all.

GitHub extensions

Tables (| a | b |), ~strikethrough~, task lists (- [ ] / - [x]) and automatic links (https://…, www.…, email). Not included: footnotes, formulas, diagrams, emoji shortcodes and syntax colours in code — those would need libraries.

Keyboard shortcuts

Ctrl (Mac: Cmd) + B bold, I italic, K link, E code, Shift+X strikethrough, Shift+7/8/9 numbered/list/quote, S saves the .md file. Enter in a list continues it, in an empty item it ends it. Tab indents a list item, Shift+Tab outdents — in normal text Tab keeps moving keyboard focus. To leave the field from inside a list, press Esc first.

Raw HTML and safety

Markdown may contain raw HTML, even <script>. So the preview runs in a sandboxed frame (no scripts, no access to this page) with a security policy (CSP: load nothing except embedded images); the converter also blocks javascript: links and dangerous data: addresses. Under “Settings” raw HTML can be allowed, shown as text or removed — for HTML from an unknown source choose “Remove”: the exported HTML file carries its own security policy, but “Copy HTML” gives the content without it. Links in the preview open nothing.

Where does my text go?

Only into this browser (localStorage) under this address — not to the server. Another browser, a private window or cleared site data will not have it. Remembering can be switched off; the stored draft is then deleted too. Save important text as .md as well.

Export and limits

.md is the text itself. .html is a finished page with styling, light/dark adaption and a security policy, without scripts. PDF: “Print / PDF” opens the page; choose “Save as PDF” there. Limits: texts up to about 1 million characters, large texts update the preview with a delay; deep nesting (beyond 50 levels) is treated as text; rare edge cases may differ from how GitHub renders them.

⚠️ Bitte beachten

Die Werkzeuge auf dieser Website werden als kostenloses Hobbyangebot bereitgestellt und dienen ausschließlich zur Information und privaten Nutzung. Für die Richtigkeit, Vollständigkeit oder Eignung der Ergebnisse für einen bestimmten Zweck wird keine Gewähr übernommen. Vor Verwendung der Ergebnisse — insbesondere bei finanziellen, rechtlichen oder sicherheitsrelevanten Entscheidungen — sind diese eigenverantwortlich zu prüfen. Eine Haftung für Schäden aus der Nutzung ist ausgeschlossen, soweit dies gesetzlich zulässig ist.