What is an MD file, and how do you open one?

The short answer

An MD file is a Markdown document: plain text with a few marks, like a pound sign for a heading and two asterisks for bold, that say how the words should look. A Mac’s Quick Look and TextEdit show it as plain text, marks and all; Notepad on Windows 11 and the free VS Code can show it formatted; and an iPhone or Android phone has no built-in way. Markdly opens it formatted on Mac, Windows, Linux, iPhone, iPad and Android.

  • Windows 11: right-click the file, choose App extensions, then Edit in Notepad, and switch to the formatted view.
  • Any computer: open it in VS Code and press Ctrl+Shift+V (⇧⌘V on a Mac).

One $19.99 purchase covers Mac, Windows, Linux, iPhone, iPad and Android.

  • Updated
  • Outside facts dated and linked at the bottom

What an MD file is

An MD file is a Markdown document. Markdown writes formatting into plain text: a few marks in front of and around the words say how they should look, and an app that understands them shows the formatted page. John Gruber, who created it, calls it an easy-to-read, easy-to-write plain text format.

Because it’s ordinary text, any text editor opens it, which is why you see the marks. The usual extensions are .md and .markdown.

A computer can show it formatted; a phone shows the marks
  • Formatted, with an app you already have
  • Only the marks, on a phone

The marks

A handful of marks covers most of what you’ll see
  1. # Weekend Trip PlanWeekend Trip PlanHeading
  2. ## Packing listPacking listSmaller heading
  3. **4:00 pm**4:00 pmBold
  4. *Free afternoon*Free afternoonItalic
  5. - Pick up groceriesPick up groceriesBullet
  6. 1. Sunrise hikeSunrise hikeNumbered list
  7. - [x] Hiking bootsHiking bootsCheckbox
  8. | Item | Cost |ItemCostTable
Markdly for Mac in Split view: weekend-trip-plan.md’s text with its marks on the left, and the same document formatted on the right.
The same file twice: the marks on the left, the page they make on the right. Captured .
  • A pound sign starts a heading, and each extra one makes it a level smaller, down to six.
  • Checkboxes and tables came later than Gruber’s original, from GitHub Flavored Markdown, which is why some apps leave them exactly as typed.
  • It turns up everywhere because it’s quick to write and easy to pass around: Claude can export a document as Markdown, and programmers write their README notes in it.

On a Mac

Select the file in Finder and press the space bar: Quick Look shows the plain text, marks and all. TextEdit opens it the same way. Neither one shows the formatting.

Quick Look, on every Mac
  1. Select it in FinderIn Downloads, say
  2. Press the space barQuick Look opens
  3. Read the plain textMarks and all
Quick Look on a Mac showing weekend-trip-plan.md as plain text, with its pound signs and asterisks.
Quick Look: the plain text, marks and all. Captured .
Notes on a Mac showing a note imported from weekend-trip-plan.md, with formatted headings, a checklist and a table, in an Imported Notes folder.
Notes, after File, Import Markdown: a formatted copy. Captured .
  • On macOS Tahoe 26 and later, Notes can bring the file in with File, Import Markdown. You get a formatted note, but it’s a copy inside Notes, so what you change there stays in Notes, not in the .md file.

On Windows

A Windows 11 PC goes a step further. Right-click the file and choose Edit in Notepad, which newer updates put under App extensions. Recent versions of Notepad show Markdown formatted, with a button in the status bar that switches between Formatted and Markdown syntax. When it works, the pound signs disappear and the headings turn large and bold.

Notepad, on Windows 11
  1. Right-click the fileIn File Explorer
  2. App extensionsOn newer Windows 11 updates
  3. Edit in NotepadIt opens as text
  4. Switch to FormattedThe status bar button
File Explorer on Windows 11 with the right-click menu open on weekend-trip-plan.md, at App extensions, then Edit in Notepad.
Edit in Notepad, under App extensions. Captured .
Notepad showing weekend-trip-plan.md as Markdown syntax, with an Unsupported Syntax Detected message and Continue and Cancel buttons.
The warning when the file has a checkbox or a quote. Captured .
Notepad showing weekend-trip-plan.md formatted: large bold headings, lists and a table, with Formatted in the status bar.
The formatted view. Captured .
  • The formatted view skips checkboxes and quotes. When the file has them, Notepad warns that switching views could change parts of your Markdown, and choosing Continue does change the text.
  • If your Notepad only shows the marks, it’s an older one: Microsoft added the formatted view in version 11.2504, Windows Insiders first, and Notepad updates through the Microsoft Store.

VS Code

For a fuller preview on Windows, a Mac or Linux there’s VS Code, Microsoft’s free code editor. Open the file and press Ctrl+Shift+V (⇧⌘V on a Mac): the formatted page takes the place of the text in the same tab. Ctrl+K V opens it beside the text instead.

A fuller preview, on any computer
  1. Open it in VS CodeMicrosoft’s free code editor
  2. Press Ctrl+Shift+V⇧⌘V on a Mac
  3. Read the previewIn place of the text
VS Code on Windows with weekend-trip-plan.md open as text, under a Restricted Mode banner.
Opened from Downloads, under the Restricted Mode banner. Captured .
VS Code’s Markdown preview of the same file on Windows, with the packing list shown as [x] and [ ] brackets and a formatted table.
The preview, with the checkboxes left as brackets. Captured .
VS Code on a Mac showing the Markdown preview of weekend-trip-plan.md after ⇧⌘V.
On a Mac, ⇧⌘V. Captured .
  • It’s built for programmers. A file you downloaded can open under a Restricted Mode banner, VS Code’s guard for files from places it doesn’t trust yet, and the preview leaves checkboxes as [x] and [ ] brackets.

On a phone

Phones are where people get stuck. Tap an MD file in the iPhone’s Files app and you see the plain text with every mark in place. On a stock Android phone, the built-in Files app won’t open it at all. Neither comes with a way to show the formatting.

Phones show the marks, or nothing at all
  • iPhone: the marks, in Files’ preview
  • Can’t open fileAndroid: the Files app won’t open it
The iPhone Files app’s preview of weekend-trip-plan.md: the plain text with its pound signs and asterisks, and a markd.ly button at the bottom because Markdly is installed.
iPhone Files: the plain text. The markd.ly button only appears with Markdly installed. Captured .
Android’s Files app showing weekend-trip-plan.md in Downloads, with the message Can’t open file.
Android’s own Files app: Can’t open file. Captured .
  • The Android result comes from the Files app a stock Android phone ships with. Phones whose maker adds its own file manager weren’t part of this test.

Why Markdly

Markdly is made for Markdown on Mac, Windows and Linux, and on iPhone, iPad and Android. It opens an MD file the way each device expects, shows it formatted, and saves your changes back into the same plain .md file.

One app on every device
  • Mac
  • Windows
  • Linux
Markdly
  • iPhone
  • iPad
  • Android

Sign in with the same Bravely Account on each one.

Markdly on a Mac

Right-click the file, choose Open With, then Markdly. The buttons at the top switch between Visual for the formatted page, Markdown for the text, and Split for both, the text beside the page.

Open it in Markdly on a Mac
  1. Right-click the fileIn Finder
  2. Open With, then MarkdlyIt’s on the list
  3. Pick a viewVisual, Markdown or Split
Finder on a Mac with the right-click menu on weekend-trip-plan.md open at Open With, listing TextEdit, Markdly and Notes.
Open With, then Markdly. Captured .
Markdly for Mac showing weekend-trip-plan.md in Visual view: the title, the dates and the Friday and Saturday lists.
Visual: the formatted page. Captured .
Quick Look showing weekend-trip-plan.md as plain text after an edit in Markdly, with the changed line, Lake cabin, an hour and a half north.
Edited in Markdly and saved: still a plain .md file. Captured .
  • Edit a line and save, and it’s still a plain .md file that any other editor can read: nothing is imported or converted.
  • To open every .md file in Markdly with a double-click, select one in Finder, choose File, Get Info, pick Markdly under Open with, and click Change All.

Markdly on Windows

Right-click the file and choose Open with: Markdly is on the list, and a click opens the file in it. To make it the app for every .md file, choose Choose another app instead, select Markdly and click Always. Markdly never makes itself the default; you choose it.

Open it in Markdly on Windows 11
  1. Right-click the fileIn File Explorer
  2. Open withMarkdly is on the list
  3. Choose another appTo make it your default
  4. Markdly, then AlwaysOr Just once
File Explorer’s Open with menu on weekend-trip-plan.md, listing Markdly, Notepad, Visual Studio Code, Search the Microsoft Store and Choose another app.
Open with lists Markdly first. Captured .
Windows’ Select an app to open this .md file dialog with Markdly selected and the pointer on Always.
Choose another app: Markdly, then Always or Just once. Captured .
Markdly for Windows with weekend-trip-plan.md open in Split view: the Markdown on the left and the formatted page on the right.
Markdly for Windows, in Split view. Captured .
  • You can also open Markdly and choose Open (Ctrl+O), or drag the file onto its window.

On iPhone and Android

On an iPhone or iPad, open the file’s preview in Files again: with Markdly installed, its markd.ly button sits right under the text. Tap it, switch to Visual, and the headings, the checklist and the table appear as they’re meant to look.

On an Android phone with Markdly open, tap the file in Files and it goes straight into Markdly, in Visual. Change a line in the Markdown view, and save it back to the same file.

Markdly on an iPhone showing weekend-trip-plan.md in Visual view, with formatted headings and lists.
iPhone: Markdly’s Visual view. Captured .
Markdly on an Android phone showing weekend-trip-plan.md in Visual view, with formatted headings, lists and a checklist.
Android: the same file in Visual. Captured .

Markdly on Linux

With the .deb package installed, Markdly appears in your file manager’s Open With menu for Markdown files, under the name Markdly.

Recap

The short version
  1. An MD filePlain text with a few marks
  2. On a computerNotepad or VS Code shows it formatted
  3. AnywhereMarkdly, your phone included

The free ways, and Markdly

What’s already on your devices and what’s free, each with its catch.

  • Built in

    Notes on a Mac

    Cost
    Free: part of macOS Tahoe 26 and later
    Good for
    A formatted read on a recent Mac.
    The catch
    File, Import Markdown makes a copy as a note, so your changes stay in Notes, not in the .md file.

    Apple: Import, export and print notes on Mac (read )

  • Built in

    Notepad on Windows 11

    Cost
    Free: part of Windows 11
    Good for
    A quick formatted read on a Windows 11 PC.
    The catch
    Its formatted view skips checkboxes and quotes, and switching views when they’re present changes the text.

    Windows Insider Blog: Text formatting in Notepad (May 30, 2025) (read )

  • Free

    Visual Studio Code

    Cost
    Free
    Good for
    Windows, Mac or Linux, if a code editor suits you.
    The catch
    Downloaded files can open under Restricted Mode, and the preview leaves checkboxes as brackets.

    Visual Studio Code docs: Markdown (read )

  • Free

    GitHub

    Cost
    Free
    Good for
    A file that’s already in a GitHub repository.
    The catch
    Only for files on GitHub: github.com shows them formatted, and Code or Raw shows the plain text.

    GitHub Docs: Viewing and understanding files (read )

  • Our app

    Markdly

    Cost
    $19.99 once for every platform
    Good for
    Reading and editing MD files with their formatting on every device you use.
    The catch
    It’s paid, and you sign in with a Bravely Account on each device.

What Markdly doesn’t do here

  • It isn’t free: $19.99 once.
  • You sign in with a Bravely Account on every device.
  • Code blocks aren’t colored by language.
  • There’s no web version; it’s an app for each device.

FAQs

What is an MD file?

A Markdown document: plain text where a few marks, such as pound signs and asterisks, say how the words should look. Any text editor opens it, and a Markdown app shows the formatted page.

What does .md stand for?

Markdown. The .md extension, or the longer .markdown, marks a file written in it.

What app opens MD files?

Any text editor shows the text with its marks. To see the formatting, use Notepad on a recent Windows 11 PC, VS Code’s preview on any computer, or Markdly on a computer or a phone.

How do I open an MD file on Windows 11?

Right-click it, choose App extensions, then Edit in Notepad, and click the status bar button until it reads Formatted. VS Code’s preview (Ctrl+Shift+V) and Markdly show it formatted too.

Why don’t I see Edit in Notepad when I right-click?

Newer Windows 11 updates moved it from the top of the right-click menu into App extensions.

Why does Notepad show the pound signs and asterisks?

It’s in its Markdown syntax view, or it’s an older Notepad. Click the status bar button to switch to Formatted; if there’s no such button, update Notepad from the Microsoft Store.

How do I open an MD file on a Mac?

Select it and press the space bar to read the text in Quick Look, or open it in TextEdit. For the formatting, import it into Notes on macOS Tahoe 26 or later, preview it in VS Code with ⇧⌘V, or open it in Markdly.

Can Quick Look show an MD file formatted?

No. Quick Look on a Mac shows the plain text, with every mark where it was typed.

How do I open an MD file on an iPhone or iPad?

The Files app previews it as plain text. With Markdly installed, tap its button under that preview and switch to Visual to see the formatting.

How do I open an MD file on Android?

A stock Android phone’s Files app can’t open one. Install Markdly from Google Play, open it, and then tap the file in Files to read it in Visual.

Why does Android say “Can’t open file”?

The Files app can’t show an MD file itself, and no app on the phone has offered to open one. Installing a Markdown app such as Markdly gives it one.

How do I see the formatting instead of the symbols?

Open the file in something that renders Markdown rather than a plain text editor: Notepad’s formatted view on Windows 11, VS Code’s preview, github.com for a file on GitHub, or Markdly’s Visual view.

How do I preview an MD file in VS Code?

Press Ctrl+Shift+V, or ⇧⌘V on a Mac, to swap the text for the formatted preview. Ctrl+K V puts the preview beside the text so you can see both.

Why does VS Code say Restricted Mode?

VS Code opens files from places you haven’t marked as trusted, such as Downloads, with some features held back. The Markdown preview still works, as the screenshots above show.

Why do checkboxes show up as [x] and [ ]?

Checkboxes come from GitHub Flavored Markdown, not the original, so not every viewer draws them. VS Code’s preview leaves the brackets, and Notepad’s formatted view skips them.

How do I open an MD file that Claude made?

Save it to your device first: Claude can export a document as a Markdown file. Then open it like any other MD file, in Notepad, VS Code or Markdly.

Can GitHub show an MD file formatted?

Yes, for a file in a GitHub repository: github.com shows it formatted, and Code or Raw shows its text.

How do I make Markdly open MD files on a double-click?

On a Mac, select a file, choose File, Get Info, pick Markdly under Open with and click Change All. On Windows 11, use Open with, Choose another app, select Markdly and click Always, or pick it for .md in Settings, Apps, Default apps.

Does Markdly change my file?

Only by what you edit. It opens the file where it is and saves it back as plain text into the same .md file, so any other editor still reads it.

Can I edit an MD file on my phone?

Yes, in Markdly: the Markdown view on an iPhone, iPad or Android phone edits the text, and Visual shows the result.

Which files does Markdly open?

.md, .markdown, .mdown, .mkd and .mkdn files, and plain .txt files.

Does Markdly need an internet connection to show the formatting?

No. Visual draws tables, task lists, code blocks, Mermaid diagrams and math with no connection, because what draws them is built into the app.

Which devices does Markdly run on?

Macs on macOS 14 or later, Windows 10 and 11 PCs (x64), 64-bit Linux PCs as a .deb or an AppImage, iPhones and iPads on iOS 17 or later, and Android phones on 8.0 or later.

Markdly icon

Markdly

Native markdown editor

$19.99 once, no subscription.

Updated . Facts about other companies’ products were read on their own pages on the dates shown and can change.