MD Viewer for Mac

A free native app for viewing .md files on macOS

If you're looking for an MD viewer on Mac, you've probably noticed that macOS treats .md files as plain text. Double-click one and TextEdit shows you raw Markdown syntax instead of the formatted document. MDViewer fixes that — it's a free, native macOS app that renders Markdown files the way they're meant to be read. For a quick walkthrough, see how to open .md files on Mac.

Why macOS Needs a Dedicated MD Viewer

Developers and technical writers work with .md files constantly — READMEs, API docs, project specs, meeting notes. Without a dedicated viewer, the options are limited:

  • TextEdit shows raw syntax — unreadable for complex documents
  • VS Code has a preview pane, but takes several seconds to launch and uses hundreds of MB of RAM
  • GitHub/GitLab renders Markdown in the browser, but requires pushing or copy-pasting — and you can't view local files
  • Quick Look shows plain text unless you install a third-party extension

A dedicated MD viewer opens files instantly, renders them correctly, and stays out of your way. If you also need a quick Markdown preview on Mac without opening an app, Quick Look can help.

MDViewer — What You Get

MDViewer is built with SwiftUI specifically for macOS. It's not an Electron app running a web browser under the hood — it's a real native Mac app.

Instant Launch

MDViewer opens in under a second. Set it as your default app for .md files and every Markdown document opens from Finder with a double-click or from the terminal with open file.md.

Smart Table of Contents

A sidebar table of contents is auto-generated from your document's headings. It tracks your scroll position in real time, highlighting the section you're reading. Click any heading to jump there.

Git History and Diff

Browse the commit history of any tracked file directly in the sidebar. Click a commit to see a color-coded diff with line numbers and context. No terminal needed.

Inline Editing

Double-click any word to switch to the editor with the cursor exactly where you clicked. Fix a typo, update a section, then press S to save or Esc to return to reading.

Tabbed Interface

Open multiple files in one window. Files from Finder or the terminal appear as tabs, not new windows. Switch between documents the way you switch browser tabs.

Full GFM Support

Tables, task lists, fenced code blocks with syntax highlighting, strikethrough, and autolinks — all rendered correctly following the GitHub Flavored Markdown spec. New to Markdown syntax? Our Markdown cheat sheet covers all the essentials.

Mermaid Diagrams

Mermaid diagrams render as interactive SVGs — flowcharts, sequence diagrams, ER diagrams, Gantt charts. Click any diagram to open a full-screen lightbox with zoom and pan. No extensions required.

PDF Export

Press ⌘⇧E to export the rendered document as a PDF with smart pagination. Headers, tables, code blocks, and Mermaid diagrams all export cleanly.

Viewing AI-Generated Markdown on Mac

Tools like ChatGPT, Claude Code, Cursor, and GitHub Copilot produce Markdown constantly — project plans, architecture docs, API specs, code reviews. Saving this output as a .md file and double-clicking it opens MDViewer instantly with full formatting, Mermaid diagrams, and syntax-highlighted code blocks.

This is faster than reading AI output in a terminal or browser — and you get a table of contents, search, and the ability to export to PDF. Learn more about why AI tools use Markdown.

How to Get Started

  1. Download MDViewer (free, no account required)
  2. Drag MDViewer to your Applications folder
  3. Open any .md file — drag it onto the app icon, use File → Open, or open from Terminal
  4. To make it your default MD viewer: right-click any .md file → Get Info → Open with → MDViewer → Change All
Download MDViewer for Free

Requires macOS 13.0 or later. Intel and Apple Silicon.

How MDViewer Compares to Other MD Viewers on Mac

Feature MDViewer Typora VS Code
Price Free $14.99 Free
Native macOS ✓ SwiftUI ✗ Electron ✗ Electron
Launch time < 1 second 2–3 seconds 3–5 seconds
Git history ✓ (extension)
Table of contents ✓ Auto-tracking ✓ Outline ✓ Outline
Inline editing ✓ WYSIWYG ✓ Source only
Mermaid diagrams ✓ Built-in ✓ Built-in Extension required
PDF export ✓ Built-in ✓ Built-in Extension required
QuickLook in Finder

For a more detailed breakdown, see our full comparison of Markdown viewers for Mac or the MDViewer vs Typora comparison.

Frequently Asked Questions

Is MDViewer really free?

MDViewer Lite is free and includes Markdown rendering, Mermaid diagrams, syntax highlighting, QuickLook, and dark mode. Pro is $9.99 one-time and adds inline editing, Git history, PDF export, and unlimited tabs. No ads, no tracking, no account required.

Does it work on Apple Silicon?

Yes. MDViewer runs natively on both Intel and Apple Silicon Macs with macOS 13.0 or later. It works as both a Markdown reader and a lightweight MD file viewer.

Can I use MDViewer as my default .md app?

Yes. Right-click any .md file in Finder, choose Get Info, set MDViewer under "Open with", and click "Change All". Every .md file will now open in MDViewer by default.

Does MDViewer render Mermaid diagrams?

Yes. MDViewer renders all Mermaid diagram types — flowcharts, sequence diagrams, ER diagrams, Gantt charts — as interactive SVGs with zoom and full-screen lightbox. No extensions or plugins required, unlike VS Code which needs a separate extension.

Can I edit Markdown files in MDViewer?

Yes. Double-click any word to switch to the editor with the cursor at that position. Fix typos, update sections, then press ⌘S to save or Esc to return to reading. It’s a viewer-first approach — optimized for reading with quick editing when needed. See our editor vs. viewer comparison for a deeper look at the tradeoffs.

What if I'm not on a Mac?

You can use the free online Markdown viewer — it runs in any browser with no installation required. Drag and drop your .md file to see it rendered with full formatting.