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.

Initializes and configures a trial or commercial key.

Converts an Office document straight to PDF.

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

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

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

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.

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.

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.

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