Utilo

Markdown Preview

Live Markdown editor with GitHub-flavored Markdown preview. Copy the rendered HTML with one click.

What this Markdown editor does

Markdown is the lightweight markup used by GitHub READMEs, documentation sites, note-taking apps and chat tools. This editor renders GitHub Flavored Markdown as you type, including tables, task lists, fenced code blocks and autolinks, and sanitises the resulting HTML with DOMPurify so it is safe to paste into a web page or CMS.

How to use it

  1. Write or paste Markdown in the left panel.
  2. The preview on the right updates after a short pause in typing.
  3. Click Copy HTML to get clean, sanitised HTML for a blog, email or CMS that does not support Markdown.

Practical examples

  • README drafting: check how your headings, badges and code samples will look before pushing to GitHub.
  • Release notes: write a changelog in Markdown and copy the HTML into an email campaign tool.
  • Documentation tables: create a table with pipes and dashes, and confirm column alignment in the preview.
  • Task lists: - [x] done and - [ ] todo render as checkboxes, useful for project checklists.

Tips and edge cases

  • Leave a blank line before lists, tables and code blocks; many renderers require it.
  • Two trailing spaces or a backslash at the end of a line create a hard line break.
  • Raw HTML is allowed but scripts, event handlers and dangerous URLs are stripped by the sanitiser.
  • Use fenced code blocks with a language name (```ts) so syntax highlighters on your site can colour them.
  • Different platforms support different extensions; footnotes and math are not part of GitHub Flavored Markdown core.
  • Indent nested list items by two or four spaces consistently; mixing tabs and spaces is the usual reason a sub-list renders as plain text.
  • Escape characters that Markdown would otherwise interpret, such as a literal asterisk, with a backslash: \*.
  • Relative image paths that work on GitHub will not resolve here; use absolute URLs to preview images.

Frequently asked questions

Which Markdown flavour is supported?

GitHub Flavored Markdown (GFM): tables, task lists, strikethrough, autolinks and fenced code blocks, on top of standard CommonMark.

Is the HTML output safe?

Yes. It is sanitised with DOMPurify, which removes <script> tags, inline event handlers and javascript: URLs.

Is my document saved?

No. The text stays only in the current page. Copy it somewhere before closing the tab.

Can I export to PDF?

Use your browser's Print dialog on the preview and choose "Save as PDF".

Yes. All processing happens directly in your browser using JavaScript, Web Workers and Web APIs. Nothing you type, paste or upload is sent to our servers.