Skip to content
@groupdocs-viewer

GroupDocs.Viewer Product Family

Boost your document viewing process to view over 170 documents and image formats in any application without any external viewers using document viewing APIs

GroupDocs.Viewer

Render 190+ document, spreadsheet, presentation, CAD, email and image formats to HTML, PNG, JPG and PDF

GroupDocs.Viewer is an on-premise document rendering API that turns PDF, Word, Excel, PowerPoint, Visio, OpenDocument, CAD drawings, emails, archives and images into HTML pages, images or PDF, so your application can show any document in a browser without the program that made it. Render all pages or only the ones you need, read the page count and sizes before rendering, and tune the output per format: spreadsheet pagination, CAD layers and layouts, email fields, fonts and watermarks.

Product Page Docs Demos API Blog Search Support Temp License

Latest Viewer News & Updates

  • NEW: Released GroupDocs.Viewer for Python via .NET 26.11 on PyPI, on the 26.10 engine and .NET 10: a groupdocs-viewer command opens a document or a folder in the browser, a running render can be cancelled, pages render to memory through Python functions, and a licence that cannot be applied raises LicenseError.
  • Released GroupDocs.Viewer.Mcp 26.9, an MCP server that lets AI agents (Claude, Cursor, GitHub Copilot) render and inspect documents locally: files never leave your machine. Get started.
  • Published GroupDocs.Viewer 26.10 for .NET on NuGet: builds for .NET 8 and .NET 10, CAD layers that can be shown and hidden in HTML output without rendering again, and patched cryptography packages.
  • Published GroupDocs.Viewer 26.9 for Java and for Node.js via Java: OFD documents, PDF annotations that are hidden by default, page numbering for Word documents, and their resolution when rendered to images.

Supported Platforms & Repository Groups

.NET Document Viewer (C#, ASP.NET, Services)

High-performance on-premise rendering of 190+ formats to HTML, images and PDF. dotnet add package GroupDocs.Viewer

using GroupDocs.Viewer;
using GroupDocs.Viewer.Options;

// Load the source PDF file
using (var viewer = new Viewer("resume.pdf"))
{
    // Set output HTML options, one file per page
    var viewOptions = HtmlViewOptions.ForEmbeddedResources("page{0}.html");

    // Render PDF to HTML with embedded resources
    viewer.View(viewOptions);
}

Java Document Viewer (Maven, Spring Boot)

Native Java library with the same rendering, from the GroupDocs Maven repository: com.groupdocs:groupdocs-viewer:26.9.

import com.groupdocs.viewer.Viewer;
import com.groupdocs.viewer.options.HtmlViewOptions;

// Instantiate Viewer
try (Viewer viewer = new Viewer("resume.pdf")) {
    // Set output HTML options, one file per page
    HtmlViewOptions viewOptions = HtmlViewOptions.forEmbeddedResources();

    // Render PDF to HTML with embedded resources
    viewer.view(viewOptions);
}

Node.js Document Viewer (Node.js via Java)

The Java engine from Node.js. npm install @groupdocs/groupdocs.viewer

const groupdocs = require('@groupdocs/groupdocs.viewer');

// Instantiate Viewer
const viewer = new groupdocs.Viewer("resume.pdf");

// Set output HTML options, one file per page
const viewOptions = groupdocs.HtmlViewOptions.forEmbeddedResources();

// Render PDF to HTML with embedded resources
viewer.view(viewOptions);
viewer.close();

Python Document Viewer (Python via .NET)

The .NET engine from Python 3.5 to 3.14, on Windows, Linux and macOS, with the runtime embedded. pip install groupdocs-viewer-net

from groupdocs.viewer import Viewer
from groupdocs.viewer.options import HtmlViewOptions

def render_pdf_to_html():
    # Instantiate Viewer
    with Viewer("resume.pdf") as viewer:

        # Set output HTML options, one file per page
        view_options = HtmlViewOptions.for_embedded_resources("page_{0}.html")

        # Render PDF to HTML with embedded resources
        viewer.view(view_options)

if __name__ == "__main__":
    render_pdf_to_html()

Or open a document, or a whole folder, in your browser: groupdocs-viewer resume.pdf (how it works).

MCP Server for AI Agents (Claude, Cursor, Copilot)

Let AI agents render and inspect documents through the GroupDocs engine, locally over MCP: no uploads, no cloud; it runs in evaluation mode out of the box and with your existing license.

# Install and run in one command (.NET 10), then just ask your agent:
dnx GroupDocs.Viewer.Mcp --yes

"Render page 1 of report.pdf and show me the image." "How many pages does contract.docx have, and what size is each page?"

📘 MCP documentation · 📦 NuGet

Business Use-Cases

  • Document portals: Show uploaded files in the browser, whatever program made them.
  • Previews and thumbnails: Page images for search results, file managers and content management systems.
  • Secure viewing: Hand out HTML or images instead of the source file, with a text watermark on every page.
  • Email and archives: Read MSG and EML messages with their attachments, and the files inside ZIP archives.
  • Engineering: Review DWG and DXF drawings with their layouts and layers, without a CAD program.

✅ API Key Features & Benefits

  • 190+ formats: PDF, DOCX, DOC, RTF, ODT, XLSX, XLS, CSV, ODS, PPTX, PPT, ODP, VSDX, DWG, DXF, MSG, EML, ZIP, PNG, JPEG, TIFF, SVG and more.
  • Four outputs: HTML with embedded or external resources, PNG, JPEG and PDF.
  • Only what you need: Render chosen pages, and read the page count, page sizes and attachments first.
  • Spreadsheets: One page per sheet, sheets split into pages, print areas and page breaks.
  • CAD: Render by width, height or scale, choose layouts, and show or hide layers.
  • Fonts and watermarks: Your own font folders, a default font, and text watermarks.
  • Password-protected documents: Open them with their password.

🆘 Technical Support & Resources

🏷️ Tags

python mcp mcp-server ai-agents document-viewer document-rendering html5-viewer pdf-to-html docx-to-html excel-viewer pptx-viewer cad-viewer email-viewer on-premise dotnet java nodejs

Pinned Loading

  1. GroupDocs.Viewer-for-.NET GroupDocs.Viewer-for-.NET Public

    GroupDocs.Viewer for .NET examples, plugins and showcase

    C# 53 48

  2. GroupDocs.Viewer-for-Java GroupDocs.Viewer-for-Java Public

    GroupDocs.Viewer for Java - Examples and Demo Projects

    32 22

  3. GroupDocs.Viewer-for-.NET-UI GroupDocs.Viewer-for-.NET-UI Public

    UI - User Interface for GroupDocs.Viewer for .NET document viewer and automation API.

    C# 12 2

  4. GroupDocs.Viewer-for-Java-UI GroupDocs.Viewer-for-Java-UI Public

    UI - User Interface for GroupDocs.Viewer for Java. API for easily integrating a document viewer into 3rd-party projects.

    Java 5

Repositories

Showing 10 of 32 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…