Skip to content

Markdown Editor & Live Preview

Type or paste Markdown on one side and read the rendered result on the other, with instant document statistics.

Processed locally in your browser

Options
0 chars · 0 lines
The result will appear here.

What is Markdown Editor & Live Preview?

Markdown is a plain-text format for headings, lists, links, tables and code that renders to clean HTML. It is the writing format of README files, wikis, documentation sites and many note-taking apps.

This editor renders GitHub-flavoured Markdown (tables, task lists, strikethrough, fenced code) and passes the result through a strict HTML sanitizer before showing it, so pasted content can never run scripts. Next to the preview you get the number of words, characters, headings, links, images, code blocks and tasks.

How does it work?

  1. Write or paste Markdown into the input box, or click the sample to see the supported syntax.
  2. Read the live preview; toggle line breaks, safe inline HTML and whether links open in a new tab.
  3. Check the statistics (words, characters, reading time, headings, links) to size your document.
  4. Copy your Markdown, or move to Markdown to HTML when you need the HTML source.

Common use cases

  • Previewing a README or pull-request description before you commit it.
  • Drafting documentation or a blog post and checking the word count and reading time.
  • Verifying that a table or task list renders as expected on GitHub-style platforms.
  • Learning Markdown syntax with a safe, instant preview.

Examples

Try this input in the tool above:

# Release notes

A short **Markdown** demo with *emphasis*, ~~strikethrough~~ and `inline code`.

## Checklist

- [x] Write the draft
- [x] Add a table and a code block
- [ ] Review the [style guide](https://example.com/style-guide)
- [ ] Publish

## Steps

1. Install the dependencies
2. Run the build
3. Check the output

## Comparison

| Format   | Readable | Portable |
|----------|:--------:|---------:|
| Markdown | yes      | high     |
| HTML     | partly   | high     |
| PDF      | yes      | medium   |

```js
const greet = (name) => `Hello, ${name}!`;
console.log(greet("world"));
```

> Tip: a blank line starts a new paragraph.

---

See the [documentation](https://example.com/docs) fo
…

Privacy

Markdown Editor & Live Preview runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.

Limitations

Rendering follows GitHub-flavoured Markdown, but other platforms differ slightly. Scripts, event handlers, styles and javascript: links are always removed from the preview, and embedded images are loaded from their own address by your browser.

Frequently asked questions

Is my Markdown uploaded anywhere?

No. Parsing, sanitizing and rendering all happen in your browser tab; nothing is sent to a server.

Why did my raw HTML disappear from the preview?

The preview only keeps a safe allow-list of tags. Elements such as <script>, <iframe> or <style> and attributes such as onclick or style are stripped on purpose.

Are GitHub task lists and tables supported?

Yes. Lines like "- [x] done" become read-only checkboxes, and pipe tables with :---: alignment markers are rendered as HTML tables.

More tools in Markdown & Diagrams →