Skip to content

Foxit PDF SDK for Web overview ​

Foxit PDF SDK for Web is a high-performance, customizable JavaScript library that delivers smooth, accurate, and reliable PDF processing for web applications. It integrates easily with popular JavaScript frameworks and loads a full-featured document viewer with a single DOM element.

Relationship to Foxit PDF SDK for Desktop/Server ​

Foxit PDF SDK for Web is an application-layer SDK built on top of Foxit PDF SDK for Desktop/Server. It wraps the core PDF engine with viewer and UI capabilities tailored for the browser. The same three-layer model used by the mobile SDK applies here; only class names and packaging differ.

SDK architecture ​

Foxit PDF SDK for Web is organized into three layers. Choose the layer that matches your project goals:

LayerKey objectsRoleTypical use
UI Extension (Full UI)PDFUIFull application UI (toolbar, sidebar, comment panel, search, and more)Ship a production-ready web PDF app quickly
PDFViewCtrl (Basic Viewer)PDFViewerViewer control, rendering, and basic UI for custom layoutsDeeply customize product UI while reusing SDK rendering and interaction
Core SDKPDFDoc, PDFPageLow-level PDF APIs (document, page, object operations)Build custom workflows with core APIs only, without bundled UI

Full UI loads with a single DOM element and can be customized through the UIExtension API (themes, components, and add-ons). PDFViewCtrl handles rendering, zoom, scroll, and page navigation; your app owns the chrome. Core APIs run in the browser for custom viewers or workflows that do not need bundled UI. Core is not the Desktop/Server SDK package.

Where to go next ​

Framework support and demos ​

Framework examples: Vue 3, React, Angular, Next.js, Vue 2 — see Framework integration and the Quick Guide.

Online demo: Try features in the online demo without deploying anything.

Local samples: See Examples to build and run sample projects locally.

Package and front-end rendering engine ​

Starting with version 10.0, Foxit PDF SDK for Web ships a single consolidated package. Feature modules load according to your license. The rendering engine uses dynamic WASM modules for faster initial load and on-demand feature loading.

From 12.0, the front-end rendering engine ships 32-bit and 64-bit builds. When jr.wasm64 is omitted, the SDK picks one based on whether the browser supports WebAssembly Memory64. See Front-end rendering engine · 32-bit and 64-bit.

For download instructions, directory layout, and integration steps, see Getting started.