Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Document & Text
  3. Markdown Editor & Preview
Add to favorites

Markdown Editor & Preview

Write Markdown with a live side-by-side preview, GitHub tables, task lists and strikethrough, then copy the HTML or download .md and .html files.

Text processed locallyMore document & textJump to full guide
Related readingMarkdown Writing Guide: Format Text Like a Developer13 min

Initializing in your browser…

You might also like

HTML ↔ Markdown Converter

Convert HTML to clean Markdown or Markdown to HTML as you type, with GitHub tables, code languages kept, style options and a safe preview.

Markdown Table Generator

Build Markdown tables in an editable grid or paste them from a spreadsheet or CSV, with column alignment, escaped pipes and neatly padded output.

Image Format Converter

Convert images between PNG, JPEG, WebP, GIF and BMP (and AVIF where your browser supports it), one at a time or in a batch, and compare how big each format makes your picture.

Markdown Editor & Preview: a worked example

You are writing release notes for a pull request and want to check the checklist and links before posting, including a link pasted from somewhere you do not trust.

Markdown

## Release notes

- [x] Fix *login* bug
- [ ] Update docs

See [the changelog](https://example.com/changelog) or [this](javascript:alert(1)).
What Markdown Editor & Preview produces

Rendered HTML

<h2 id="release-notes">Release notes</h2>
<ul>
<li class="task-list-item"><input type="checkbox" checked disabled /> Fix <em>login</em> bug</li>
<li class="task-list-item"><input type="checkbox" disabled /> Update docs</li>
</ul>
<p>See <a href="https://example.com/changelog" target="_blank" rel="noopener noreferrer">the changelog</a>
or <a title="Not linked: ...">this</a>.</p>

The task list items become read-only checkboxes, one ticked, exactly as GitHub shows them. The heading gets an id so you can link to #release-notes. The changelog link opens in a new tab with rel="noopener noreferrer". The second link points at a javascript: address, which would run code when clicked, so it is rendered without an href and a warning above the preview names the address and the reason.

What is Markdown Editor & Preview?

Write or paste Markdown and see it rendered side by side as you type, with GitHub-style tables, task lists and strikethrough. Copy the HTML, or download the document as a .md file or a ready-to-open .html page.

How it works

Markdown is how README files, documentation, forum posts and notes apps are written, but it is easy to get a detail wrong: a list that does not nest, emphasis that swallows half a sentence, a table missing its divider row. This editor shows the rendered result next to the source so you can see each change immediately, and it renders the same way GitHub and most modern documentation sites do.

A standards-based parser. The preview follows the CommonMark 0.31.2 specification, the shared definition of Markdown that GitHub, GitLab, Discourse and many static site generators build on. That matters for the tricky cases: nested emphasis such as *foo bar baz*, underscores inside words like snake_case_names, reference-style links defined at the bottom of a document, and lists inside lists. On top of CommonMark it supports the GitHub extensions people expect: pipe tables with column alignment, task lists with [ ] and [x], and ~~strikethrough~~. Each extension can be switched off under Parser settings if your target platform does not support it.

Writing tools. The formatting bar wraps the selected text in bold, italic, strikethrough or code markers, turns selected lines into headings, quotes, bullets or tasks, and inserts links, images and a table skeleton. The layout switches between writing only, split view and preview only, and on a phone the editor and preview stack. Below the editor you get a word count for the prose (code blocks are left out), the reading time, and counts of headings, links, images, code blocks, tables and completed tasks, plus an outline of the document's headings.

Safe by design. Raw HTML inside the Markdown is shown as text rather than rendered, and links whose address could run code (javascript:, vbscript: or HTML data: URLs) are not made clickable; the tool lists each one so you know why. That makes it safe to paste Markdown from anywhere and inspect it. If you need the generated HTML, switch the preview to HTML to see the exact markup.

Export. Copy the Markdown or the HTML with one click, download the source as a .md file, or download a standalone .html page with clean, readable styling that opens in any browser and prints well. Headings get id attributes so #anchor links work, external links can open in a new tab, and images can be set to load lazily. Everything runs locally in your browser; nothing you type is uploaded.

How to use

  1. 1Type Markdown in the editor, paste it, open a .md file, or press Try an example.
  2. 2Watch the preview update as you type. Use Write, Split or Preview to change the layout.
  3. 3Select text and use the formatting bar for bold, italic, code, headings, lists, quotes, links, images and tables.
  4. 4Switch the preview to HTML to see the generated markup, and open Parser settings to turn GitHub extensions on or off.
  5. 5Copy the Markdown or HTML, or download a .md file or a standalone .html page.

Key features

  • Live side-by-side preview that follows the CommonMark 0.31.2 specification
  • GitHub tables with alignment, task lists and strikethrough, each switchable
  • Formatting bar that works on the selection and on whole lines
  • Write, split and preview layouts that stack on small screens
  • HTML view with one-click copy
  • Download as .md or as a styled, standalone .html page
  • Prose word count, reading time and document statistics
  • Heading outline with anchor ids
  • Raw HTML shown as text and script links blocked, so pasted content is safe
  • Runs entirely in your browser

When to reach for this

  • Writing a README

    Draft a project README with code blocks, tables and task lists, and check that it will look right on GitHub before you commit.

  • Turning notes into a web page

    Write in Markdown and download a standalone HTML page to email, host or print.

  • Checking someone else's Markdown

    Paste Markdown from an issue, a pull request or a CMS and see how it renders, with any unsafe links pointed out.

  • Learning Markdown

    Load the example, change it, and see each piece of syntax take effect, with a cheat sheet one click away.

Tips & best practices

  • Indent a nested list item by at least as many spaces as the text of its parent item starts at, usually two or three, or it will not nest.
  • End a line with two spaces or a backslash to force a line break inside a paragraph; a single newline is treated as a space.
  • Use reference-style links ([text][ref] with [ref]: url at the bottom) to keep long URLs out of your paragraphs.
  • Add a language after the opening fence, such as ```python, so platforms that colour code know what it is.

Examples

  • Release notes with tasks

    A "## Release notes" heading followed by "- [x] Fix *login* bug" and "- [ ] Update docs" renders as a heading with id release-notes and a list with one ticked and one empty checkbox, with login in italics.

  • An aligned table

    A delimiter row of |:---|---:|:---:| makes the first column left-aligned, the second right-aligned and the third centred, which is the usual way to line up prices in a README.

  • A suspicious link

    A link written as [this](javascript:alert(1)) renders as plain text with a warning above the preview, while an ordinary https link becomes clickable.

Frequently asked questions

Which Markdown flavour does the preview use?

CommonMark 0.31.2 with the GitHub Flavored Markdown extensions for tables, task lists and strikethrough. That is the same basis GitHub, GitLab and many documentation tools use, so what you see here is a close match for those sites. The one deliberate difference is that raw HTML is not rendered.

Why is my HTML shown as text?

Rendering raw HTML from pasted content would let it run scripts in your browser, so the preview shows it as text instead. Under Parser settings you can choose to replace it with a placeholder. Standard Markdown syntax covers almost everything HTML is commonly used for in a README.

Why does my table not render?

A Markdown table needs a header row, then a divider row made of dashes (and optional colons for alignment), then the body rows, each separated by pipes. Check that the divider row has as many columns as the header and that Tables is switched on under Parser settings.

Can I export to HTML?

Yes. Copy HTML puts the rendered markup on your clipboard for pasting into a CMS or template. The .html button downloads a complete page with simple styling for headings, code, tables and quotes that opens in any browser.

How is the word count calculated?

Only prose is counted: text in paragraphs, headings, lists, quotes and tables. Code blocks, link addresses and Markdown symbols are left out, so the count matches what a reader actually reads. Reading time assumes 238 words a minute.

Is my document saved or uploaded?

It is not uploaded. It stays in the page while it is open, so download the .md file to keep a copy. The share link stores layout and parser settings only.

Related tools and how they differ

  • HTML ↔ Markdown Converter: Converts existing HTML pages or snippets into Markdown, and Markdown back into HTML.
  • Markdown Table Generator: Builds and aligns Markdown tables from a grid or pasted spreadsheet data.

Further reading

  • Markdown Writing Guide: Format Text Like a Developer13 min read

Private by design

Your text is processed locally in the browser. Nothing you paste or open is transmitted or logged.