You downloaded a .md file — maybe a README from GitHub, documentation from a colleague, or notes from your computer — and your Android phone has no idea what to do with it. You tap the file and get “Can’t open file” or it opens in a text editor showing raw symbols like ##, **, and ---.
Sound familiar? Here’s how to fix it.
What is a .md File?
A .md file is a Markdown file — a plain text document with simple formatting syntax. Markdown is the standard format for:
- GitHub README files — project documentation
- Technical documentation — API guides, setup instructions
- Note-taking apps — Obsidian, Logseq, Foam
- Static site generators — Jekyll, Hugo, Astro, Next.js
- Developer wikis — internal team documentation
The raw text looks like this:
# Project Setup
## Requirements
- Node.js >= 18
- npm or yarn
## Installation
Run `npm install` to install dependencies.
| Command | Description |
|---------|-------------|
| `npm start` | Start the server |
| `npm test` | Run tests |
When rendered properly, this becomes beautifully formatted with headings, bullet lists, code highlighting, and styled tables.
Method 1: Use MerMD (Recommended)
The fastest and best-looking option. MerMD is a free Markdown viewer designed specifically for Android.
Step-by-Step
- Install MerMD from Google Play Store
- Find your .md file using any file manager (Files by Google, Solid Explorer, etc.)
- Tap the file → Choose “Open with” → Select MerMD
- Your file renders instantly with full formatting
What You Get
MerMD doesn’t just show plain text — it renders everything:
- ✅ Headings with proper hierarchy and styling
- ✅ Bold, italic, strikethrough formatting
- ✅ Code blocks with syntax highlighting (30+ languages)
- ✅ Tables with alignment and styling
- ✅ Mermaid diagrams — flowcharts, sequence diagrams, Gantt charts
- ✅ KaTeX math — inline and display equations
- ✅ Task lists with checkboxes
- ✅ Links and images properly rendered
- ✅ Dark mode for comfortable reading
Set as Default
After opening with MerMD once, tap “Always” when prompted to set it as your default .md file handler. Every .md file will open in MerMD automatically from then on.
Method 2: Open from Cloud Storage
If your .md files are stored in cloud services:
Google Drive
- Open MerMD → Connect Google Drive
- Browse to your file
- Tap to render
OneDrive / Dropbox
Same process — connect your account in MerMD and browse your files.
GitHub
- Open MerMD → Connect GitHub
- Browse repositories
- Open any README or documentation file
See our Google Drive Markdown guide for detailed setup instructions.
Method 3: Plain Text (Basic)
If you just need to read the raw content without formatting:
- Open any text editor app (QuickEdit, Acode, etc.)
- Navigate to the
.mdfile - Open it — you’ll see raw Markdown syntax
Downside: No formatting. You see ## Heading instead of a styled heading, **bold** instead of bold, and tables appear as pipe characters.
Why Your Phone Can’t Open .md Files by Default
Android doesn’t include a built-in Markdown renderer. The operating system recognizes .md as a text file but doesn’t know how to render the formatting. This is why you need a dedicated viewer.
Common error messages:
- “Can’t open file” — no app is registered for
.mdfiles - “Choose an app” — Android is asking which app to use
- File opens as plain text — the app doesn’t understand Markdown
Common .md File Sources
From GitHub
When you download a repository as ZIP, it includes README.md and often many other .md files for documentation. These are meant to be rendered, not read as raw text.
From Colleagues
Developers often share documentation as .md files — setup guides, API references, meeting notes. Without a viewer, these files are hard to read.
From Note-Taking Apps
If you use Obsidian, Logseq, or another Markdown-based note app on your computer, your notes are .md files. Sync them to your phone and read with MerMD.
From Downloads
Many open-source projects, tutorials, and courses provide documentation as Markdown files.
File Extensions MerMD Supports
| Extension | Type | Supported |
|---|---|---|
.md | Markdown | ✅ |
.markdown | Markdown (long form) | ✅ |
.mdx | Markdown with JSX | ✅ |
.txt | Plain text | ✅ |
.mdown | Markdown (alternate) | ✅ |
Tips for Managing .md Files on Android
1. Set MerMD as Default Handler
Long-press a .md file → Open with → MerMD → Always. Never see the “choose an app” dialog again.
2. Use File Manager Integration
MerMD works with all popular file managers:
- Files by Google
- Solid Explorer
- Total Commander
- Cx File Explorer
3. Star Frequently Accessed Files
In MerMD, star important files for one-tap access from the Stars screen.
4. Use Recent Files
MerMD keeps a history of recently opened files. Find them quickly without navigating through folders.
Frequently Asked Questions
Is MerMD free? Yes, MerMD is completely free on Google Play with no ads.
Can I edit .md files with MerMD? MerMD is a dedicated viewer — it focuses on beautiful rendering. For editing, use a text editor like Markor or Acode on Android.
Do .md files contain viruses? No. Markdown files are plain text. They cannot contain executable code or malware. They’re one of the safest file formats to open.
What’s the difference between .md and .txt?
Both are plain text, but .md files use Markdown syntax for formatting. A Markdown viewer renders this syntax into styled content, while a text editor shows it raw.
Can I convert .md to PDF? Yes! MerMD can export Markdown files to PDF, HTML, and images. See our export guide for details.
Open Any .md File — Free on Google Play
MerMD opens and renders .md files beautifully on Android. Tables, code, diagrams, and math — all formatted perfectly.
Download MerMD