CraftTools

Markdown Previewer

Guide: Markdown Cheat Sheet: Syntax You Will Use Every Day

Preview

Loading preview…

Nothing you enter or choose here leaves your device. This tool runs in your browser.

The syntax you'll use daily

Type Markdown on the left and the formatted result appears on the right as you go. Here is the short list that covers nearly everything:

You typeYou get
# HeadingA large heading. More hashes make smaller headings
**bold** and *italic*Bold and italic text
[text](https://example.com)A link
- itemA bulleted list
1. itemA numbered list
> quoteAn indented quotation
code Inline code
Three backticks around linesA code block
---A horizontal line

Tables

| Tool | Free |
|------|------|
| Word counter | Yes |
| QR codes | Yes |

Pipes separate the columns, and a row of dashes under the header makes it a table. The columns don't need to line up in your text, only in the rendered result. For a bigger table, the Markdown table generator builds it from a grid.

Why your formatting doesn't show

  • No space after the hash. #Heading isn't a heading. # Heading is.
  • A list needs a blank line before it in many cases, or it merges into the paragraph above.
  • A single line break doesn't make a new line. Leave a blank line to start a new paragraph, or end the line with two spaces for a line break.
  • Nested lists need indentation. Indent the inner items by two or four spaces.
  • Underscores inside words. Names like snake_case_name can turn into italics. Wrap them in backticks.

Safe to paste anything

The preview is cleaned before it's shown. Scripts and unsafe HTML are stripped out, so you can paste Markdown from an unknown source and look at it without risk. Copy HTML gives you that same cleaned HTML, ready for a web page or an email template.

Where people use it

  • README files and documentation on code hosting sites.
  • Notes in apps like Obsidian and many note tools.
  • Forum and chat posts that accept Markdown.
  • Blog posts written once and published as HTML.

Different sites support slightly different extras, so a table that works here may need a tweak elsewhere. Going the other way, from a web page to Markdown, use HTML to Markdown. The Markdown cheat sheet lists more. Nothing you type is saved or uploaded.

A README outline to start from

# Project name

One sentence about what it does.

## Install

1. Download the files
2. Run the setup script

## Usage

```
command --option value
```

## License

MIT

Paste an outline like that and fill in each part while you watch the preview. It's a fast way to check a README before you commit it.

Written by Akinrinmade Michael · Updated October 24, 2026

How to use

  1. 1Type or paste Markdown into the left box.
  2. 2The formatted preview updates on the right as you type.
  3. 3Use headings, lists, links, tables and code blocks to format your text.
  4. 4Copy the Markdown, or copy the HTML to use elsewhere.

Frequently asked questions

Which Markdown features are supported?

Headings, bold, italic, links, images, lists, quotes, code blocks, tables and horizontal rules, following the common GitHub-flavored Markdown rules.

Is it safe to paste untrusted Markdown?

Yes. The preview is sanitized, so scripts and unsafe HTML are removed before anything is shown.

Can I copy the HTML?

Yes. "Copy HTML" copies the cleaned HTML that the preview is built from.

Is my text saved or uploaded?

No. Everything happens in your browser, and the text is gone when you close or refresh the page.

Read the guide

Learn how this works and how to get the most from it.

Writing & text

Markdown Cheat Sheet: Syntax You Will Use Every Day

The Markdown basics in one page: headings, bold, lists, links, images, code and tables, with examples you can copy.

3 min read

HTML to Markdown Converter

Convert HTML or pasted web content into clean Markdown.

Word Counter

Count words, characters, sentences and paragraphs as you type.

Text Diff Checker

Compare two texts side by side and see exactly what changed.

Slug Generator

Turn any title into a clean, URL-friendly slug.