React 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 React-based web application.

Try for Free Launch Demo

PSPDFKit SDKs are deployed in some of the world’s most popular applications, such as those made by Autodesk, Disney, UBS, Dropbox, IBM, and Lufthansa.

Key Capabilities

  • PDF and MS Office — Open PDF, Word, Excel, and PowerPoint documents

  • Client-side — Workload is offloaded to 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

Information

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

File Type Support

  • PDF, PDF/A (1, 2, 3, 4)

  • DOCX, DOC, DOTX, DOCM, XLSX, XLS, XLSM, PPTX, PPT, PPTM

  • PNG, JPEG, JPG, TIFF, TIF

Document Viewer Guides

PDF Files
How to open PDF files

Office Documents
How to open MS Office documents

Images and Photos
How to display images in the viewer

Page Layout and Scroll
How to configure single- or double-page spreads and scrolling modes

Mobile Responsive
Learn about the responsive capabilities of the user interface

Fullscreen Mode
How to implement fullscreen mode using the fullscreen API

Magazine Viewer
How to implement a magazine viewer

Presentation Mode
How to display presentation slides

Zooming
How to manage zooming and configure automatic zoom

Accessibility
Learn about the viewer’s accessibility features

Performance Best Practices
Learn the best way to build a fast document viewer

Annotation Diff
Learn about transferring annotations efficiently

Caching Techniques
How to make your assets load quickly

Rendering PDF Pages
How to render single PDF pages as images

Render in Canvas
How to render a single PDF page as an image in a canvas element

Coordinate Space
How to convert to and from the PDF coordinate space

Watermark Rendering
How to render watermarks on top of a PDF

Font Rendering
How to configure custom fonts for rendering PDF documents

PDF JavaScript Support
How to enable PDF JavaScript support

Permissions
Learn about the document permissions that can be set

Free Trial

Start your free trial for unlimited access and expert support.

FAQ

What types of documents can PSPDFKit for Web view?

PSPDFKit for Web supports viewing PDF, Word, Excel, and PowerPoint documents directly in the browser. It can handle various file types including PDF, DOCX, XLSX, PPTX, PNG, JPEG, and TIFF.

Is a server required to use PSPDFKit for Web?

No, PSPDFKit for Web operates entirely on the client side, meaning it offloads the workload to the browser. No server is needed for rendering documents.

Can I customize the user interface of the PSPDFKit viewer?

Yes, PSPDFKit for Web offers extensive customization options. You can hide or add buttons, adjust the look and feel, and ensure that the UI matches your application’s design.

Is PSPDFKit for Web mobile-friendly?

Yes, PSPDFKit for Web provides a responsive user interface that auto-adjusts to all screen sizes, making it mobile-friendly and accessible across various devices.

How do I enable support for MS Office and image files in PSPDFKit?

To open MS Office and image files, you need to enable the Office Files and Image Documents components in your PSPDFKit license. This feature allows you to view Word, Excel, PowerPoint, and image documents.