Tramuta

Convert Markdown to PDF

Yes, on iPhone, iPad and Android, without uploading the file.

Per platform

iPhone and iPad Best effort What you lose: The PDF comes from printing the page in the web view: layout and styles may change.
Android Best effort What you lose: The PDF comes from printing the page in the web view: layout and styles may change.

How it works

  1. Import the MD file, or share it with Tramuta.
  2. Pick PDF among the formats.
  3. Tap “Convert”, then “Share” or “Save to…”.

If you write in Markdown, whether notes, documentation or a README, sooner or later someone asks for a PDF. Tramuta turns the .md file into an HTML page with a print style sheet and has the system web view print it to PDF, right on your phone or tablet, without uploading it to an online service.

What you lose from Markdown to PDF

Fidelity is “Best effort” on iPhone, iPad and Android: “The PDF comes from printing the page in the web view: layout and styles may change.” Markdown has no pages, so printing decides where the breaks fall, and the look comes from Tramuta’s style sheet rather than from the editor you write in.

The text is read with the GitHub-style extensions: headings, lists, quotes, links, tables, fenced code blocks and strikethrough all come across. The document title is the first heading in the Markdown or, if there is none, the file name. HTML written by hand inside the Markdown passes through a filter that strips scripts, iframes and event handlers.

Images and resources from the internet

Tramuta doesn’t use the network, and neither does printing: JavaScript is off and every non-local address is blocked. An image written as a link to a website, or to a path on your computer, turns into its alt text in the PDF; only images embedded in the file as data get in. When the renderer refuses an external resource, the result shows a notice, so you know the PDF doesn’t contain everything the file asked for.

Options for Markdown to PDF

  • “Page size”: A4 (default) or Letter.

Printing has a 60-second limit; a very long file that doesn’t finish in time gives a clear error, never an incomplete PDF.

How to do it in Tramuta

  1. Tap “Choose or drop files” and pick the .md file, or open it in Tramuta with Share or “Open in…”.
  2. Under “Convert to”, pick PDF.
  3. In “Options”, choose A4 or Letter.
  4. Tap “Convert”, then use “Share”, “Save to…” or “Open in…”.

If the file is headed for a website, Markdown to HTML is a high-fidelity conversion. If someone needs to edit it, there is Markdown to DOCX. For Word documents, the route is DOCX to PDF.

The two formats

  • Markdown

    Extensions: .md, .markdown

  • PDF

    Extensions: .pdf

Questions

Do Markdown tables make it into the PDF?

Yes. Tramuta reads Markdown with the GitHub-style extensions, so tables, fenced code blocks and strikethrough become tables, code and strikethrough in the PDF.

Why is one of my images missing?

Only images already embedded in the text as data get into the PDF. An image linked from the internet or from a path on your computer isn’t loaded, and its alt text appears instead.

Can I choose the page format?

Yes, with “Page size”: A4, the default, or Letter.

Does HTML written inside the Markdown work?

Partly. It goes through a filter that removes scripts, iframes and event handlers; the rest, such as HTML headings, tables or paragraphs, is printed.

Free on iPhone, iPad and Android

No ads, no in-app purchases, no account.

  • App Store

    iPhone and iPad, iOS 15.0 or later.

    Coming to the App Store
  • Google Play

    Android 7.0 or later.

    Coming to Google Play
  • APK for Android

    Android 7.0 or later, without Google Play.

    The APK is not available yet.