Why convert to PDF
Markdown is plain text with symbols. Someone who receives your .md file may see only raw symbols, or be unable to open it at all. A PDF keeps headings, tables and code exactly as laid out and opens in any browser, email app or phone.
Convert a .md file to PDF in five steps
- Install Markdown Editor: MD Viewer from Google Play.
- Open your file. Tap the .md file in Files, Downloads, Google Drive or a chat app and choose Markdown Editor in Open with. See how to open a .md file on Android if you need help.
- Check the preview. The PDF is made to look like the formatted preview, so fix any problems first: switch to edit mode, correct the text and come back.
- Choose export, then PDF from the menu.
- Share or save it. Send the PDF by email or chat, or keep it in a folder or Google Drive.
What the free version includes
| Feature | Free | Pro (one-time purchase) |
|---|---|---|
| Open, read, edit and save .md files | Yes | Yes |
| PDF export | 1 export | Unlimited |
| HTML export | No | Unlimited |
| Mermaid diagrams | No | Yes |
The one free export lets you judge the result on a real document before deciding whether you need more.
Tips for a clean PDF
- Wide tables. Use the fit-to-screen option to see how a wide table will look before exporting.
- Images. Images linked from the internet need Settings, then Load images from the web, to be shown.
- Headings. Use one top-level heading for the title and lower levels for sections; the layout follows your structure.
- Maths. LaTeX formulas are rendered in the preview and appear in the PDF.
Converting text from an AI assistant
You do not need a file. Paste the answer into a new document and export it. The steps are in how to read markdown from AI assistants on your phone.
Other ways
You can also convert on a computer with a command-line tool or an online converter. On a phone, a dedicated app is the quickest route and keeps the document on your device.
Frequently asked questions
Is PDF export free?
The free version includes one PDF export, so you can check the result on your own document. Unlimited PDF and HTML export come with the optional one-time Pro purchase.
Will the PDF look like the preview?
That is the aim: the PDF is made to look like the formatted preview, including headings, tables, code and formulas.
Can I paste text instead of opening a file?
Yes. Paste markdown into a new document, for example an answer copied from an AI assistant, and export it the same way.
Is my document uploaded to convert it?
No. The conversion happens in the app on your phone. There is no account and no server.
Try it on your own files
Markdown Editor: MD Viewer is free to install, needs no account and keeps your documents on your phone.
Get it on Google Play