Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Free tool · Developer tools

Markdown editor online

Type or paste Markdown and watch it render as you write. Tables, code blocks and lists work, your draft stays in this browser, and you can copy the HTML or download a .md or .html file. Nothing is sent anywhere.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

Show
Options

Your text is kept as a draft in this browser only.

Live preview

51 wordsTitle: Release notes

Release notes

Version 2.4 fixes two bugs and adds one setting. Read the setup notes before you update.

What changed
  • Faster export
  • Old sync option removed
  • New --quiet flag
Setting Default Range
Timeout 30 5 to 120
Retries 3 0 to 10
app export --quiet
Setup

Back up your files first.

  • 1 table
  • 1 code block
  • 3 list items
Characters
377
Lines
23
Headings
3
Links
1

How to use the Markdown Editor

  1. Type in the Markdown box, or use Or open a .md file to load one from your device.
  2. Watch the Live preview. Switch Show to HTML code to see the markup it produces.
  3. Use Options to turn web addresses into links or to treat every line break as a new line.
  4. Press Copy HTML, Download .html or Download .md. Clear and delete the draft wipes the box and the saved copy.

How do I use this Markdown editor?

Write in the box and the preview redraws a moment after each keystroke, so you see headings, lists and tables take shape while you type. The counts under the preview tell you how long the document is, and the first top-level heading becomes its title, which also names the files you download.

The release notes already in the box are a working example: 377 characters on 23 lines that render to 51 words of text with 3 headings, 3 list items, 1 table and 1 code block. Change any line and the numbers follow.

The preview draws your headings in a heavier, larger type rather than as real page headings, so a long document does not clutter this page's own outline; the exported HTML keeps true <h1> to <h6> tags. Links in the preview open in a new tab, so a stray click never throws away what you are writing. Long documents stay responsive because the preview waits a quarter of a second after you stop typing before it redraws a big file.

Your text is saved as a draft in this browser after each pause in typing, so closing the tab does not lose it. The draft lives only in this browser's own storage on this device; another browser or a private window starts empty. When you are done, download the .md file to keep a copy you control, and use the clear button to remove the draft from the browser.

How do I write a table or a code block in Markdown?

A table needs a header row, a delimiter row of dashes under it, and then one line per row, with pipes between the cells. The GitHub Flavored Markdown spec defines tables this way and adds that a pipe inside a cell must be escaped with a backslash. A code block is fenced by three backticks on a line of their own; a word after the opening fence, such as js, is passed on as a language class for a syntax highlighter.

The cheat sheet below shows what this editor turns each piece of Markdown into. Every HTML cell was produced by the editor's own engine when this page was built, so it is exactly what you will get.

Markdown you type and the HTML this editor produces
WhatMarkdownHTML out
Heading## Prices<h2>Prices</h2>
Bold and italic**bold** and *italic*<p><strong>bold</strong> and <em>italic</em></p>
Strikethrough~~old price~~<p><s>old price</s></p>
Link[docs](https://example.com)<p><a href="https://example.com">docs</a></p>
Inline coderun `npm test`<p>run <code>npm test</code></p>
Bullet list- milk
- eggs
<ul> <li>milk</li> <li>eggs</li> </ul>
Numbered list1. wash
2. dry
<ol> <li>wash</li> <li>dry</li> </ol>
Quote> Check twice.<blockquote> <p>Check twice.</p> </blockquote>
Hard line breakline one\
line two
<p>line one<br> line two</p>
Table| Item | Qty |
|---|---|
| Tea | 2 |
<table> <thead> <tr> <th>Item</th> <th>Qty</th> </tr> </thead> <tbody> <tr> <td>Tea</td> <td>2</td> </tr> </tbody> </table>
Code block```js
let x = 1;
```
<pre><code class="language-js">let x = 1; </code></pre>
Task list (not supported)- [ ] buy milk<ul> <li>[ ] buy milk</li> </ul>
Raw HTML (shown as text)<b>hi</b><p>&lt;b&gt;hi&lt;/b&gt;</p>

A single line break inside a paragraph is not a new line in Markdown: one and two on separate lines become <p>one two</p>, one paragraph. End the line with a backslash or two spaces to force a break, or tick Every line break is a new line, which gives <p>one<br> two</p> for the same text.

How do I convert Markdown to HTML?

Write or paste the Markdown, then press Copy HTML to put the body markup on the clipboard, ready for a CMS field, an email template or a static page. Download .html wraps the same markup in a complete page with a UTF-8 declaration, a mobile viewport line and a title taken from your first heading, so it opens cleanly in any browser. Switch Show to HTML code to read the markup before you take it.

The output is plain, semantic HTML: headings, paragraphs, lists, tables, <pre> and <code>, with no classes or styles added except a language class on fenced code. Your own site's stylesheet decides how it looks. Images are written as normal <img> tags in the HTML; the preview shows a labelled placeholder instead of loading them, because fetching a picture would send a request to whoever hosts it.

Raw HTML typed into the Markdown is shown as text rather than passed through, so a pasted <script> or an onclick attribute can never run. The engine is markdown-it, an open-source library under the MIT licence, used in its safe default mode; its documentation also lists the link types it refuses, such as javascript:, vbscript:, file: and most data: links.

Does it support GitHub Flavored Markdown?

Mostly. The GitHub Flavored Markdown spec, version 0.29-gfm, builds on CommonMark and adds five extensions: tables, task list items, strikethrough, extended autolinks and disallowed raw HTML. This editor follows CommonMark 0.31.2 for the core and handles tables and strikethrough the GFM way. Bare web addresses become links while Turn web addresses into links is ticked.

Two differences are worth knowing. Task list items such as - [ ] buy milk stay as ordinary list items with the brackets shown as text, so use plain bullets or numbers for to-do lists here. And where GFM filters a short list of dangerous tags, this editor turns all raw HTML into text, which is stricter but means an embedded <details> or <kbd> block will not render. When you paste a file written for another platform, scan the preview for those two cases first.

Everything else people use daily works the same: headings with #, emphasis with asterisks or underscores, nested lists, block quotes, links, images and fenced code. For a table with many columns, the Markdown table generator builds the pipes and dashes for you, and the HTML beautifier tidies the exported markup if you want it indented.

Use it with

Questions

What is a good free online Markdown editor?

One that shows a live preview, handles tables and code blocks, keeps your text private and exports clean files. This one runs in the page with no account, saves a draft in your browser, and downloads .md or .html.

Can I open a Markdown file in a browser?

Yes. Choose the .md file with Or open a .md file and it is read on your device and rendered at once. Browsers on their own usually show a .md file as plain text.

How do I make a line break in Markdown?

End the line with a backslash or two spaces, or leave a blank line to start a new paragraph. You can also tick Every line break is a new line here.

Are task lists with [ ] supported?

No. They show as normal list items with the brackets as text. Tables, strikethrough and fenced code blocks are supported.

Is my text saved or uploaded?

It is saved only as a draft in this browser's storage on your device, and never uploaded. Use Clear and delete the draft to remove it, or a private window to keep nothing.

Can I use HTML inside the Markdown?

Not here: raw HTML is shown as text so that nothing pasted can run. Use Markdown syntax instead, or add the HTML after export.

The tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations are checked against the tool's own output.