What is md2pdf and what does it do?

Updated

md2pdf is a browser-based Markdown-to-PDF converter. You open it in a browser, paste or load Markdown, edit it in the page, and export a PDF — and according to its own description, the conversion happens without any network requests, so your text isn't uploaded to a server. The trade-off is that it's a client-side app: JavaScript must be enabled or the page won't run at all.

What it does

The tool covers three steps in one screen, which is why its tagline is "Choose & Edit & Transform":

  • Choose — bring in the Markdown you want to convert, rather than starting from a blank page.
  • Edit — adjust the text before exporting, so you don't need a separate editor for small fixes.
  • Transform — render the Markdown and produce a PDF file.

Because the whole pipeline runs in the browser, there's no account step, no upload, and no server round-trip described on the page. That matters if you're converting internal notes, drafts, or anything you'd rather not send to a third-party service.

Why "offline" is the main selling point

Most Markdown-to-PDF tools fall into two groups: command-line tools you install locally (Pandoc, md-to-pdf, and similar), or web apps that send your text to a backend to render it. md2pdf sits in between — it's a web page, but the work happens on your machine.

Practical consequences:

Situation What it means with md2pdf
Sensitive or internal content Nothing is transmitted, per the tool's own description
Flaky or no internet The page still works once loaded, since no requests are made during conversion
No install rights on your machine Nothing to install — it runs in the browser
JavaScript disabled or blocked The app will not run; the page only shows a "enable JavaScript" notice

What to expect when you open it

The page itself is a JavaScript app, so the initial HTML is essentially empty — if you view source or load it with scripting off, you'll see only the JavaScript requirement message. That's normal for this kind of tool, not a sign it's broken.

If the page appears blank, the usual causes are:

  1. JavaScript blocked — by browser settings, an extension, or a corporate policy.
  2. The app hasn't finished loading — client-side apps render after the script executes.
  3. An aggressive content blocker — some blockers treat single-page apps as trackers.

When md2pdf is a good fit — and when it isn't

Good fit:

  • You want a quick one-off conversion without installing anything.
  • The Markdown contains content you'd prefer not to upload.
  • You need to tweak the text right before exporting.

Poor fit:

  • You need to convert many files in a batch or automate conversion in a build pipeline — a command-line tool is the better choice there.
  • You need precise control over PDF styling, headers, footers, or page breaks; a browser-based converter typically offers less control than a scriptable tool.
  • You're working in an environment where JavaScript can't run.

The short version

md2pdf is a no-install, no-upload Markdown-to-PDF converter that runs entirely in your browser. Reach for it when you want a fast, private, one-off conversion and you have JavaScript available; reach for a command-line tool when you need automation, batch processing, or fine-grained control over the output.