Open source · MIT licensed · Rust + WASM

Generate PDFs in milliseconds.No headless Chrome.

A fast Puppeteer and react-pdf alternative. JSX component model, Rust/WASM engine — runs anywhere JavaScript runs.

$ npm install @formepdf/cli @formepdf/react @formepdf/core
$ npx @formepdf/cli dev your-template.tsx
130 GitHub stars2k+ weekly npm downloadsMIT licensedRuns anywhere JS runs

Runs everywhere
JavaScript runs

0
Chromium binary
No
subprocess
The problem

Still launching Chrome to make a PDF?

Puppeteer spins up a whole headless browser for every document. That's slow, heavy, and fragile — especially on serverless and edge runtimes.

Cold starts before you render

Just launching Chromium takes 300–800ms before it can even begin drawing your page — a non-starter for fast APIs and edge functions.

Memory-hungry and crashy

A single render can blow past 500MB of RAM, and long or image-heavy documents routinely trigger “Page crashed” errors.

Won't run on the edge

You can't ship Chromium to Cloudflare Workers or Vercel Edge. Teams end up maintaining a separate render service just for PDFs.

Breaks on the next update

A Chromium bump or a stray CSS change can silently shift your layout, sending you back to debugging a browser you never wanted to run.

Forme is a real PDF engine — no browser involved. Predictable output, milliseconds per render, and it deploys anywhere JavaScript does.

Try it live

Edit the JSX below and watch the PDF render in real time. No sign-up, no server — everything runs in your browser.

invoice.tsx
Preview
Loading WASM engine...
Three ways to use Forme

Pick the level that fits your team.

The same engine, surfaced three ways. Start anywhere — switch when you outgrow it.

Open source

Self-host the engine

The Rust/WASM engine, MIT licensed. Drop it into Node, Workers, Edge, Bun, Deno, or the browser. Free forever.

  • Rust + WASM, no Chrome dependency
  • JSX component model — Document, Page, View, Text, Table
  • MIT licensed, fork-friendly
Hosted API

Hosted engine & API

The same open-source engine, hosted for you. One endpoint for generate, redact, merge, certify — no infrastructure to manage.

  • One key, one endpoint, every PDF operation
  • Monthly plan quotas — start free
  • Built on the open-source engine — identical output
Studio

Build it visually

A visual document builder for HR, legal, and operations teams. Branded templates without writing code.

  • Visual template builder
  • Fill a form, download a PDF in seconds
  • Starter templates: contracts, offer letters, NDAs

Start with the open-source engine.

MIT licensed, Rust + WASM, no Chrome attached. Use it standalone, or let us host it for you when you're ready.