Some test text!


Advanced JavaScript samples


Shows how to preload WebViewer and documents to improve user experience.

linkText position

Shows how to extract text positions from a document. The sample highlights the positions with different colors.


Shows how to redact and permanently remove text, images or graphics from a document.

linkDiff Documents

Shows how to render three synchronized panels where the middle panel shows pixel differences between the two documents.

linkMeasurement Annotations

Shows how to create annotations that measure distance, perimeter and area.


Demonstrates how to extract canvas of each page. The sample uses turn.js to render them.


Demonstrates how to use ServiceWorker to use WebViewer offline.

Get the answers you need: Support


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.

Join our live demo to learn about use cases & capabilities for WebViewer

Learn more