TPTruPDF

TruPDF documentation

TruPDF is a standalone, embeddable document viewer for the web. PDF render + 35+ annotation types + AcroForm/XFA forms + Office/HTML/image conversion + structural redaction + digital signatures + document compare + OCR + real-time collaboration + AI features + 3D PDF poster rendering, shipped as a typed TypeScript SDK with React, Vue, Angular, and Svelte wrappers.

The rendering, annotation, and document-writing engines are built and maintained by TruenoTech — nothing in the runtime carries copyleft obligations into your product. Pixel-accurate render. Acrobat-compatible XFDF.

Start here

  • Quick setup — get the SDK installed and rendering a PDF in five minutes.
  • Advanced setup — env vars, package registry, self-hosted conversion + redaction services, secure mode, AI provider config.
  • Architecture — three-layer rendering, coordinate systems, secure mode.
  • Licensing — tiers, trial behaviour, feature gates, renewals.

Features

  • Viewer & navigation — zoom, rotate, search, thumbnails, outline, page operations, print, export, attachments.
  • Annotations — 35+ types, XFDF round- trip, undo/redo, replies, presets, stylus input.
  • Forms — AcroForm, static XFA, FDF / XFDF data, sandboxed calculation engine.
  • Conversion — Office, HTML, images, text, markdown, email, XPS, legacy WebViewer XOD, and 2D CAD → PDF via the TruPDF conversion engine.
  • Security & redaction — DRM, watermark, audit log, structural redaction via the TruPDF document service.
  • Digital signatures — PKCS#7 sign, cert-chain verify, OCSP/CRL, LTV check.
  • Document compare — text diff, visual diff, side-by-side, overlay.
  • OCR — the TruPDF OCR engine (WASM, runs fully in-browser), ~100 languages, lazy loaded.
  • Collaboration — real-time annotation sync over WebSocket.
  • Content editing — insert paragraph, insert image, replace text via content-stream rewrite.
  • AI features — summarize, explain, extract, parse, with provider abstraction (Anthropic, Gemini, OpenAI- compatible, on-prem MCP).
  • Accessibility — WCAG 2.2 AA, keyboard navigation, screen-reader live regions, RTL.
  • Mobile & touch — pinch zoom, two-finger rotate, stylus input, responsive toolbar.

Customization

API reference

Roadmap

Build phases — what's shipped, test counts, what's next.