Some test text!


WebViewer – JavaScript PDF Library

Works on all browsers and mobile devices without using plug-ins.
Supports PDF, MS Office, and 30+ formats.


  • View, annotate, and collaborate in real-time
  • Watermark, stamp, form fill, sign, search, and more
  • Client-side PDF editing (without a server)
  • Document security, DRM, encryption, redaction
  • Overprint, ICC color management, color separation
  • PDF, MS Office, and 30+ formats

Fully Customizable

  • Customize & style the UI, or build your own
  • Create custom controls and logic
  • Integrate into your workflows
  • Robust API

Integrate Quickly Into Your Project

PDFTron is easy to get up and running with popular package managers and a few lines of code.

View a Document

Customize the UI

Create an Annotation

Add a stamp

Fill forms

import WebViewer from '@pdftron/webviewer'

const viewerElement = document.getElementById('viewer');
  path: '/webviewer/lib',
  initialDoc: '',
}, viewerElement).then((instance) => {
  // call apis here

View our guides, sample code, or API docs for more information

Try our SDK for free today


Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.