Markdown cheatsheet · Open .md on Windows

Opening .md files on Windows

Windows 11's Notepad picked up a markdown mode, so the old answer to this question, that Windows has nothing, is now out of date. What it handles, what it doesn't, and what to use instead.

Does Windows have a built-in markdown viewer?

Sort of, now. That answer changed recently and most pages you'll find still say "no".

Notepad on Windows 11 gained a markdown mode: it renders headings, bold, italic, lists and links, with a toggle between formatted and raw view. For glancing at a README, that's genuinely enough, and it's already installed.

What it doesn't do is everything past the basics. No live-rendering workflow, no wikilinks between files, no export, and its handling of larger documents is a reading tool rather than a writing one. It's a viewer that got a formatting coat, not a markdown editor.

If you're on Windows 10, none of this applies: Notepad there shows raw text and always will. Everything below still works.

Your options on Windows

AppRenders markdownGood for
Notepad (Win 11)Basics onlyA quick look, zero install
Notepad (Win 10)NoRaw text only
WordPadNoNothing. It's gone from Windows 11 anyway.
Your browserNo, without an extensionRaw text
VS CodeYes, in a preview paneDevelopers, already installed
maxdownYes, in place as you typeReading and writing .md properly. Free.
TyporaYesSame idea, $14.99 one-time

Opening a .md file right now, no install

  1. Right-click the file, choose Open with, then Notepad.
  2. On Windows 11, look for the formatting toggle to switch between rendered and raw.
  3. On Windows 10 you'll see raw markdown. It's readable, just ugly.

If Open with doesn't list what you want, choose Choose another app at the bottom of the menu.

Making .md open in your app of choice, permanently

  1. Right-click any .md file.
  2. Choose Open withChoose another app.
  3. Pick the app you want.
  4. Tick Always use this app to open .md files, then confirm.

From then on, double-clicking any .md file goes straight there. You can undo it the same way; nothing is permanent.

Windows hides the extension by default. If you can't tell whether a file is notes.md or notes.md.txt, open File Explorer, go to ViewShow, and turn on File name extensions. This is the cause of a surprising share of "my markdown file won't open properly" problems.

The SmartScreen warning, if you install something

Windows shows a blue "Windows protected your PC" box for any app whose developer hasn't paid for a signing certificate. It's a statement about the certificate, not about the app. Click More info, then Run anyway. Do this only for software you actually meant to download, from the site you meant to download it from.

Common questions

Why does my .md file open in Notepad?

Because Windows doesn't ship a markdown app and falls back to a text editor. Change the default with the steps above.

Can I preview markdown in File Explorer?

Not out of the box. The preview pane (Alt+P) shows plain text for .md files.

Is Notepad's markdown mode enough?

For reading a README once, yes. If you're writing markdown regularly, its lack of export and its basics-only rendering will start to hurt quickly.

Related syntax

· All markdown guides

Open the file. Actually read it.

Download maxdown

Free · no account · macOS, Windows & Linux