Home  ›  Playgrounds

Interactive playgrounds

Ten hands-on environments that exercise the entire pdfnative ecosystem in your browser — from generating documents to inspecting the ones you already have. No install, no API keys, no build step. Pick a card to dive in — every playground includes a switcher at the top so you can hop between them without coming back here.

Extreme scripts Library

Stress-test BiDi mixing across Arabic + Hebrew + Thai + Latin, Tamil ultra-conjuncts, Bengali & Devanagari with reph and multi-halant ligature chains, and isolated Arabic harakat. Edit the inputs and regenerate.

BiDiGSUBGPOS22 scripts
Open extreme-scripts playground →

All 22 scripts + emoji Library

The flagship stress test: render every Unicode script pdfnative supports — 22 writing systems with BiDi and OpenType shaping — plus native COLRv1 colour emoji, all composited into a single PDF by one buildDocumentPDFBytes() call. The routing engine dispatches every code point to the right embedded font automatically.

22 scriptsColour emojiBiDiSubsetting
Open all-scripts playground →

PDF Toolkit Library engine 1.4.0 → 1.6.0

Outline bookmarks, page labels, viewer preferences, nested lists, cell borders, merge / split / extract — plus the 1.6.0 round trip: fill & flatten an encrypted AcroForm, re-encrypt a merged document (AES-256 password rotation), and extract text with positions. Each a one-click downloadable PDF.

BookmarksMerge/splitRe-encryptForm fillExtract text
Open PDF Toolkit playground →

Inspect & verify Library

Drop any PDF and read a full report — metadata, extracted text, PDF/UA structure, a signature inventory, and form fields — built by openPdf, extractText, validatePdfUA, listSignatures and readFormFields, entirely in your browser. Honest limits stated on the page: the PDF/UA check is structural, not an accessibility audit, and the signature card is an inventory, not cryptographic verification.

MetadataPDF/UASignaturesForm fieldsNothing uploaded
Open Inspect & verify playground →

Charts Library 1.6.0 → 1.7.0

Native vector charts — nine kinds: bar, horizontal-bar, line (with markers), pie, donut (v1.6.0), plus stacked bars, area, and scatter with a secondary axis, log & time scales, and data labels (charts v2, v1.7.0) — rendered as pure PDF path operators. Multi-series, legends, "nice" axis ticks, negative values, and tagged /Figure alt text. Each preset is a one-click downloadable PDF.

BarLinePie/DonutStacked/Area/ScatterZero-dep
Open Charts playground →

Authoring+ Library 1.5.0

Everything new in 1.5.0: SVG <text> labelled charts, the opt-in layout debug overlay (debug: true) plus inspectDocumentLayout(), and typed markup annotations with build + read-back — each a one-click downloadable PDF.

SVG textLayout debugAnnotationsInspect
Open Authoring+ playground →

Scale Library 1.6.0

Generate 1,000 to 100,000 pages in a Web Worker with buildDocumentPDFStreamTrue, which never joins the PDF binary. Three output sinks, a page count measured from the emitted bytes, and an honest indeterminate phase where no progress signal exists.

Web WorkerTrue streaming100k pagesBenchmark
Open Scale playground →

CLI builder CLI

Compose pdfnative-cli commands interactively — all 21 commands, from render and fill to the PAdES ladder (sign --timestamp · ltv · doc-timestamp), metadata, compare and batch --manifest. Live shell preview, validation rules, copy-to-clipboard, and one-click presets.

rendersignltvcomparebatch
Open CLI playground →

MCP tool explorer MCP

Browse the pdfnative-mcp v1.6.0 toolset (28 tools: incl. the PAdES ladder sign_pdf / add_ltv / timestamp_pdf, update_metadata, the read-only inspect_layout preview, page-tree merge_pdfs / split_pdf / extract_pages, markup annotate_pdf, the network-free draft_governance_issue), copy a ready-to-paste config snippet for Claude Desktop, Cursor, Continue, Zed (or any MCP client), and generate the same PDFs an AI assistant would receive — directly in your browser.

stdio toolsClaudeCursorZed+ any stdio client
Open MCP playground →

React renderer React

Write JSX with pdfnative-react v1.2.0 and render a real PDF on-device — a custom React 19 reconciler compiles <Document>/<Table>/<Barcode>/<Chart> straight to pdfnative blocks, no SaaS round-trip. Charts v2 and print production included. The demo loads React + the renderer from a CDN; the published package keeps the engine zero-dependency.

JSXreconcilerDocSpecon-device
Open React playground →

What about non-interactive examples?

The repository ships with 48 generators producing 242 sample PDFs across 37 categories covering financial statements, multi-language documents, barcodes, SVG, watermarks, forms, encryption, signatures, streaming, parser, charts, and stress tests. Run npm run test:generate after cloning.

Resources