← All tools

Markdown Preview

Write Markdown and see it rendered live: tables, task lists, a toolbar and HTML export.

Free tool No account

51 words · 383 characters · 4 headings · 13 sec to read

ReadyProcessed locally · No upload
Enjoying Markdown Preview?Your review and ideas shape what we build next.

Review Markdown Preview

Please don't include file contents or passwords.

About the Markdown Preview

Write Markdown on the left and see it rendered on the right as you type: headings, bold and italic, lists, task lists, tables, links, images, quotes and code blocks, following GitHub-Flavored Markdown. Use the toolbar or Ctrl+B and Ctrl+I to format, view the HTML it produces, copy or download it as a full web page, and copy a ready-made table of contents for your headings.

How to use it

  1. Type or paste Markdown, or start from the sample.
  2. Select text and press a toolbar button (or Ctrl+B / Ctrl+I) to format it.
  3. Check the preview; switch to HTML to see the code.
  4. Copy the HTML, or download the .md or a complete .html page.

Tip: A single line break inside a paragraph doesn't start a new line in Markdown. Leave an empty line between paragraphs, end a line with two spaces, or tick Enter = new line to work like GitHub comments.

Markdown cheat sheet

# Heading
One # for the main heading (H1), ## for sections (H2), ### for sub-sections. Leave a space after the #.
**bold** and *italic*
Two stars for bold, one for italic; ***both*** together. Underscores work too.
~~strikethrough~~
Two tildes cross the text out.
- item or 1. item
A dash, star or plus starts a bulleted list; a number and full stop starts a numbered list. Indent by two spaces for a sub-list.
- [ ] task / - [x] done
Task lists with checkboxes, as on GitHub.
[text](https://link)
A link. Add a title in quotes: [text](https://link "Title").
![alt text](image.png)
An image. The alt text describes it for screen readers and search engines.
> quote
A block quote; put > in front of each line.
`code` and ```
Backticks for inline code; three backticks on their own line start and end a code block. Add a language after them, like ```js.
---
A horizontal line between sections.

Tables

Draw a table with pipes and dashes: the first row is the header, the second row of dashes separates it from the data. | Name | Price | then | --- | ---: | then | Pen | 2.50 |. A colon on the right of the dashes aligns that column right, on both sides centres it. The columns don't have to line up in your text; the preview lines them up for you. Press the Table button to insert a starter table.

Headings, anchors and the outline

Every heading gets an anchor id the way GitHub makes them: “Getting Started!” becomes #getting-started, and a second heading with the same text becomes #getting-started-1. The Outline lists your headings so you can check the structure at a glance, and Copy table of contents gives a ready Markdown list of links to them, perfect for the top of a README.

For good structure, and for SEO when the Markdown becomes a web page, use one H1 for the title and H2s for the main sections, without skipping levels.

Safe preview

Markdown can contain raw HTML, and pasted HTML can hide scripts that would run on the page. The preview shows HTML tags as text instead, except simple harmless tags without attributes such as <br>, <kbd>, <sub>, <sup>, <mark> and <details>/<summary>. Links and images that use javascript: or other unsafe addresses are removed, and you are told when that happens. Normal links open in a new tab.

Where Markdown is used

GitHub and GitLab
README files, issues, pull requests and wikis.
Notes apps
Obsidian, Notion, Bear, Joplin and Logseq use Markdown for notes.
Chat
Slack, Discord, Teams and Reddit support most of it in messages.
Websites
Static site generators (Hugo, Jekyll, Astro, Next.js) and many CMSs write pages in Markdown.
Documentation
Docs sites, Jupyter notebooks and AI chat answers are usually Markdown.

Markdown vs HTML

HTML marks up text with tags: <h2>Prices</h2>, <strong>bold</strong>, <a href="…">link</a>. Markdown writes the same structure with plain characters that still read naturally as text: ## Prices, **bold**, [link](…). That makes it faster to write, easier to review in a diff and portable between apps. Anything Markdown can't express, such as a coloured box or a form, needs HTML or the features of the app you publish in.

Tips and tricks

Escape special characters

Put a backslash in front to show a character as itself: \* shows a star instead of starting italics.

Line break inside a list

Indent the next line by two or more spaces to continue the same list item.

Code inside lists

Indent a code block four spaces more than the list text to keep it inside the item.

Paste into email

Copy from the preview itself (select the text) to keep the formatting when pasting into Gmail or Outlook.

Questions

How do I convert Markdown to HTML?

Type or paste the Markdown, then press Copy HTML, or switch to the HTML view. Download .html gives a complete web page with simple styling.

Which Markdown flavour is this?

CommonMark with the GitHub-Flavored Markdown extras: tables, task lists, strikethrough and automatic links.

Why doesn't my HTML show?

For safety, most HTML is shown as text. Simple tags like <br>, <kbd> and <details> still work.

How do I add an image?

Use ![description](https://example.com/picture.png). The image must be online; local files on your computer can't be shown by address.

Is my document saved?

No. Download the .md file to keep it; closing the tab clears it.

Can I use keyboard shortcuts?

Yes: Ctrl+B (Cmd+B on a Mac) makes the selection bold and Ctrl+I makes it italic. The toolbar buttons wrap the selected text, or insert an example to replace.

Why are my two paragraphs joined into one?

Markdown needs an empty line between paragraphs. A single line break only starts a new line when Enter = new line is ticked.

Is my text uploaded?

No. Everything runs in your browser; what you type, paste or open never leaves your device and nothing is stored on a server.

Related tools

Updated