Rust HTML + CSS + JS → Vector PDF

HTML, CSS & JS to Vector PDF. Zero Chromium.

The single-binary Rust HTML-to-PDF engine that actually runs modern JavaScript and matches modern CSS — CSS Grid, Flexbox, SVG, MathML, and scripted charts. Delete your 1.5 GB Puppeteer and Gotenberg containers without rewriting templates.

Warm API p50
27.9 ms
Peak RAM (CLI)
49.4 MiB

Live Playground

POST /v1/demo/render
HTML / CSS
Document preview Template sample

Edit the HTML or choose a sample, then render it with Charta.

Benchmarks

Measured against Headless Chrome.

Four identical templates — a B2B invoice, a two-page financial report with SVG charts, an audit certificate, and a JS-rendered analytics brief.

Loading benchmark results…

Metric Charta Rust binary + JS Headless Chrome Puppeteer / Gotenberg Static Engines WeasyPrint · PrecisionPDF · Fulgur PrinceXML
Cold start Process + first PDF————
Warm p50 render HTTP API / warm browser————
Peak RAM Measured command RSS————
Median PDF size Subsetted vector fonts————
Deployable footprint41 MB compressed 154 MB distroless image~1.0–1.5 GB Chromium + system deps15–80 MB Static layout only~45 MB Proprietary binary
CSS Grid + JavaScriptGrid + Flexbox + JS Charts, totals, SVGGrid + Flexbox + JSNo JavaScript Static HTML/CSS onlyGrid + JS (v17)
Self-hosted pricing$149/mo Team · $3,900/yr EnterpriseFree + RAM & ops overheadFree / Commercial$3,800+ / server
Methodology and per-template results

A dash marks an unmeasured metric. Reproduce the Chrome-vs-Charta benchmark locally with Node.js 22+:

node charta-web/benchmarks/vs-chrome.mjs --charta-bin ./target/release/charta --charta-url http://127.0.0.1:8080

Run with --chrome-only to collect a Chrome baseline first, and set CHARTA_API_KEY when targeting an authenticated server.

API quickstart

One POST. Vector PDF back.

Send HTML to POST /v1/render/pdf (or /v1/render/png) with a Bearer token in CHARTA_API_KEY. Network access is blocked by default so untrusted HTML stays sandboxed.

Single-binary CLI

charta pdf invoice.html -o invoice.pdf --margin 12mm --run-scripts

Pricing

EU-hosted API or your own static binary.

Start free in the playground. Upgrade to the Paris API or drop the static binary directly into your VPC.

Playground / Free

$0/mo

  • 1,000 API renders/mo
  • Live browser playground
  • Full CSS Grid, SVG & JS engine
Open playground

Pro API

$99/mo

  • 25,000 renders/mo
  • EU-hosted Paris (fr-par) API
  • 27.9 ms measured warm p50
  • Vector PDF + PNG output

Scale API

$299/mo

  • 150,000 renders/mo
  • High-concurrency worker pool
  • Custom font bundles
  • Priority queue & 99.9% SLA

Self-Hosted Team

$149/mo

$1,500/yr · Enterprise $3,900/yr

  • Single static charta binary
  • Zero outbound network calls (GDPR / HIPAA)
  • Unlimited renders on your hardware
  • Enterprise adds DPA, SLA & onboarding

Free 24-hour benchmark

Send us your 3 ugliest templates.

Migrating off Puppeteer, Gotenberg, Aspose, or WeasyPrint? Share three redacted HTML templates and sample data. Within 24 hours we’ll send back side-by-side PDFs, visual diffs, and exact latency & RAM numbers — free, no strings attached.

Early access

Request an invoice