How to open .md files

Updated 6 December 2026 · Windows 10 and 11, macOS, Linux

A file ending in .md (or .markdown) is a Markdown file: plain text with a few symbols for formatting, such as # for headings and ** for bold. You'll find them as README files in downloads and code projects, and in note-taking apps. Any text editor can open one. To see it formatted, use a Markdown app.

Quick answer

On Windows 10 and 11

  1. Right-click the .md file and choose Open with.
  2. Pick Notepad to see the plain text, or a Markdown app to see it formatted.
  3. To always use that app, choose Choose another app, select it and then Always.

If the file opens in the wrong app, open Settings → Apps → Default apps, search for .md and pick the app you want. Nookdown can do this for you: open its Settings and choose Make Default. It also adds Open with Nookdown to the right-click menu of Markdown files and folders.

On a Mac

  1. Control-click (or right-click) the file and choose Open With.
  2. Choose TextEdit for plain text, or a Markdown app.
  3. To change the default, choose Get Info, pick the app under Open with, then Change All….

Quick Look (press Space on the file in Finder) shows the plain text, without formatting.

On Linux

Double-click usually opens .md files in your text editor (gedit, Kate, Mousepad). To choose another app, right-click the file and choose Open With. From a terminal, set the default with:

xdg-mime default nookdown.desktop text/markdown

Without installing anything

If you only need to read one file, you can drop its text into an online Markdown previewer, or open it on GitHub, which formats .md files automatically. Only do this with files that contain nothing private.

Editing .md files

Because Markdown is plain text, editing it in Notepad is perfectly safe. A Markdown editor just makes it easier. In Nookdown, what you type is formatted as you type, and you can switch to the raw text with Ctrl+/ at any time. The file is always saved as plain Markdown, so it still works everywhere else.

New to the symbols? See the Markdown cheat sheet.

Try Nookdown

Nookdown is a Markdown reader and editor for Windows, macOS and Linux. Try it free for 14 days, then keep it for $0.99. Download it here.