What Is a Markdown File? Syntax, How to Open It and Convert to MD
README files, Obsidian notes, ChatGPT's answers: they're all written in Markdown. Here's what a Markdown file is, the handful of symbols you need to read and write one, how to open or create a .md file on any computer, and how to turn a PDF, Word document or spreadsheet into Markdown for free.
A Markdown file is a plain text file, usually ending in .md, that marks its own formatting with a few simple symbols: # for a heading, ** around bold text, - for a list item, [text](link) for a link. Any text editor can open it, and apps such as GitHub, Notion, Obsidian and VS Code show it formatted. Markdown was created by John Gruber in 2004 to be easy to read even before it's formatted, which is why developers, note-takers and AI assistants such as ChatGPT all use it.
Markdown syntax at a glance
| You type | You get |
|---|---|
# Title, ## Section | A heading (more # for smaller levels) |
**bold**, *italic* | bold, italic |
- item or 1. item | A bulleted or numbered list |
[Laxis](https://www.laxis.com) | A link |
 | An image (linked, not stored in the file) |
| Item | Price | | A table (GitHub Flavored Markdown) |
- [ ] Send the deck | A checklist item |
> quote, `code` | A quote block, inline code |
Most apps follow CommonMark, the standard version of Markdown, or GitHub Flavored Markdown, which adds tables, checklists and strikethrough.
Where Markdown is used
- README files and docs: GitHub and GitLab show any .md file formatted, and many documentation sites are written in it.
- Notes: Obsidian stores every note as a .md file; Notion imports and exports Markdown.
- AI assistants: ChatGPT, Claude and Gemini write their answers in Markdown, and they follow a document's structure more easily when its headings and tables are marked in Markdown.
- Chat: Slack, Discord and Teams use Markdown-style shortcuts for bold, lists and code.
How to open a Markdown (.md) file
- As text: any text editor opens it, such as TextEdit on Mac, and you'll see the symbols, not the formatting. In Windows 11, Notepad can also show basic formatting such as headings and bold text.
- Formatted: in VS Code, open the file and press Ctrl+Shift+V (Cmd+Shift+V on Mac) for the preview. Obsidian and other Markdown editors show it formatted as you type.
- In Notion: use Import and choose Text & Markdown.
- Online: upload it to a GitHub repository and it renders automatically.
How to create a Markdown file
- Open any text editor and type your text with the symbols above.
- Save it with the .md extension, for example notes.md. In Windows Notepad, set "Save as type" to Markdown or All files so it isn't saved as notes.md.txt.
- Keep the encoding as UTF-8, the default in current editors, so every language displays correctly.
Convert files to and from Markdown
Free tools: Turn a document into Markdown in your browser, with no sign-up and nothing uploaded. PDF to Markdown keeps headings, lists, tables and links (scanned PDFs need text recognition first). Word to Markdown converts a .docx and saves its pictures in a .zip beside the .md file. Excel to Markdown turns a sheet or a range into a clean Markdown table.
To go the other way, most Markdown editors export to PDF or HTML (Obsidian has Export to PDF built in), and the open-source tool pandoc turns Markdown into a Word document.
Working with CSV data too? See what a CSV file is.
Notes worth keeping, in any app
Markdown is a favorite format for meeting notes and knowledge bases. With everyone's consent and within your company's rules, the Laxis AI Note Taker records meetings on Zoom, Google Meet, Teams or in person and gives you a transcript, summary and decisions to drop into Notion, Obsidian or your wiki. For writing the notes themselves, the Laxis voice keyboard works in any app, Markdown editors included, and turns your voice into clean, punctuated text in 60+ languages. Laxis will never use your data to train AI models without your consent. Related: using ChatGPT for meeting notes.
From conversation to well-organized notes
Laxis AI Note Taker: a transcript, summary and decisions from every meeting.
Laxis Voice Keyboard: speak your notes into Obsidian, Notion or any app.
The Laxis AI note taker and voice keyboard, together in one app. Free on iPhone, Android, Mac and Windows. Download Laxis free
Frequently asked questions
What does .md stand for?
.md is short for Markdown. Some files use the longer .markdown extension; both are the same plain text format.
Is Markdown a programming language?
No. It's a lightweight markup language: it describes how text should look, like a much simpler HTML, and doesn't run any code.
What's the difference between Markdown and HTML?
Both describe formatting, but Markdown uses a few readable symbols while HTML uses tags. Markdown is usually converted to HTML to be shown on the web, and most Markdown apps accept some HTML too.
How do I convert Markdown to Word or PDF?
Export to PDF from a Markdown editor such as Obsidian or VS Code with a preview extension, or use pandoc to create a .docx file.
Why do AI tools like ChatGPT use Markdown?
Markdown marks headings, lists and tables in plain text, so a model can see a document's structure without any layout. That's why converting a PDF or Word file to Markdown often gives better AI answers than pasting raw text.
Related Product
Laxis Meeting Assistant
Automate your notes today.
- Bot-free notes for Zoom, Google Meet, Teams and in-person meetings
- AI summaries, action items and follow-ups in 60+ languages
- Mac, Windows, iPhone and Android, with a free plan
Start for free, no credit card required.
Learn More ▷