Skip to content

Menu

Markdown Preview

Live markdown editor with instant preview, including GitHub-style tables and task lists

Runs entirely in your browserText & DiffFree, no sign-up
Loading tool

01What is Markdown Preview?

Markdown Preview shows you what your Markdown will look like while you are still typing it. The editor sits on the left and the rendered page on the right, or you can switch to Preview and read the result full width. It is handy for a README, a changelog or a pull request description you want to check before anyone else sees it. Under the hood it is a small line-by-line parser written for this page, not a full CommonMark engine. Each line is tested in turn: a fenced code block, a heading from # to ######, a horizontal rule, a blockquote, a pipe table, a bullet or numbered list, or a plain paragraph. Inline, it handles bold, italic, bold italic, inline code, links, images and the GitHub Flavored Markdown (GFM) extras: ~~strikethrough~~, task lists and tables. Task list items such as - [x] done become disabled checkboxes, the same way GitHub draws them. Tables follow the GFM spec for alignment. A delimiter cell of :-: centres the column, :-- aligns left and --: aligns right, and the preview applies that as a text-align style on every cell. Safety was a design goal. Any raw HTML you type is escaped, so a pasted script tag shows up as plain text and never runs. Link and image URLs are checked too. Anything that is not http, https, mailto or a relative path is swapped for #. Here is a quick example. Typing # Title on one line and a script tag on the next gives you an h1 heading and a paragraph that literally reads the script tag as text. The toolbar keeps a running word and character count, and Copy MD or Copy HTML puts either version on your clipboard. Link URLs keep one level of balanced parentheses, so a Wikipedia link works. There are gaps you should know about. Nested lists are flattened to one level. Reference-style links, footnotes, setext headings and image titles are not understood. A numbered list starts at its first item's number, so a list that begins at 3. shows 3, 4, 5. Code blocks get a language label but no colour highlighting. For those cases, check the file on GitHub before you publish. Your text never leaves the tab, because the parsing happens in the page script.

Open source maintainers and developers who want to proof a README, changelog or pull request description before it goes live. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Markdown Preview

  1. Type or paste Markdown into the editor, or load the README template, API docs or Changelog entry example.
  2. Watch the rendered output update next to the editor as you type.
  3. Click Split for editor and preview side by side, or Preview to read the rendered page on its own.
  4. Check the word and character counts in the toolbar if you have a length limit.
  5. Click Copy MD to copy your source or Copy HTML to copy the generated markup.

03Worked examples

Input: **bold** and *italic* with `code`
Result: <p class="md-p"><strong>bold</strong> and <em>italic</em> with <code class="md-code">code</code></p>
Copy HTML keeps the preview's class names like md-p and md-code.
Input: - [ ] todo - [x] done
Result: <ul class="md-ul"> <li class="md-task"><input type="checkbox" disabled /> todo</li> <li class="md-task"><input type="checkbox" disabled checked /> done</li> </ul>
GFM task list items become read-only checkboxes.
Input: | a | b | |---|:-:| | 1 | 2 |
Result: <table class="md-table"><thead><tr><th>a</th><th style="text-align:center">b</th></tr></thead><tbody><tr><td>1</td><td style="text-align:center">2</td></tr></tbody></table>
The :-: delimiter centres column b. The outer md-table-wrap div is left out here.
Input: # Title <script>alert(1)</script>
Result: <h1 class="md-h1">Title</h1> <p class="md-p">&lt;script&gt;alert(1)&lt;/script&gt;</p>
Raw HTML is escaped and shown as text, so it can't run in the preview.
Input: ```js let a = 1; ```
Result: <div class="md-code-block" data-lang="js"><span class="md-code-lang">js</span><pre><code>let a = 1;</code></pre></div>
The fence language becomes a label above the block. There is no colour highlighting.
Input: - a - nested
Result: <ul class="md-ul"> <li>a</li> <li>nested</li> </ul>
Nested lists are flattened to a single level.

04Common use cases

  • Checking that a README's tables line up and its headings nest properly before you push
  • Drafting a changelog entry with Added, Fixed and Changed sections and seeing the result straight away
  • Writing a pull request description with a task list and confirming the checkboxes render
  • Pasting Markdown from an unknown source to read it without any embedded HTML running
  • Grabbing the HTML for a short snippet to drop into an email template or CMS field
  • Keeping an eye on the word count while writing a short doc or a release announcement

05Tips

  • Lines that follow each other are joined into one paragraph. Leave a blank line between paragraphs, just as GitHub expects.
  • Indented sub-items show as plain items at the same level here, so judge nested lists on GitHub itself.
  • Copy HTML includes the preview's own class names, such as md-p and md-table. Strip them or add matching CSS if you paste the markup elsewhere.
  • A table needs a delimiter row right under the header. Put colons on one or both sides of the dashes to set alignment.

06Related concepts

GitHub Flavored Markdown, CommonMark, Markdown tables, Task lists.

Frequently Asked Questions

What is Markdown Preview?

Markdown Preview is a free, browser-based developer tool on AIDToolStack. Live markdown editor with instant preview, including GitHub-style tables and task lists It requires no installation or sign-up and works entirely in your browser.

Is Markdown Preview free to use?

Yes. No sign-up, no fees and no usage cap.

Does Markdown Preview store my data?

No. It runs in your browser; nothing is uploaded.

Cheat sheet

Related Tools

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe