JavaScript Document Viewer Library

PSPDFKit for Web includes support for client-side rendering of PDF, Word, Excel, and PowerPoint documents directly on any browser — no external dependencies or MS Office licenses required. It offers developers a way to quickly embed a highly configurable document viewer in any JavaScript-based web application.

Key Capabilities

PDF and MS Office

Open PDF, Word, Excel, and PowerPoint documents

Client-Side

Workload is offloaded to the client (no server needed)

Customizable UI

Hide or add buttons, and match your look and feel

Responsive

Mobile-friendly UI auto-adjusts to all screen sizes

Accessible

Built-in assistive technology-friendly features

Browser Support

Works on all modern browsers and devices

Extendable

Convert to PDF for collaboration, editing, and more

Essential Guides

Performance

Viewing Options

Fonts

Rendering

More Viewer Guides

File Type Support

PSPDFKit for Web enables you to load, save, convert, and edit 15 different PDF, document, Office, and image file types.

Opening MS Office and image files requires the Office Files and Image Documents components to be enabled in your license.

PDF Documents
Images
Office Documents

Framework Support

The document viewer is compatible with any JavaScript framework, including React, Angular, Vue.js, Svelte, Blazor, Next.js, TypeScript, Nuxt.js, and jQuery. It’s also compatible with Electron, ASP.NET, PHP, Laravel, Rails, and HTML5.

Opening and Viewing PDFs with PSPDFKit for Web Standalone

To load PDFs, use the load method, which takes a Configuration object as its parameter. This object specifies where the document is loaded on the page, the path to the source document, the license key, and more. For more information, see the guides on loading a document.

Free Trial

Enjoy unlimited trial usage of all our products. Get guidance and tech support from developers who built the product, and get started within minutes.