Skip to content
KazamTools

Markdown File Format

Markdown. Best for: notes, documentation, READMEs and text for AI models.

What is a Markdown file?

Markdown is a way of writing formatted text with plain characters. John Gruber published it in 2004, with help from Aaron Swartz, so that a document would be easy to read even before it is rendered: # Title is a heading, **bold** is bold, and a line starting with - is a bullet point. Files usually end in .md.

Because it is just text, Markdown works in any editor, diffs cleanly in Git and survives copy and paste. GitHub READMEs, Obsidian and Notion notes, documentation sites and Reddit and Discord messages all use it. It has also become the preferred input for AI models: a Markdown version of a document keeps the headings, lists and tables while using far fewer tokens than HTML or a raw PDF.

Markdown at a glance

Markdown file format facts
Full nameMarkdown
File extensions.md, .markdown
Created byJohn Gruber, with Aaron Swartz
Introduced2004
CompressionNone: plain text with light formatting marks (#, *, -)
Opens onGitHub, Notion, Obsidian, Reddit, Discord, any text editor and AI chat apps
Best forNotes, documentation, READMEs and text for AI models

How to open a Markdown file

Any text editor opens a .md file; VS Code, Obsidian and Typora also show a formatted preview. To turn an existing document into Markdown, use Document to Markdown, which reads Word, PDF and HTML files in your browser.

Convert other files to Markdown

Markdown questions

What program opens .md files?

Any text editor, such as Notepad, TextEdit or VS Code. Editors like Obsidian and Typora show the formatting as you type.

Is Markdown the same everywhere?

The basics are. Sites add extras such as tables and task lists; the most common variant is GitHub Flavored Markdown.

Why use Markdown for AI prompts?

It keeps structure (headings, lists, tables) with very little overhead, so models read it well and it uses fewer tokens than HTML.

All file formats and converters →