What is an MD file?

Markdown is plain text with simple marks for headings, lists and links. It is easy to write and easy to read as it is. Programs turn it into HTML, PDF or Word.

Drop your file here

or select file

Images, video, audio, documents, data, archives, fonts and more.

About MD file:

01MD at a glance

Full name
Markdown
Type
Plain text with simple formatting marks
Extension
.md (also .markdown)
MIME type
text/markdown (RFC 7763)
First bytes (hex)
No signature. It is a text file
Made by
John Gruber and Aaron Swartz, 2004. CommonMark and GitHub Flavored Markdown are common variants

02What is an MD file

Markdown is a way to write formatted text in a plain text file. A line that starts with # becomes a heading, text between ** becomes bold, a line that starts with - becomes a list item. A program turns the marks into a formatted page. GitHub, Reddit, Notion, Obsidian and many documentation tools use it.

A Markdown file is a text file, so everything that is true for TXT is true for it: an encoding that is not stored in the file (UTF-8 is the modern default) and different line endings. A program that does not know Markdown shows the marks as they are.

There is no single Markdown. The original from 2004 is loose, so several variants exist. CommonMark is a strict specification, and GitHub Flavored Markdown adds tables and task lists. Tables, footnotes and front matter may work in one app and not in another.

Pictures are not inside the file. A Markdown file only points to them by file name or web address, so if you send only the .md file they are missing. Markdown has no page size or fonts. Export it to PDF or HTML to share or print.

03Good and bad sides

Good

  • Easy to write and read as plain text
  • Tiny files, no hidden data
  • Works well with Git and version control
  • Converts to HTML, PDF and DOCX

Bad

  • No page size, fonts or layout
  • Variants differ, so tables and extras can break
  • Pictures live in other files
  • Non-technical people often cannot open it in a useful way

04Best for

  • README files and documentation

    The standard format on GitHub and in many docs tools.

  • Notes and writing

    Fast to write, and it works in many apps.

  • Version control

    Plain text works well with Git, so changes are easy to compare.

05How to open it

Windows
Visual Studio Code, Notepad, Obsidian, Typora
macOS
Visual Studio Code, TextEdit (shows the marks), Obsidian, Typora
iPhone and Android
iA Writer, Obsidian, any text editor
Linux
Visual Studio Code, gedit, Obsidian
Online
GitHub, Notion and Dillinger show the formatted result

06Convert and compare

Related formats: TXT, HTML, PDF

Sources