How to Open an MD File: Complete Markdown Viewer Guide

Open, preview, and export any .md file in your browser — free, no sign-up, nothing to install.

Open the Free Markdown Viewer →

Someone sent you a file ending in .md and it's just sitting there, refusing to open in anything useful — or it opens in Notepad and looks like a wall of hashtags and asterisks. You're not missing an app you've never heard of. You're looking at a Markdown file, and once you know what's going on, opening it properly takes about ten seconds.

Fastest way: open MD files online (no install)

If you just need to read or preview a Markdown file right now, skip installing anything. Drop the file into a browser-based markdown viewer and it renders instantly, with headings, bold text, tables, and links displayed exactly as the author intended.

This is the best option when you're on a shared or work computer, when you just want a one-time look at a README before deciding whether it's worth downloading an editor, or when you're on a Chromebook or tablet where installing desktop software isn't an option.

Quick answer: An .md file is a plain-text Markdown file. You can open it in any text editor (Notepad, TextEdit) to see the raw text, but to see it formatted — with real headings, bold text, and lists — you need a Markdown viewer. The fastest option is an online markdown viewer that works in your browser with no install. For regular editing, a code editor like VS Code or a dedicated app like Typora renders it automatically.

  • Markdown Cheat Sheet: Syntax, Examples & Quick Reference
  • What is an .md file, exactly?

    MD stands for Markdown — a lightweight way of formatting plain text that programmer John Gruber created in 2004. Instead of clicking a "Bold" button like in Word, you type **bold** and a Markdown-aware app turns it into actual bold text. A line that starts with # becomes a heading; a line starting with - becomes a bullet point.

    Because it's just plain text under the hood, a .md file is tiny, easy to version-control, and readable even if nothing renders it — which is exactly why it became the default format for README files on GitHub, technical documentation, note-taking apps like Obsidian and Notion exports, and a huge share of blog drafts and AI-generated text.

    Markdown's entire design goal, as Gruber originally put it, was readability: the raw text should be clear enough to publish as-is, even before anything converts it to HTML. — paraphrased from John Gruber's original Markdown syntax documentation, daringfireball.net

    Why does my .md file look like garbled text?

    If you double-click an .md file and your computer opens it in Notepad or TextEdit, you'll see the raw Markdown — things like ## Project Setup and [link](url) — instead of a clean, formatted page. That's not a broken file. Plain text editors don't know how to render Markdown; they just display the characters exactly as typed. To see the formatted version, you need an app that understands Markdown syntax and converts it to styled text on the fly. That's what every method below does.

    How to open MD files on Windows

    1. See the raw text: Notepad or WordPad

    Right-click the file → Open with → Notepad. This shows the plain Markdown source, which is fine for a quick peek but won't render any formatting.

    2. See it properly formatted: Visual Studio Code (free)

    VS Code is the most common way developers open .md files, and it's free. Install it, open the file, then press Ctrl+Shift+V to toggle the live preview pane — you'll see headings, bold text, and links rendered side-by-side with the raw source.

    3. A dedicated Markdown editor: Typora

    Typora shows the rendered formatting directly as you type, with no separate preview pane — closer to editing a Word document. It's a paid app after a trial but is popular for long-form Markdown writing.

    4. Set a default app for .md files

    Right-click any .md file → Properties → next to "Opens with," click Change → choose your preferred app → OK. Every .md file will now open in that app automatically when double-clicked.

    How to open MD files on Mac

    1. See the raw text: TextEdit

    Right-click → Open With → TextEdit. Like Notepad on Windows, this shows plain Markdown syntax, unformatted.

    2. Quick Look preview

    Select the file in Finder and press the Spacebar. Recent macOS versions render a basic formatted preview without opening any app — useful for a fast glance.

    3. Dedicated Markdown apps: MacDown, iA Writer, or Marked 2

    MacDown is free and open-source with a live split preview. iA Writer is a clean, distraction-free paid writing app. Marked 2 is a paid preview-only app many writers pair with a separate plain-text editor.

    4. VS Code

    Same as Windows: install VS Code, open the file, press Cmd+Shift+V for the rendered preview.

    How to open MD files on Linux

    Most Linux distributions handle .md files well out of the box:

    • gedit or Kate — your default text editor, shows raw Markdown text.
    • VS Code — install via your package manager or Flatpak; same Ctrl+Shift+V preview as Windows.
    • ReText — a lightweight, Linux-native Markdown editor with a live side-by-side preview, available in most distro repositories.
    • Grip — a command-line tool that renders a .md file exactly as GitHub would display it, viewable in your browser at localhost.

    How to open MD files on Android and iPhone

    Email attachments and cloud-synced notes often land as .md files on your phone, and most default file apps won't render them.

    • Android: Markor (free, open-source) opens, edits, and previews .md files directly. 1Writer and iA Writer also have Android versions.
    • iPhone/iPad: iA Writer and 1Writer both open and render Markdown. The Files app can open .md files as plain text, but won't format them.
    • Either platform: if the file is small, pasting its contents into a mobile browser pointed at an online Markdown viewer works without installing anything.

    Converting an MD file to PDF, Word, or HTML

    If you need to hand a Markdown file to someone who doesn't want to deal with raw text at all, convert it first:

    • Online viewer tools (including ours) typically export directly to PDF or HTML with one click.
    • Pandoc is the standard free command-line converter for turning Markdown into Word, PDF, HTML, or even PowerPoint — useful if you're converting files in bulk.
    • VS Code extensions like "Markdown PDF" add an export option directly inside the editor.

    Which method should you actually use?

    MethodBest forInstall needed?Cost
    Online Markdown viewerA quick one-time look, any deviceNoFree
    VS CodeDevelopers, frequent editingYesFree
    Typora / iA WriterLong-form writing with a clean UIYesPaid
    Notepad / TextEditChecking raw syntax onlyAlready installedFree
    Mobile apps (Markor, iA Writer)Reading/editing on phone or tabletYesFree–paid

    Quick Markdown syntax cheat sheet

    You typeYou get
    # HeadingLarge heading
    **bold**bold
    *italic*italic
    - itemBullet list
    1. itemNumbered list
    [text](url)Hyperlink
    ![alt](image.png)Embedded image
    `code`Inline code

    Frequently asked questions

    What does the .md file extension mean?

    MD stands for Markdown, a lightweight plain-text formatting syntax created in 2004. Files with a .md or .markdown extension contain text written in that syntax.

    What program opens .md files by default?

    On Windows and Mac, .md files usually open in your default plain-text editor (Notepad or TextEdit) because the operating system treats them as plain text. To see them formatted instead of raw, you need a Markdown-aware app or an online markdown viewer.

    Can I open an MD file in Microsoft Word?

    Word can open a .md file as plain text, but it won't render the Markdown formatting — you'll just see the raw symbols. Convert the file to .docx first using an online converter or Pandoc if you want it to look formatted in Word.

    Is Markdown the same thing as HTML?

    No, though they're related. Markdown is a simpler syntax that gets converted into HTML behind the scenes. Writing **bold** in Markdown produces the same result as writing <strong>bold</strong> in HTML, but Markdown is faster to type and easier to read in its raw form.

    Why does my .md file show as a text file full of # and * symbols?

    That's the raw Markdown source — it's working correctly. The app you're using (usually Notepad or TextEdit) just isn't rendering the formatting. Open the same file in a Markdown viewer or editor to see it displayed properly.

    How do I convert an MD file to PDF?

    Open the file in an online Markdown viewer or VS Code with a Markdown-PDF extension, then use the export/print-to-PDF option. Command-line users can run Pandoc for batch conversions.

    Do I need to install software to view an MD file?

    No. An online Markdown viewer renders the file in your browser with no download, which is the quickest option if you only need to view the file occasionally.