MD2PDF OnlineMD Converter
← Back to Blog

How to Convert Markdown to PDF on Your Phone (iPhone & Android, 2026)

You're on the train, someone messages "can you send me the spec as a PDF?", and you only have your phone. The Markdown is in a Notion doc / a GitHub README / an Obsidian vault / an email. How do you get a PDF out of it — without installing anything?

Short answer: use a browser-based converter. Every modern iPhone and Android browser can render Markdown live and export to PDF using the OS's built-in "Print to PDF" — no app store detour required.

This guide walks through five scenarios in order of how often they come up. Each takes under 60 seconds once you know the steps.

The One-Minute Method: MD2PDF Online in a Mobile Browser

The fastest path works on any phone with a browser:

  1. Open md2pdfonline.com/md-to-pdf in Safari (iPhone) or Chrome (Android).
  2. Paste your Markdown into the editor — the preview appears below on mobile (tap Preview if you don't see it).
  3. Tap Export to PDF. The file downloads to your Files app (iOS) or Downloads folder (Android).
  4. Long-press the file to share it via Messages, WhatsApp, or email.

Because the conversion runs entirely in the browser, your document never uploads to a server — a nice property when the doc is sensitive (contracts, resumes, medical notes).

Why this method wins for phones:

  • No app install (App Store / Play Store friction is real).
  • Works on both iOS and Android with identical UX.
  • Split-pane editor collapses into a Edit / Preview tab switch on small screens, so nothing is cramped.
  • Live preview means you can proofread before exporting — cheaper than "export, notice a typo, fix, re-export."

Scenario 1: You Have a GitHub README to Send

Say a client asks for your project README as a PDF. On desktop you'd probably use Pandoc. On mobile:

  1. Open the repo in your browser.
  2. Tap the README file → Raw (the raw view is plain Markdown, not GitHub's rendered HTML).
  3. Long-press → Select allCopy.
  4. Switch to md2pdfonline.com/md-to-pdf, paste, tap Export to PDF.

The result renders code blocks with syntax highlighting, tables with borders, and GFM task lists — the parts of a README that usually break in "Save as PDF" from the GitHub page itself.

If the README uses relative image paths (./images/foo.png), those won't resolve — replace them with absolute GitHub URLs (https://raw.githubusercontent.com/user/repo/main/images/foo.png) before pasting.

Scenario 2: You're in Obsidian Mobile

Obsidian has a built-in PDF export on desktop, but the mobile app doesn't include it as of 2026. Two workarounds:

Option A — Copy through the browser (works everywhere):

  1. In Obsidian mobile, open your note → tap the menu → Copy to clipboard.
  2. Open md2pdfonline.com/md-to-pdf in your browser, paste, export.

Option B — Sync to a cloud folder and use desktop:

If the doc is long and formatting-sensitive, sync the vault to iCloud/Dropbox and export from a laptop later. But for anything under ~10 pages, Option A is faster.

For a deeper dive into all four Obsidian → PDF paths (mobile and desktop), see our Obsidian export guide.

Scenario 3: You Only Have Notion Content

Notion's own Export as PDF exists on mobile but produces a PDF that looks like a screenshot of Notion — nice, but bloated, and with poor typography for long documents.

If you want a cleaner PDF from Notion on mobile:

  1. In Notion, tap ExportMarkdown & CSV.
  2. Notion generates a .zip — open it in Files (iOS) or a file manager (Android) and extract the .md.
  3. Open the .md in a text editor app (or just view it in the browser), copy the content.
  4. Paste into md2pdfonline.com/md-to-pdf and export.

For teams that do this often, our Notion to PDF guide covers the full desktop workflow with formatting tips.

Scenario 4: The Markdown Is in a Chat Message or Email

Someone pasted Markdown into Slack / iMessage / WhatsApp and asked you to send it back as a PDF. The trick that saves the most time is realizing you don't need to save the text to a file first:

  1. Long-press → Copy the Markdown from the message.
  2. Open md2pdfonline.com/md-to-pdf.
  3. Paste directly into the editor.
  4. Export.

The clipboard is your file. No intermediate steps.

Scenario 5: You Want a Truly Offline PDF (No Network)

Airplane mode, tunnel, poor signal — sometimes the browser method won't work. Options:

iPhone / iPad — Shortcuts app:

You can build a one-tap Shortcut that takes the clipboard, renders it through a JavaScript action, and saves a PDF. The community shortcut Markdown to PDF (search "markdown to pdf" in the Shortcuts gallery) does this offline. Install once, then it lives in your share sheet forever.

Android — Markor + Print:

Markor is a free, offline Markdown editor. Open your .md file → tap the print icon → Save as PDF. The typography isn't as polished as a proper converter, but it works with zero network.

For anything more advanced (custom fonts, page numbers, TOC), you'll want desktop tools — see the Pandoc vs online tools comparison.

Mobile Gotchas Worth Knowing

iOS PDF filenames are terrible by default. Safari saves downloads as "Document.pdf". Before tapping Export, give the editor's document a name in the toolbar (or rename after download in the Files app).

Android split-screen is your friend. On a Pixel or Samsung, put the browser and your note-taking app side-by-side. Copy-paste becomes drag-drop.

Big documents can hit the browser's memory ceiling. Anything over ~200 KB of Markdown (roughly 200 pages of text) may make Mobile Safari sluggish. For those, chunk the doc into 2–3 exports and merge PDFs after using the iOS Files → long-press → Create PDF merge feature.

Font rendering differs from desktop. Mobile browsers may substitute fonts if your Markdown uses HTML <font> tags or custom CSS. Stick to plain Markdown syntax and let the converter's default theme apply — it's tested for both platforms.

Why Not Just Use a Native App?

You can — there are plenty of "Markdown to PDF" apps on the App Store and Play Store. Two reasons most people stop using them:

  1. They upload your document to a server to do the conversion, which is a privacy issue for anything sensitive. A browser-based converter that runs client-side keeps everything on-device.
  2. They ship stale rendering engines. New GFM features (task lists, footnotes, MathJax) show up in modern browsers years before they land in third-party mobile apps.

A well-built mobile web tool matches or beats native for this specific job. The only case where native still wins is offline conversion — covered above.

Frequently Asked Questions

Can I convert Markdown to PDF on iPhone without any app?

Yes. Open a browser-based converter like MD2PDF Online in Safari, paste your Markdown, tap Export to PDF. The PDF saves to your Files app. No install needed.

Does the conversion work offline?

MD2PDF Online works offline after the first load — the page is a Progressive Web App, so once cached it renders and exports without network. For guaranteed offline use with more control, the iOS Shortcuts route or Android Markor app work fully offline from install.

Can I export to Word or HTML from my phone too?

Yes — MD2PDF Online has Markdown to Word, Markdown to HTML, and Markdown to Mind Map tools that all work identically in mobile browsers. The Mind Map tool is particularly satisfying on a phone — you get an interactive, zoomable diagram from any Markdown outline.

The PDF looks different from my desktop preview — why?

Two common causes: (1) fonts installed on your desktop aren't on your phone, so the browser substitutes; (2) your desktop preview used a different theme. To keep them identical, both devices should be using the same online converter — the rendering pipeline is browser-based, so it's consistent across devices.

Can Google Docs handle Markdown to PDF on mobile?

Docs added paste-Markdown support in 2023, so you can paste Markdown into a doc and get formatted output, then File → Download as PDF. It works but produces a "Google-doc-shaped" PDF (wide margins, Roboto font, no code-block styling). For technical docs, a proper Markdown-to-PDF tool looks much better.

The Bottom Line

Converting Markdown to PDF on a phone in 2026 shouldn't need an app. Open MD2PDF Online, paste, tap Export. Done in the time it takes to switch back to Messages and hit Send.

For the edge cases — GitHub READMEs, Notion, Obsidian, offline — the scenarios above cover 95% of what people actually run into on the road. Bookmark this page; you'll be back next time someone asks for a "quick PDF."


Related reading: