Free online tool

Free Online Markdown Previewer

Write Markdown on one side and see the formatted result on the other, with a toolbar, tables, task lists and clean HTML export. Raw HTML is never run.

Markdown PreviewerFree online tool. Runs in your browser.
Live

Markdown is a way of writing formatted text using ordinary characters: a hash sign for a heading, asterisks for emphasis, dashes for a list. It is used for notes, README files, forum posts and documentation because it stays readable even before it is converted. This previewer shows the formatted result as you type, helps you insert the syntax with a toolbar, and exports clean HTML. It is built to be safe, so text you paste from anywhere cannot run scripts.

The syntax in one table

You type You get
# Title and ## Section Headings of different sizes
**bold** and *italic* Bold and italic text
~~old~~ Struck-through text
– item or 1. item Bulleted or numbered lists
– [ ] task and – [x] done A checklist
[text](https://example.com) A link
> quote A quotation block
`code` and fenced blocks Inline and block code
| a | b | with a dashed row A table

How to use it

  1. Type or paste Markdown in the left box, or load the sample document.
  2. Use the toolbar to wrap selected text in bold, italic or code, turn a line into a heading or a list, and insert a table.
  3. Watch the preview update beside or below the editor.
  4. Check the counts of words, characters and reading time under the editor.
  5. Copy the HTML, view it, or download either an HTML page or the Markdown file.

Safety by design

Many previewers turn Markdown into HTML and drop it on the page, which is risky because Markdown can contain raw HTML, including scripts and event handlers. This tool never does that. It builds the preview from safe elements only, so anything that looks like a tag in your text is displayed as text. Links are limited to http, https, mailto and anchors within the page, so a link written with a javascript address is shown as plain text instead of a clickable link. Pictures from the web are not loaded, which protects your privacy because a remote image can reveal when and where you opened a document. Small pictures embedded as data are allowed. We tested the renderer with 24 attack strings, including script tags, disguised link schemes and event attributes, and none produced anything outside the allowed set.

A worked example

Typing a line that starts with two hash signs and a space gives a second-level heading. Three lines starting with a dash and a space become a bulleted list, and indenting two of them under another dash makes a sub-list. A table needs a header row, a row of dashes that sets the columns, and then the data rows, with colons in the dashed row to align a column left, centre or right. Selecting a word and pressing the B button wraps it in double asterisks for you.

Markdown is not one language

The original Markdown was small, and several versions have grown since. Tables, task lists and strike-through are extensions found in GitHub-style Markdown and many other tools, while some programs do not support them. Details such as line breaks, nested lists and how emphasis works next to punctuation also vary. This previewer covers the common core, so use it for drafting, and check the final result on the platform where you will publish.

Writing tips

  • Leave a blank line between paragraphs, lists and headings.
  • Use one top-level heading and organise the rest below it.
  • Write link text that describes the destination, not just click here.
  • Add alternative text to images so people using screen readers know what they show.
  • Keep lines short enough to read in plain text.

Limits

The previewer accepts up to 300,000 characters. It does not support raw HTML, footnotes, math notation, diagrams or syntax colouring for code. Images from the web are replaced by a link labelled as an image. Your text is saved in your browser so it is there when you return, and you can clear it with the button. If you need to publish, export the HTML and review it in your own page.

To tidy structured data, the JSON formatter helps, and the HTML table generator turns spreadsheet cells into table code. The text comparison tool shows what changed between two drafts. The guide to writing clear sentences improves what you type, and the technical and business writing course shows how to structure documents.

A simple writing workflow

Draft in plain Markdown, using headings to build the outline first. Fill in each section, then read the preview from top to bottom as a reader would. Fix long paragraphs, add lists where steps or options appear, and check that every link goes where its text promises. When you are happy, export the HTML or copy the Markdown into the place where it will be published, and check it there once more.

Key takeaways

  • Markdown uses simple characters for headings, emphasis, lists, links, code and tables.
  • The preview is built from safe elements, so raw HTML and scripts never run.
  • Only http, https, mailto and in-page links are clickable, and web pictures are not loaded.
  • Flavours differ, so check the output where you publish.
  • Export clean HTML or the original Markdown whenever you like.

Questions

What is Markdown used for?

Markdown is used to write formatted text with plain characters. People use it for notes, documentation, README files, comments and blog posts. It stays readable as plain text and can be turned into HTML, which makes it popular with writers and developers who want speed without a heavy editor.

Is it safe to paste Markdown from the internet?

Yes, in this tool. Raw HTML you paste is shown as text and never executed, links with unsafe schemes such as javascript are not made clickable, and remote images are not loaded. Even so, treat unknown links with care when you publish them elsewhere, because other platforms may handle them differently.

Why are my images not showing?

Pictures from the web are not loaded here, to protect your privacy and avoid tracking, so you see a link labelled as an image instead. Small pictures embedded as data addresses do display. On your own site, the images will load as normal once you publish the HTML.

Can I make a table in Markdown?

Yes. Write a header row with pipes between the column names, then a row of dashes under it, then your data rows. Add a colon at the left, right or both ends of the dashes to align a column. The toolbar has a button that inserts a small table to start from.

Does Markdown look the same everywhere?

Not exactly. The core features are shared, but tables, task lists, strike-through and details such as line breaks and nested lists can differ between tools. Use this previewer to draft, then confirm the final appearance on the website or program where your text will be shown.