# Heading Heading 1–6
**bold** Bold text
*italic* Italic text
[text](url) Link
![alt](url) Image
- item Unordered list
1. item Ordered list
`code` Inline code
```lang Code block
> quote Blockquote
| a | b | Table
- [x] done Task list
--- Horizontal rule
~~text~~ Strikethrough
💡 Type / in the editor to open the slash command menu for quick formatting.
✏️ Markdown
Lines: 0 Words: 0 Chars: 0

About Markdown Preview

What is Markdown?

Markdown is a lightweight markup language for formatting plain text. Writers use it for README files, documentation, blogs, and notes. Syntax like # Heading, **bold**, and - list item produces rich HTML without touching angle brackets.

Markdown to HTML and back

This tool runs in two directions. Markdown → Preview mode renders your Markdown live and lets you copy or download the HTML output. HTML → Markdown mode converts pasted HTML into clean Markdown — useful when migrating content between platforms or turning a web page into documentation.

Frequently Asked Questions

Does this tool send my Markdown to a server?

No. All rendering runs in your browser using marked.js. Your content never leaves your device.

Which Markdown flavors does it support?

GitHub Flavored Markdown (GFM) — headings, bold, italic, strikethrough, tables, task lists, fenced code blocks, and blockquotes.

How do I use the slash command menu?

Type / at the start of a line. A menu appears with formatting options. Arrow keys navigate, Enter inserts, Escape closes.

Can I convert HTML back to Markdown?

Yes. Switch to HTML → Markdown mode using the toggle above the editor. Paste HTML on the left and the Markdown equivalent appears on the right.

How do I download my document?

Use the Download .md button for a Markdown file, or Download .html for a standalone HTML page with embedded styles.