The best way to open and view .md files on a Mac

README.mdreadable page

Double-click a .md file on a Mac and you usually get a text editor showing raw symbols. Markdown is meant to be read as formatted text, and the Mac has no built-in app that does that. These are the options, what each one costs you, and how MarkPeek works as a reader.

MarkPeek in Preview mode showing the note Field Notes: Building a Quiet App in the Serif theme, with the sidebar listing Documents, Outline and six themes

What a .md file is

A .md file is plain text with light markup: # for headings, asterisks for emphasis, hyphens for lists, backticks for code. READMEs, notes apps, documentation folders and static-site content are all written this way. Related extensions such as .markdown, .mdown, .mdx, .rmd and .qmd are Markdown variants.

Option 1: TextEdit

TextEdit opens Markdown as plain text. You see the source and can edit it, with nothing rendered. It is always available and fine for a quick fix to a typo.

Where it falls down: no rendering at all, so reading a long document means reading the symbols too.

Option 2: A code editor such as VS Code or Xcode

VS Code has a built-in Markdown preview, opened beside the editor with the "Markdown: Open Preview to the Side" command. It renders well, but it is a full code editor: heavier to start, tuned for projects rather than single documents, and diagrams or other extras need extensions. Xcode opens .md files as source text and is a very large install to use as a reader.

Option 3: Quick Look, a browser, or a web service

Quick Look shows the raw text, as covered in the Quick Look guide. A browser either shows the source as text or downloads the file. Pasting a document into a web-based renderer works but sends your text to someone else's server, which you may not want for private notes.

The MarkPeek way

MarkPeek is a native macOS reader and editor for Markdown. It opens files in a window with a document list, an Outline of headings, and a theme menu.

  1. Open a file with File ▸ "Open…" (⌘O), by dragging it onto the window ("Drop to Open"), or from "Open Recent". The Open panel also accepts .txt files.
  2. Read in Preview. Zoom with ⌘= and ⌘-, reset with ⌘0, search with "Find in Document…" (⌘F) and jump through headings in the Outline.
  3. Change how it looks from the Theme menu: Modern, Serif, GitHub, Plain, Paper or Mono, each with light and dark palettes.
  4. Press ⌘2 for Split or ⌘3 for Edit when you want to change the text. ⌘1 returns to Preview.

Make MarkPeek the default for Markdown files

Opening Markdown in MarkPeek is opt-in. In Settings (⌘,) ▸ General, the "Markdown files" row shows a button "Open in MarkPeek by Default". Click it, and double-clicking a .md file in Finder opens MarkPeek. The first-run Welcome Tour has the same choice as "Make MarkPeek the Default".

You can undo it later with Finder's Get Info panel: select a .md file, choose File ▸ Get Info, and change the app under "Open with".

The New Theme sheet in MarkPeek with Name, Author, Start from, Appearance, fonts, text size, content width and accent colors, and a Create Theme button

Settings worth knowing

A routine for a folder of notes

If your Markdown lives in one folder, such as meeting notes or a docs directory, a simple routine works well. Press Space in Finder to skim files with the styled Quick Look preview, and arrow down the list. When one deserves attention, choose "Open with MarkPeek" from the Quick Look window to read or edit it. Documents you open are kept under Documents in the sidebar, and the last ten are remembered in "Open Recent".

What it does not do

MarkPeek renders CommonMark plus tables, task lists and strikethrough, front matter, math and Mermaid. Footnotes, GitHub-style alert blocks, emoji shortcodes and wiki links are not part of the renderer, so a note that relies on them will show those pieces as plain text. If your workflow depends on them, keep another viewer for those files.

Frequently asked questions

What app opens .md files on a Mac by default?

A plain text editor, usually TextEdit, or whichever editor you have installed. macOS has no built-in app that renders Markdown.

Can I open a .md file without installing anything?

Yes: TextEdit or Quick Look will show the raw text. Neither renders the formatting.

Does MarkPeek open files other than Markdown?

It is a Markdown app, but the Open panel and drag and drop also accept plain .txt files.

Will MarkPeek change my files?

Only if you edit and save them. Viewing does not write to the file, and if the file changes on disk while it is open, MarkPeek keeps your unsaved edits and offers to reload.

Related guides