Modern Microsoft Office
Word (.docx, .docm, .dotx, .dotm); Excel (.xlsx, .xlsm, .xltx, .xltm); PowerPoint (.pptx, .pptm, .ppsx, .ppsm, .potx, .potm).
DocViewKit is a lightweight document viewer for everyday OA attachments and enterprise apps, with quick integration and local frontend parsing and rendering.
Viewer and Engine source code is licensed under Apache-2.0. Source on GitHub
Parse Office, WPS, PDF, OFD, OpenDocument and iWork locally, including modern and legacy Office, through one consistent viewing experience.
Word (.docx, .docm, .dotx, .dotm); Excel (.xlsx, .xlsm, .xltx, .xltm); PowerPoint (.pptx, .pptm, .ppsx, .ppsm, .potx, .potm).
Preview Word (.doc), Excel (.xls) and PowerPoint (.ppt) documents.
WPS Writer (.wps), WPS Spreadsheets (.et) and WPS Presentation (.dps).
Fixed-layout document viewing: .pdf, .ofd, .xps, .oxps.
Text documents (.odt, .ott, .fodt), spreadsheets (.ods, .ots, .fods), presentations (.odp, .otp, .fodp) and drawings (.odg, .otg, .fodg).
Pages (.pages), Numbers (.numbers) and Keynote (.key) single-file document packages.
CSV spreadsheets (.csv) and RTF rich-text documents (.rtf).
Explore supported formats and features, then try your own documents.
Supported formats and boundariesEmbed document viewing and source navigation directly in your product while your system continues to manage permissions, answers, and business workflows.
One Viewer component serves multiple formats, with on-demand format loading for a lighter startup.
See on-demand loading and measurementHost static assets with your app and parse documents locally in the frontend, using your existing attachment storage and permissions.
Jump from search results or business workflows to the relevant page and region to verify content and citations quickly.
Viewer and Engine add text watermarks to pages, thumbnails and printing through a single setting while preserving the source document.
Mount a preview UI in three steps: import the component, mount the Viewer, and call open(file). Reuse it in vanilla JavaScript, React, Vue, Angular, and other projects. Production setup also requires asset hosting and attachment authorization.
See complete integration and private-attachment examples
import '@docviewkit/viewer';
const viewer = document.querySelector('docviewkit-viewer');
await viewer.open(file);
Beyond read-only viewing, DocViewKit provides search, text selection, object location, and source navigation so users can verify content and citations.
Use browsers or compatible WebViews in Electron, Tauri, Ionic and Capacitor. React Native and Flutter apps can also embed the Viewer through a WebView with the required Web APIs. View runtime requirements
Take search results or AI answers directly back to the relevant page, object, or region in the source document.
Read-only viewing, active-content isolation, and resource management keep the focus on the document. Compatibility details are available in the diagnostics panel.
Embed multi-format viewing in business apps, from everyday attachments to professional review; add search and source location when needed.
Embed local attachment previews in everyday OA systems, approval workflows, admin portals, and internal tools.
Document viewing for cloud drives, enterprise SaaS, and AI knowledge bases, as well as contract review, VDR viewing, legal work, audit, and financial risk management.
View records, attachments, and business documents in CRM, ERP, and HR systems.
Review submissions, verify supporting evidence, and locate source content in e-government and compliance systems.
Industrial, construction, and supply chain management, plus e-commerce and cross-border trade.
View courseware, learning materials, and assignments in education and online learning platforms.
Every Viewer and Engine capability is available under Apache-2.0; paid services cover support, customization and enterprise delivery.
See the open source license and service scope
Embed document previews or use the Engine API, with commercial use, modification and redistribution under Apache-2.0.
Integration support, compatibility diagnosis and customization for your application and real documents.
For enterprise products requiring deployment validation, performance customization, acceptance evidence and an SLA.
Yes. Everyday OA, approvals, admin portals, and CRM/ERP attachments are primary use cases. Enterprise SaaS, AI knowledge bases, and professional review can use the same component. The ready-made Viewer includes the preview UI for direct embedding.
Mount the UI in three steps: import the component, mount the Viewer, and call open(file). Four input types are supported: File, Blob, ArrayBuffer, and Uint8Array, with a ready-made preview toolbar. The integration guide covers asset deployment and attachment authorization.
Reuse one Viewer component, load formats on demand, and use browser caching. The performance guide covers first-open optimization and cold- and warm-start measurement so you can tune the experience for your files and runtime.
Use your existing permissions. Your application authorizes access, fetches the attachment, and passes it to the Viewer for local parsing. The integration guide includes a private-attachment example and CORS guidance for cross-origin resources.
The open source Viewer and Engine include every available format, including Office, WPS, PDF, OFD, OpenDocument and iWork, plus UI customization, minimal mode and watermarks. Try your documents in the online demo and explore supported-format details.
Viewer, Engine APIs, UI customization, minimal mode and watermarks are available under Apache-2.0. Request support, customization or enterprise delivery for integration assistance, document compatibility work, performance optimization or an enterprise SLA.
Verify formats, layout, search and source navigation with your own documents, then choose the services you need.