One Library for Every Document Format

Native Office conversion. Turn Word, Excel, and PowerPoint files into PDF, Markdown, or JSON, all with the same unified API.

One API for
unlocking Office support

Unlock the Office module, then convert your document to whichever format your pipeline needs.

UNLOCK
UNLOCK

Initializes and configures a trial or commercial key.

TO PDF
TO PDF

Converts an Office document straight to PDF.

TO MARKDOWN
TO MARKDOWN

Extracts page content as Markdown for RAG, LLM ingestion, or review workflows.

TO JSON
TO JSON

Exports structured page content as JSON for downstream automation and analysis.

GET FONT PATH
GET FONT PATH

Returns the font directories currently used by unlock(), which is useful when you need deterministic font resolution.

Output choices
Output choices

Return bytes, strings, or write directly to disk. The API keeps the same compact shape across formats, which makes it easy to swap output targets without changing the document pipeline.

Get PyMuPDF Office, get everything included

Office Format Support

Process Microsoft Word (DOC/DOCX), Excel (XLS/XLSX), PowerPoint (PPT/PPTX), and Korean HWP/HWPX files with your PyMuPDF Office license. Extract content, convert to PDF, and handle enterprise document formats using the same unified PyMuPDF library, all included.

Office Format Support

LLM Application Support

AI-optimized document processing for LLM applications. Advanced layout analysis preserves structure and reading order. Integrates seamlessly with LangChain, LlamaIndex, and Hugging Face. 10x faster with no GPU required.

LLM Application Support

All-in-One Document Processing

Complete document manipulation and extraction. Merge, split, annotate, fill forms, extract text and tables, add signatures, and more. Everything you need for professional document workflows.

All-in-One Document Processing

Get Started

Install PyMuPDF Office, extract your first document, and see why thousands of developers trust us for production document processing.

Get Office Now
PyMuPDF Logo

© 2026 Artifex Software Inc. All rights reserved.