Guide
How to open a .md file on Android
Your phone says there's no app to open the file, or it shows a page of text full of # and ** symbols. Here's how to read a .md file as a proper document in Chrome, without installing anything.
Why Android struggles with .md files
A .md file is a Markdown document: plain text where symbols stand for formatting (## for a heading, ** around bold words). Most Android phones don't come with anything that understands Markdown. Depending on your phone, tapping one either does nothing useful (“can't open file”) or opens it in a text viewer with all the symbols showing. (More on the format: What is a .md file?)
Read it formatted, in Chrome
- If the file came by email or in a chat app, download it first. It usually lands in your Downloads folder.
- In Chrome, open the Markdown Viewer on this site.
- Tap Choose a .md file, then find the file (look in Downloadsor Recent).
- The document appears formatted: headings, bold text, lists, tables, and links.
The file isn't uploaded anywhere. The viewer turns it into a document inside Chrome on your phone. Tip: tap ⋮ → Add to Home screen so the viewer is one tap away next time.
If you can't pick the file
If the file is grayed out in the picker, paste the text instead. Open the file in any text viewer (in Files, tap ⋮ → Open with), press and hold on the text, tap Select all and Copy, then paste it into the empty page on the viewer. It opens as a formatted document.
Save it as a PDF or Word file
To keep or forward a clean copy, use Markdown to PDF or Markdown to Word. Pick the file (or paste the text) the same way, tap the download button, and the PDF or .docx lands in Downloads, ready to share.
Just want the words, for a text message or an email? Remove Markdown strips the symbols out.
Do I need an app?
Not to read the occasional file; Chrome and the viewer are enough. If you edit .md files on your phone every day, a dedicated Markdown editor from Google Play will be more comfortable. For reading what someone sent you, the viewer is quicker.