udoc Viewer

Universal document viewer for the web

Bring PDF, Office, images, and more into your web application with high-fidelity rendering and a complete, customizable viewing experience.

Loading viewer...

Feature-Rich Viewer

More than a rendering engine.

The capabilities your users expect are already built in—from advanced page layouts and navigation to annotations, forms, rich media, internationalization, and accessibility. Customize what you need, without building the rest from scratch.

Flexible Viewing Modes

Choose how documents are displayed, from traditional page-by-page reading to continuous scrolling and sophisticated multi-page layouts.

  • Single page
  • Continuous scrolling
  • Facing pages and spreads
  • Left-to-right and right-to-left books
  • Seamless, gap-free pages
  • Page rotation
  • Zoom and fit

Navigation & Layers

Explore complex documents with built-in navigation panels and fine-grained control over document layers.

  • Page thumbnails
  • Document outlines
  • Nested layers
  • Layer visibility
  • Page navigation

Search & Text

Find content quickly and interact with document text through accurate search, selection, and copying.

  • Full-text search
  • Highlighted results
  • Accurate text selection
  • Copy to clipboard

Annotations & Comments

Enable document review and collaboration with integrated annotations, markup, and comments.

  • PDF annotations
  • Highlight, underline, and strikethrough
  • Notes, stamps, ink, and shapes
  • Comments and replies

Interactive Forms

Display and fill PDF form fields directly within the Viewer.

  • PDF form fields
  • Interactive filling
  • Text, check box, radio, and list fields

Rich Media

Go beyond static pages with support for rich media embedded in documents.

  • Video and audio playback in PowerPoint presentations

Document Actions

Give users familiar document operations without implementing separate application-level tools.

  • Printing
  • Downloading
  • Fullscreen viewing

Internationalization & Accessibility

Built-in internationalization and accessibility support help you deliver document experiences for a wider range of users.

  • 11 interface languages
  • Custom translations
  • Keyboard navigation
  • Screen reader support

Quality & Performance

High fidelity. Smooth performance.

From complex page layouts and typography to advanced charts, graphics, and rich media, docMentis renders documents with exceptional attention to detail. Its engine is designed for responsive interaction, even with large documents.

High-Fidelity PDF Rendering
Complex typography and layouts, vector graphics, images, and transparency, rendered by the proprietary docMentis engine.
Advanced Office Document Rendering
Word, PowerPoint, and Excel documents with their layouts, tables, rich text, WordArt, shapes, charts, ChartEx, and embedded media where supported.
Responsive Performance
Designed for responsive document viewing: the engine runs as WebAssembly in a background worker, off the page's main thread, for smooth navigation through large documents.

Control & Flexibility

Your application. Your rules.

Process documents directly in the browser, extend capabilities with optional server infrastructure, and configure the viewing experience to fit your application's needs.

  1. 01

    Process documents locally.

    Viewer runs directly in the browser, processing documents without requiring a server-side conversion pipeline. Keep document processing within your application's environment—an important advantage for privacy-sensitive workflows.

    Free runtime use requires online authorization; commercial licenses are available for offline use.

  2. 02

    Add infrastructure only when needed.

    Use Viewer independently or connect optional server capabilities for large-document streaming, centralized storage, and collaboration services.

    Collaboration doesn't depend on a server either—peer-to-peer and other architectures are possible.

  3. 03

    Enable what you need. Restrict what you don't.

    Tailor Viewer to your application's workflows with configurable features, tools, panels, and behavior. Enable or disable capabilities such as printing, downloading, copying, annotations, and form filling.

Developer Integration

From npm to a working viewer.

Add a complete document viewer to your application with a few lines of code. Works with your favorite web framework—or without one.

  • Easy integration. Install the package and embed a complete document viewer.

  • Framework flexibility. Integrate with JavaScript, TypeScript, or supported web frameworks.

  • Customizable. Configure viewing modes, features, appearance, and behavior to fit the application.

  • JavaScript
  • TypeScript
  • React
  • Vue
  • Angular
  • Svelte

Quick Start

  1. 1Install

    Terminal
    npm install @docmentis/udoc-viewer
  2. 2Create and open

    index.html
    <div id="viewer" style="height: 600px"></div>
    main.ts
    import { UDocViewer } from "@docmentis/udoc-viewer";
    
    const container = document.getElementById("viewer")!;
    const viewer = await UDocViewer.create(container);
    await viewer.open("/report.pdf");
  3. 3Customize

    Customize viewing modes, available features, appearance, and behavior through the Viewer API.

    Configuration options

Open-source Viewer component (MIT / Apache-2.0), powered by the proprietary docMentis document engine. Licensing

Ready to bring universal document viewing to your application?