Markdown Editor — Write & Preview in Real-Time
Professional split-pane Markdown editor with instant HTML preview. Supports headings, bold, italic, links, images, code blocks, tables, task lists, and more. Keyboard shortcuts included.
Related Tools
How to Use the Markdown Editor
- Write Markdown — Type or paste your Markdown content in the left panel. Use the toolbar buttons to insert headings, bold, italic, links, code blocks, tables, and more.
- See Live Preview — The right panel renders your Markdown as formatted HTML in real-time as you type. Toggle between visual preview and raw HTML output.
- Export Your Work — Copy as Markdown or HTML, download as .md or .html file. Keyboard shortcuts: Ctrl+B (bold), Ctrl+I (italic), Ctrl+K (link) — Cmd on a Mac — and Tab (indent).
About the Markdown Editor
The Markdown Editor is a split-pane workspace: you type Markdown on the left and see the formatted result on the right, refreshed 150 milliseconds after you stop typing. It suits README files, documentation, blog drafts, forum posts and notes. A toolbar inserts the syntax for you, and when you are done you can copy or download the Markdown or the generated HTML.
Supported syntax
The parser follows GitHub-style Markdown for the features people use most:
- Headings with
#to######. - Emphasis:
**bold**,*italic*,***both***and~~strikethrough~~. Underscores work too, but only at word boundaries, somy_var_namestays as typed. - Code: inline
`code`and fenced blocks with```or~~~. A language hint such as```jsbecomesclass="language-js". - Links and images:
[text](url "title"),,<https://…>and bare https addresses, which become links automatically. - Lists: bulleted and numbered lists, nested by indentation. A numbered list keeps its starting number (
3.gives<ol start="3">). - Task lists:
- [ ]and- [x]become disabled checkboxes. - Tables with pipes, aligned with
:---,:---:or---:. - Blockquotes (nested with
> >), horizontal rules (---,***,___), backslash escapes and entities such as©.
One difference from standard Markdown matters: a single line break inside a paragraph becomes a <br>, the way GitHub comments behave. In standard Markdown it would be a space.
Worked example
What the editor produces for individual pieces of Markdown:
| You type | HTML in the output |
|---|---|
Version **2.5** ships | <p>Version <strong>2.5</strong> ships</p> |
one + Enter + two | <p>one<br>, then two</p> on the next line |
- [x] Done | <li class="md-task"><input type="checkbox" disabled checked> Done</li> |
| :--- | ---: | | style="text-align:left" and style="text-align:right" on the cells |
See https://example.com. | A link to https://example.com; the final period stays outside it |
<b>raw</b> | <b>raw</b> (shown as text) |
[x](javascript:alert(1)) | Left as plain text, not a link |
Links other than #anchors open in a new tab with rel="noopener noreferrer".
Limitations
- Raw HTML is never rendered. Tags you type are shown as text, which keeps the preview safe from injected scripts.
- Not supported: underlined headings (
===/---under a line), indented code blocks (use fences instead), reference-style links like[text][1], footnotes, heading IDs, math and emoji shortcodes. - Link addresses must be http, https, mailto, relative paths or
#anchors. Images also accept embedded PNG, GIF, JPEG or WebP data. Anything else is shown as text. - Nothing is saved automatically. Reloading or closing the tab loses your text, so download the .md file first. For longer pieces that should be saved on your device, with version history and Markdown export, use the WritePadPro editor.
- GitHub, static site generators and other renderers differ in edge cases, so check the final page on the platform you publish to.
Practical tips
- Shortcuts: Ctrl+B, Ctrl+I and Ctrl+K (Cmd on a Mac) wrap the selection in bold, italic or link syntax. Tab inserts two spaces; press Esc, then Tab, to move focus out of the editor.
- Indent a nested list item so it lines up with the text of its parent: two spaces under
- item, three under1. item. That works here and in other Markdown renderers. - If your target platform follows standard Markdown, separate paragraphs with a blank line rather than relying on single line breaks.
- The
</> HTMLtoggle shows the generated code. Download .html gives a standalone page with basic styles. To get formatting you can paste into Google Docs or Word, use Markdown to Rich Text. To convert existing Markdown without the editor, use the Markdown to HTML Converter.
Parsing and preview run in this page's JavaScript, so your Markdown is not uploaded or stored anywhere.
Frequently Asked Questions
What Markdown syntax does this editor support?
WritePadPro's Markdown Editor supports the Markdown syntax writers use most, in the GitHub style: headings (# to ######), bold (**text**), italic (*text*), strikethrough (~~text~~), links, images, automatic links for web addresses, inline code, fenced code blocks with language hints, blockquotes (including nested quotes), ordered and unordered lists (including nested lists), task lists (- [x]), tables with alignment, and horizontal rules. It is not a complete CommonMark implementation: a line break inside a paragraph is kept as a line break, and raw HTML tags are shown as text rather than rendered, for safety. All parsing happens in your browser with no external dependencies.
How does the live preview work?
As you type in the left panel, the right panel instantly renders your Markdown as formatted HTML. The preview updates in real-time with a 150ms debounce for smooth performance. You can toggle between the visual preview and raw HTML code view using the HTML button.
Can I export my Markdown document?
Yes. Four export options: Copy Markdown (copies raw Markdown to clipboard), Copy HTML (copies the rendered HTML), Download .md (saves as a Markdown file), and Download .html (saves as a complete HTML document with styling). All exports work instantly with no server involvement.
Does this editor support keyboard shortcuts?
Yes. Ctrl+B inserts bold markers, Ctrl+I inserts italic markers, and Ctrl+K inserts a link template (use Cmd instead of Ctrl on a Mac). Tab inserts two spaces for indentation; press Esc and then Tab to move focus out of the editor. The toolbar also provides click-to-insert buttons for all Markdown syntax elements.
Is my content private?
Absolutely. All Markdown parsing and HTML rendering happens entirely in your browser using client-side JavaScript. Your text is never sent to any server, stored in any database, or processed by any external service. This is privacy by architecture.
Can I create tables in Markdown?
Yes. Click the Table button in the toolbar to insert a table template, or type it manually using pipe characters (|). The editor supports column alignment: left (default), center (:---:), and right (---:). Tables render with proper styling in the preview.