Tramuta

Convert Markdown to HTML

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

Per platform

iPhone and iPad High fidelity
Android High fidelity

How it works

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

Markdown to HTML is about publishing: a page for a website, an article to paste into a CMS, a note to open in the browser already formatted. Tramuta does the conversion on your phone or tablet, inside the app, without sending the text to an online converter.

Why Markdown to HTML is “High fidelity”

Markdown was designed to become HTML: every heading, paragraph, list, quote, link and code block has a matching element. That is why on iPhone, iPad and Android this conversion is “High fidelity”, with no “What you lose” note.

Tramuta reads the text with the GitHub-style extensions: tables, fenced code blocks with their language (it becomes a language-… class on the code, the one syntax highlighters look for) and strikethrough. The result is a complete HTML5 document rather than a fragment: doctype, UTF-8, a title taken from the first Markdown heading or from the file name, and a print-friendly style sheet. The file ends with LF line endings.

What is left out on purpose

The page it produces never calls the internet and runs no code. HTML written by hand inside the Markdown goes through an allowlist: no scripts, iframes, on… attributes, remote images or url( in styles. Images stay only when embedded as data; others turn into their alt text. HTTP and HTTPS links are kept, with rel="noopener noreferrer". That way the file opens without loading anything from the internet.

Options

None: the conversion follows fixed rules, the same on every platform.

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 HTML.
  3. Tap “Convert”.
  4. Use “Share”, “Save to…” or “Open in…” to hand it to a browser or an editor.

If you need something to print or attach, Markdown to PDF starts from the same HTML. For a document to edit in a word processor there is Markdown to DOCX.

The two formats

  • Markdown

    Extensions: .md, .markdown

  • HTML

    Extensions: .html, .htm

Questions

Do I get a full page or just a fragment?

A full page: HTML5 doctype, UTF-8 encoding, a title and a print style sheet. The title is the first heading in the Markdown, or the file name.

Which Markdown extensions does it understand?

The GitHub-style ones: tables, fenced code blocks with the language kept as a class, and strikethrough, on top of standard Markdown.

Do scripts written in the Markdown stay in the HTML?

No. Hand-written HTML goes through an allowlist: scripts, iframes, on… attributes and remote images are removed. HTTP and HTTPS links stay.

Can I go the other way, from HTML to Markdown?

Yes, in the same app: HTML, Markdown and plain text convert into one another, keeping headings, lists, tables and code blocks.

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.