What is an .md file?

An .md file is a Markdown file. It is a plain text file with a few simple symbols. These symbols mark headings, lists, bold words, links, and tables.

A Markdown reader turns these symbols into a clean, easy-to-read page. A plain text editor just shows the symbols as they are.

Where .md files come from

Why an .md file looks like a mess

If you open an .md file in a basic text viewer, you see the raw symbols:

# Trip plan

## What to pack
- **Water**, two litres
- A paper map

| Day | Route         | Distance |
|-----|---------------|----------|
| 1   | Trailhead–Lake | 11 km    |

If you open the exact same file in a Markdown reader, you see a heading, a short list with Water in bold, and a real table. It is the same file, and nothing changed – only how it is shown.

The symbols, in one minute

You typeYou get
# TitleA big heading
## SectionA smaller heading
- itemA bullet point
**bold**bold
[text](https://example.com)A link
| a | b | rowsA table

How to open an .md file

On Android: Install a Markdown reader. Then, tap the .md file in your file manager, or open it from an email attachment. PilcrowMD is free, has no ads, requires no account, and is open source. It shows headings, lists, tables, code, and math cleanly. It also lets you edit the file when you need to.

On a computer: Any text editor can open it, but you will see the symbols. Many code editors and note apps can show the file cleanly formatted.

Common questions

Is an .md file safe to open? Yes. It is plain text. PilcrowMD shows it as a formatted page and never runs scripts or code from the file. Links open only when you tap them.

Can I edit it? Yes. It is just text. In PilcrowMD, switch to the editor, make your changes, and save. The app writes back exactly what you typed.

What is the difference between .md and .markdown? Nothing. Both are Markdown files. PilcrowMD opens both, and .txt files too.

Who made Markdown? John Gruber created it in 2004, with major input from Aaron Swartz.

Also on Mac: PilcrowMD for Mac (beta)