TPTruPDF

Introduction

TruPDF is a standalone, embeddable document viewer for the web. Plug it into any React, Vue, Angular, or Svelte application — or a plain DOM host — and ship PDF viewing, annotation, forms, conversion, redaction, signing, compare, OCR, collaboration, and AI features behind a single typed SDK.

What's in the box

CapabilityPackage
PDF render + virtualization@trupdf/core
Annotations (35+ types, XFDF round-trip)@trupdf/annotations
Forms (AcroForm + static XFA)@trupdf/forms
Conversion (Office, HTML, images, CAD → PDF)@trupdf/converter
Redaction, watermark, DRM, audit log@trupdf/security
Digital signatures (sign + verify)@trupdf/signature
Document compare (text + visual)@trupdf/compare
OCR (in-browser, WASM)@trupdf/ocr
Real-time collaboration@trupdf/collaboration
AI features (summarize, explain, extract)@trupdf/ai
Content editing@trupdf/content-edit
Accessibility (WCAG 2.2 AA)@trupdf/a11y
Internationalization (31 locales)@trupdf/i18n
Public SDK + Plugin API@trupdf/sdk
React / Vue / Angular / Svelte wrappers@trupdf/{react,vue,angular,svelte}
Licensing runtime@trupdf/licensing
3D PDF poster rendering@trupdf/threed

The single @trupdf/viewer package bundles every public surface, so typical hosts add one dependency.

Why TruPDF

  • Self-owned runtime. 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 rendering by the TruPDF render engine (worker-based, off-main-thread) with three-layer composition — render engine canvas + optional text layer + interactive annotation canvas.
  • Acrobat-compatible XFDF round-trip — annotations created in TruPDF render correctly in Acrobat / Chrome / Firefox / Edge / Preview, and vice-versa.
  • Structural redaction via the TruPDF document service — content is physically removed from the byte stream, not painted over.
  • Sandboxed AcroForm calculation engine — no eval, no new Function; recognised built-ins only.
  • Plugin API for toolbar buttons, sidebar panels, menu items, custom tools, and event subscriptions.
  • 31 locales including RTL (Arabic, Hebrew, Farsi).
  • Mobile first — pinch zoom, two-finger rotate, palm-rejected stylus input, responsive toolbar.

Architecture rules

These are non-negotiable — see Architecture.

  • Canvas-only rendering in secure mode. No DOM text layer.
  • XFDF is the wire format for annotations. No custom JSON invented to replace it.
  • The TruPDF conversion engine for non-PDF conversion. Every non-PDF format routes through a full-fidelity server-side render pipeline — never a lossy in-browser converter.
  • Structural redaction only. No CSS overlay. The engine refuses to burn if no structural adapter is registered.
  • No copyleft in the runtime. The entire runtime is TruenoTech-owned; the licensing posture is audited on every build.

Where next

  • Quick setup — installation and first render in five minutes.
  • Advanced setup — env vars, package registry, self-hosted services, secure mode.
  • Licensing — tiers, feature gates, trial flow, renewals.
  • Compatibility — XFDF, AcroForm/XFA, PDF spec coverage, browser matrix.