Open a .md file on your Macand read it like on GitHub.
A .md file is plain text with symbols in it. MarkdownDraft shows it as a finished page: headings, tables, highlighted code, Mermaid diagrams and math. Open a file, a folder, or press Space on a file in Finder.
macOS 14 or later. Reading is free; editing and reviews are one payment.
MarkdownDraft is the new name of DotMD. The current download is still named DotMD.
Quick answer
To create a .md file on a Mac, save plain text as notes.md in TextEdit (press ⇧⌘T for plain text). To open it, press ⌘O in MarkdownDraft, or drag the file onto its window. As a Markdown viewer for Mac, MarkdownDraft shows a .md file as a finished page, with tables, code, Mermaid diagrams and formulas. Reading is free; editing comes with MarkdownDraft Editor, and comments and review with AI agents with MarkdownDraft Reviewer.
How to open Markdown files on a Mac
Double-click a .md file on a Mac and it usually opens as raw text, full of # and **. MarkdownDraft opens it as a page.
-
Open a file or a folder
Press ⌘O and choose a folder or a file, or drag one from Finder onto MarkdownDraft's window or its Dock icon. A folder becomes your workspace in the sidebar, and every file you open becomes a tab.
-
Make MarkdownDraft the default app for .md files
The first time MarkdownDraft starts while another app opens Markdown files, it asks Set MarkdownDraft as Default? Say Set as Default. You can do it later in Settings → General → Default App, or in Finder: select a .md file, press ⌘I, choose MarkdownDraft under Open with and click Change All….
-
Read it
The page is shown rendered like on GitHub. Select and copy text as on any web page, and press ⌘F to find text on the page.
The sidebar lists the folders and Markdown files you have added, with the outline of the open file under it. Pinned keeps the files you use often at the top, and Recent lists the last twenty you opened. Nothing is copied or moved: MarkdownDraft reads your files where they are.
How to create a .md file on a Mac
A .md file is a plain text file whose name ends in .md. To make one without any extra app, open TextEdit, press ⇧⌘T to switch to plain text, type your text and save it as notes.md. If macOS adds .txt to the name, rename the file in Finder.
In MarkdownDraft, press ⌘N or choose + → New Empty File, pick a name and a folder, and the new file opens in the editor with a # Title heading (editing is part of MarkdownDraft Editor). + → New File from Clipboard turns text you copied, such as an agent's answer, into a file.
What renders: tables, code, Mermaid diagrams and math
- Text: headings, lists, task lists, quotes, links and images.
- Tables and code with syntax colours.
- Mermaid diagrams. A code block marked
mermaidis drawn as a diagram, in the light or dark theme to match the page. Click one to see it large, and pinch to zoom up to 8×. - KaTeX formulas.
$E = mc^2$inside a line, or$$ … $$on its own line. - Callouts such as
> [!NOTE], collapsible sections, and the properties block at the top of a file, shown as a card.
Diagrams and formulas are drawn on your Mac, so they work offline.
Read a README.md from any repository
A README is a Markdown file, so it opens like any other. Press ⌘O and choose the README.md, or the repository's folder to read its docs as well. Headings, tables, code, task lists and Mermaid diagrams are drawn, formulas too, and badges and other images from the web appear. Reading is free.
Make it comfortable to read
The Aa menu sets the font (System, Serif or Monospaced), the width, the line spacing and the theme: Automatic, Light, Sepia or Dark. For long texts, try Serif, Narrow, Relaxed and Sepia. The choice is remembered.
⌘= and ⌘- zoom in 10% steps. A thin blue line at the top and the percentage in the status bar show how far you have read, and the outline in the sidebar jumps to any heading. A link to another .md file opens it in MarkdownDraft.
Quick Look in Finder
Select a .md file in Finder and press Space. The preview looks like MarkdownDraft's reading mode, with tables, callouts, diagrams and formulas. It starts working after you have opened MarkdownDraft once.
Quick Look may only read the file itself, so images stored next to it show as a small placeholder; press Open with MarkdownDraft to see the page complete. If another app's preview shows up, check that MarkdownDraft is switched on in System Settings → General → Login Items & Extensions (macOS 15 and later) or System Settings → Privacy & Security → Extensions → Quick Look (macOS 14).
MarkdownDraft opens files ending in .md, .markdown, .mdown, .mkd, .mkdn, .mdx and .txt.
Questions about reading Markdown on a Mac
How do I open a .md file on a Mac so it looks formatted?
Open it in MarkdownDraft: press ⌘O, or drag the file or a folder onto MarkdownDraft. The file shows as a page with headings, tables, highlighted code, Mermaid diagrams and KaTeX formulas.
How do I create a .md file on a Mac?
Save plain text under a name that ends in .md: in TextEdit press ⇧⌘T, type, and save as notes.md. In MarkdownDraft, press ⌘N, pick a name and a folder, and the file is created.
How do I make .md files open in MarkdownDraft by default?
In Finder, select a .md file, press ⌘I, choose MarkdownDraft under Open with and click Change All…. MarkdownDraft also offers to become the default app the first time it starts.
Can I preview a Markdown file in Finder?
Yes. Select a .md file in Finder and press Space. The Quick Look preview looks like MarkdownDraft's reading mode. Reading is free.
Is MarkdownDraft free for reading?
Yes. Reading any Markdown, folders, tabs and Quick Look are free, forever.
Do diagrams and formulas work offline?
Yes. Mermaid and KaTeX are built into MarkdownDraft and draw on your Mac, with no internet connection. The exception is an exported HTML file, which loads them from the internet when you open it.
Which macOS do I need?
macOS 14 or later.