---
title: "Markdown Preview Online: Live Preview You Can Edit | Prettify"
description: Preview Markdown online and edit it in place. Open a .md file to
  see headings, tables, and code rendered, with frontmatter as an editable card.
  Free and private.
url: https://prettify.tools/markdown-preview
---

# Markdown Preview

See your Markdown rendered, and edit it right in the Preview like a document. Headings, lists, tables, links, and code blocks render as readers will see them, and the frontmatter shows as a card you can edit field by field. Nothing leaves your browser.

## What the Markdown preview does

Most Markdown previews are read-only: you edit the source on one side and watch the result on the other. In Prettify the Preview is the editor. Click into a paragraph to fix a typo, add a list item, or change a heading, and the Markdown source follows.

The box on this page checks your document and shows it formatted as text. The rendered view is one click away: select Open in Preview, and the editor opens with your document rendered.

## Key features

The Preview is free and needs no sign-up. It handles the parts of Markdown that docs, notes, and READMEs use every day, and it keeps the source one click away.

- Headings, lists, tables, links, and code blocks render as a reader will see them.
- Your edits go back into the document as Markdown, formatted by Prettier.
- YAML frontmatter shows as a Properties card above the content.
- The Raw view shows the source with syntax highlighting, one click away.
- A document that the Preview cannot write back exactly opens read-only, with an Edit in Raw button.
- Any file size opens, and files of 200 KB or more load as you scroll.

## How to use the Markdown preview

Paste a document in the box to check it first, or go straight to the editor if you already have a file. The steps below start in the box on this page.

1. Paste your Markdown into the box, or select Try an example.
2. Read the line above the result. It gives the line count and the frontmatter keys.
3. Select Open in Preview. The editor opens with the document rendered.
4. Click into the rendered text to edit it, or change a field in the Properties card.
5. Switch to Raw in the view switcher to edit the source as text.

## Worked example: release notes with frontmatter

This document has three frontmatter keys, two headings, a list, and a Mermaid code block. Paste it into the box, then open it in the Preview to see how each part renders.

````
---
title: Release notes
tags: [docs, draft]
draft: true
---

# Release 2.4

## Added

- Dark mode

```mermaid
flowchart LR
  A --> B
```
````

## What you see in the Preview

In the box, the summary reads "Markdown document, 16 lines. Frontmatter keys: title, tags, draft." The Preview shows a Properties card with one row per key. The title is a text field, and draft is a checkbox. The tags list shows as YAML text, and Edit YAML changes it.

The heading and the list render as formatted text. The mermaid block shows as a diagram with Pro. Without the diagram, it shows as a code block.

## Frontmatter and large files

YAML frontmatter at the top of a file shows as a Properties card above the content. Edit each field in place, switch true and false values with a checkbox, or select Edit YAML to edit the block as text. If the document has no frontmatter, Add properties starts one.

A YAML error in the frontmatter shows in the Problems panel with its line, and that check is free. Files up to 200 KB are editable. A larger file shows a read-only Preview that loads as you scroll, so a long changelog or an exported wiki page still opens quickly.

## Common use cases

A Preview you can type in suits quick fixes as well as long writing sessions. These are the jobs that people bring to a Markdown preview most often, and each one needs no setup.

- Check how a README renders before you push it.
- Fix a typo in a docs page without finding the source file.
- Read a long exported wiki page or changelog that other viewers open slowly.
- Review the tables in a spec to see that the columns line up.
- Edit the frontmatter fields of a post, such as its title and its draft flag.

## Pro: Side by side, Outline, diagrams, and export

Pro shows the Raw view and the Preview next to each other, both editable and in sync. The Outline lists the headings beside the Preview, and a click jumps to one. Export saves the document as HTML, or as PDF on the web.

## Frequently asked questions

### Can I edit Markdown in the preview?

Yes. The Preview is a visual editor, and your changes go back into the Markdown source. When a document has syntax the Preview cannot write back exactly, it opens read-only and says so.

### Does the preview show Mermaid diagrams?

Yes, with Pro: a mermaid code block shows as a diagram in the Preview. Without it, the Preview shows the block as code.

### Why does the box on this page not show rendered Markdown?

The box shows the formatted Markdown text, so you can copy it at once. The rendered Preview lives in the editor, which Open in Preview opens with your document.

### Can I export the preview as HTML or PDF?

Export is a Pro feature. HTML export works on the web and in the macOS app. PDF export works on the web only.

### Can I see the source and the Preview at the same time?

Yes, with Pro. The Both view keeps the source pane and the Preview in sync as you type. It is hidden on a phone, because two panes do not fit.

### Is my file uploaded to a server?

No. The Preview renders in your browser, and the file stays on your device. Only a share link that you create sends data.

## Related tools

- [Markdown Formatter](https://prettify.tools/markdown-formatter)
- [Online Markdown Editor](https://prettify.tools/markdown-editor)
- [MDX Preview](https://prettify.tools/mdx-preview)
- [MDX Formatter](https://prettify.tools/mdx-formatter)
- [Mermaid Diagram Editor with Live Preview](https://prettify.tools/mermaid-editor)
- [HTML Viewer Online](https://prettify.tools/html-viewer)

## Structured data

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "name": "Prettify",
  "url": "https://prettify.tools",
  "description": "Multi-format data viewer, editor, and query engine for JSON, YAML, CSV, XML, Mermaid, Markdown, MDX, HTML, and SVG",
  "applicationCategory": "DeveloperApplication",
  "operatingSystem": "Web, macOS, Windows, Linux",
  "offers": [
    {
      "@type": "Offer",
      "price": "0",
      "priceCurrency": "USD",
      "description": "Free tier with core features"
    },
    {
      "@type": "Offer",
      "price": "19.99",
      "priceCurrency": "USD",
      "description": "Pro: lifetime access to all features"
    }
  ],
  "publisher": {
    "@id": "https://prettify.tools/#organization"
  }
}
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://prettify.tools/#organization",
  "name": "Prettify",
  "legalName": "Off Leash Labs",
  "url": "https://prettify.tools/",
  "logo": {
    "@type": "ImageObject",
    "url": "https://prettify.tools/icon-512.png",
    "width": 512,
    "height": 512
  },
  "contactPoint": {
    "@type": "ContactPoint",
    "contactType": "customer support",
    "email": "offleashlabs@gmail.com",
    "availableLanguage": "English"
  }
}
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "WebPage",
      "@id": "https://prettify.tools/markdown-preview",
      "url": "https://prettify.tools/markdown-preview",
      "name": "Markdown Preview Online: Live Preview You Can Edit | Prettify",
      "description": "Preview Markdown online and edit it in place. Open a .md file to see headings, tables, and code rendered, with frontmatter as an editable card. Free and private.",
      "isPartOf": {
        "@type": "WebSite",
        "name": "Prettify",
        "url": "https://prettify.tools"
      }
    },
    {
      "@type": "FAQPage",
      "mainEntity": [
        {
          "@type": "Question",
          "name": "Can I edit Markdown in the preview?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Yes. The Preview is a visual editor, and your changes go back into the Markdown source. When a document has syntax the Preview cannot write back exactly, it opens read-only and says so."
          }
        },
        {
          "@type": "Question",
          "name": "Does the preview show Mermaid diagrams?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Yes, with Pro: a mermaid code block shows as a diagram in the Preview. Without it, the Preview shows the block as code."
          }
        },
        {
          "@type": "Question",
          "name": "Why does the box on this page not show rendered Markdown?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "The box shows the formatted Markdown text, so you can copy it at once. The rendered Preview lives in the editor, which Open in Preview opens with your document."
          }
        },
        {
          "@type": "Question",
          "name": "Can I export the preview as HTML or PDF?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Export is a Pro feature. HTML export works on the web and in the macOS app. PDF export works on the web only."
          }
        },
        {
          "@type": "Question",
          "name": "Can I see the source and the Preview at the same time?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Yes, with Pro. The Both view keeps the source pane and the Preview in sync as you type. It is hidden on a phone, because two panes do not fit."
          }
        },
        {
          "@type": "Question",
          "name": "Is my file uploaded to a server?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "No. The Preview renders in your browser, and the file stays on your device. Only a share link that you create sends data."
          }
        }
      ]
    }
  ]
}
```
