FIRST CH TOOLS / Text / 14 MARP SLIDES

Marp to PDF — Online Marp Slide Editor

Marp is a Markdown-based slide deck format: you write plain Markdown, and --- on its own line starts the next slide. This is an online Marp editor — Markdown on the left, slides on the right — that turns a deck into PDF through your browser's print dialog, one slide per page with no margins. You can also download a self-contained HTML deck you can open anywhere. Includes a Japanese-friendly theme. Nothing to install, and your draft is never sent to a server.

How to Use

  1. Write MarkdownPaste into the editor or open a .md file. A line containing only --- starts the next slide.
  2. Pick a themeChoose the Japanese-friendly firstch theme or Marp's built-in default / gaia / uncover. A theme: directive in your Markdown wins over this selector.
  3. Save as PDFClick "Save as PDF" and pick "Save as PDF" as the print destination — one slide per page.

Marp to PDF: the page size you actually get

The PDF is produced by your browser's own print pipeline, not by a converter on a server, and the page size comes from the slide size of the deck rather than from A4 or Letter. The deck this page builds carries a @page { size: <slide width> <slide height>; margin: 0 } rule, so one slide fills exactly one page edge to edge. Measured on decks exported from this page:

size: directiveSlidePDF page boxPhysical size
none (Marp default, 16:9)1280 × 720 px960 × 540 pt338.7 × 190.5 mm
size: 4:3960 × 720 px720 × 540 pt254 × 190.5 mm

How this was measured: two- and three-slide decks were rendered here with the firstch theme, saved with "Download HTML", and printed with Chrome 153. The page boxes above are the /MediaBox values read back out of the resulting PDFs, and the page count matched the slide count exactly (2 slides → 2 pages, 3 slides → 3 pages). The geometry is the same whichever theme you pick: firstch, default, gaia and uncover all declare the same 16:9 1280×720 and 4:3 960×720 sizes, so the theme selector changes the look of the slides but never the size of the PDF pages.

Two things follow from that. The PDF is not A4, so printing it on paper needs the print dialog's scale-to-fit option — as a screen deck or an email attachment it is already the right shape. And a slide never spills onto a second page: a deliberately overflowing slide (a heading plus 40 bullets) still came out as a single page, with the extra content running off the bottom edge. If a slide is too full, split it with a --- line rather than expecting the PDF to continue it.

About This Tool

Rendering uses Marp's official marp-core v4.4.0 (MIT License), bundled for the browser. It is the same engine as Marp CLI and the VS Code extension, so a deck written here works unchanged with the marp command — and because the engine runs in the page itself, there is no Node install, no CLI and no account to set up before you can render a deck online. The PDF comes out of your browser's print pipeline; see the page-size section above for the exact dimensions.

The firstch theme tunes line height, letter spacing and heading rules for Japanese text. Set it explicitly at the top of your Markdown:

---
marp: true
theme: firstch
paginate: true
---

Images, math and syntax highlighting all work (math via KaTeX, code via highlight.js). Your draft is never uploaded — the only network requests come from images you reference by external URL in your own Markdown. Several of our other tools are also callable directly by AI agents through our MCP server (using these tools from AI agents).

Other Tools