Skip to main content

PyMuPDF Office

Note: Historically this was the PyMuPDF "Pro" product, since renamed "Office".

Overview

PyMuPDF Office is a set of commercial extensions for PyMuPDF.

  • Enables Office document handling, including doc, docx, hwp, hwpx, ppt, pptx, xls, xlsx, and others.

  • Supports text and table extraction, document conversion and more.

  • Available for these platforms only:

    • Windows x86_64.
    • Linux x86_64 (glibc).
    • Linux aarch64 (glibc).
    • MacOS x86_64.
    • MacOS arm64.
  • Supports Python 3.11+.

  • See https://pymupdf.io/office for more.

Installation

pip install pymupdf-office

This will also install PyMuPDF.

Usage

Restricted usage without a key:

import pymupdf.office
pymupdf.office.unlock()

# PyMuPDF has now been extended with PyMuPDF Office features, with some
# restrictions.

Unrestricted usage with a key from https://pymupdf.io/office/try:

import pymupdf.office
pymupdf.office.unlock(my_key)

# PyMuPDF has now been extended with PyMuPDF Office features.

Changelog

PyMuPDF-Office-2.2

PyMuPDF-Office-2.1

PyMuPDF-Office-2.0

  • Renamed module to pymupdf.office
  • Module pymupdf.pro is still available as a (deprecated) alias.
  • Supported Python versions are now 3.11-3.15.

PyMuPDFPro-1.28.2

  • Improve font handling on Linux/MacOS.

    We now use Python package fontconfig_py. Previously we used internal build of libfontconfig, which failed if libfreetype was not available.

PyMuPDFPro-1.28.0

  • Works with PyMuPDF-1.28.0.
  • Use Marina version of SmartOffice.
  • Added git build information in pymupdf.pro._pro_build.
  • Added export functions:
    • pymupdf.pro.office_to_json().
    • pymupdf.pro.office_to_markdown().
    • pymupdf.pro.office_to_pdf().
    • pymupdf.pro.office_export().

PyMuPDFPro-1.27.2.3

  • Works with PyMuPDF-1.27.2.3.
  • Uses SmartOffice tag v3.16.79.
  • Fix pymupdf #4159 PyMuPDF Pro 1.25.0: Image in .doc file unexpectedly overlaps with text when using get_pixmap()
  • Retrospectively mark pymupdf #4158 as fixed in PyMuPDFPro-1.27.1.

PyMuPDFPro-1.27.2.2

  • Works with PyMuPDF-1.27.2.2.
  • Uses SmartOffice tag v3.16.79.

PyMuPDFPro-1.27.2

  • Works with PyMuPDF-1.27.2.
  • Use SmartOffice tag v3.16.79.

PyMuPDFPro-1.27.1

  • Works with PyMuPDF-1.27.1.
  • Use SmartOffice tag v3.16.76.
  • Fixed pymupdf #4158.

PyMuPDFPro-1.26.6

  • Works with PyMuPDF-1.26.6.

PyMuPDFPro-1.26.5

  • Works with PyMuPDF-1.26.5.
  • Refuse to run if mupdf is incorrect version - avoids potential segv with incorrect installations.
  • On MacOS, avoid depending on Brew install of fontconfig.
  • Graal fixes.

PyMuPDFPro-1.26.4.1

  • Experimental release.
  • On MacOS, avoid depending on Brew install of fontconfig.
  • Graal fixes.

PyMuPDFPro-1.26.4

  • Works with PyMuPDF-1.26.4.
  • Use SmartOffice tag v3.16.68.

PyMuPDFPro-1.26.3.1

  • Experimental release with SO fixes.

PyMuPDFPro-1.26.3 (2025-7-11):

  • Works with PyMuPDF-1.26.3.

PyMuPDFPro-1.26.1 (2025-6-26):

  • Fix problem in activity monitoring.
  • Use SmartOffice tag v3.16.61-preconverted.
  • Added Linux-aarch64 wheel.
  • Use SmartOffice tag issue10489.
  • Fixed document.metadata['format'] strings - previously the last character was truncated.
  • Fixed test_4496(), 'cannot find entry Contents/Contents/header.xml' error.

PyMuPDFPro-1.25.5 (2025-04-01):

  • Works with PyMuPDF-1.25.5.

PyMuPDFPro-1.25.4 (2025-03-17):

  • Works with PyMuPDF-1.25.4.
  • Use SmartOffice tag issue10456.
  • Avoid Windows test failure if font directory does not exist.

PyMuPDFPro-1.25.3 (2025-02-10):

  • Works with PyMuPDF-1.25.3.
  • Use newer Office code.

PyMuPDFPro-1.25.0 (2024-12-09):

  • Fixed handling of trial keys - used to only allow 3 pages.
  • Avoid using many file descriptors for installed .otf fonts.

2024-12-03: PyMuPDFPro-1.24.14

  • Works with PyMuPDF-1.24.14.
  • Allow use with later PyMuPDF.
  • Improve font finding on Windows.
  • Added activity monitoring.
  • Improved handling of invalid keys.
  • Improved display of key timeout.

2024-10-25: PyMuPDFPro-1.24.12

  • Works with PyMuPDF-1.24.12.
  • Automatically add all system fonts on non-Windows.
    • Fixes #3976.

2024-10-15: PyMuPDFPro-1.24.11

  • Works with PyMuPDF-1.24.11.

  • Work better on older OS releases.

  • Supported Python versions are now 3.9-3.13.

  • Wheels now use the Python Stable ABI.

    • There is now just one wheel per platform.
    • Each wheel works with all supported Python versions.

2024-09-05: PyMuPDFPro-1.24.10

  • Works with PyMuPDF-1.24.10.
  • Added support for MacOS-arm64.
  • Fixed detection of key with no expiry.

2024-08-08: PyMuPDFPro-1.24.9.1

  • Works with PyMuPDF-1.24.9.
  • Added support for MacOS-x86_64.

2024-07-26: PyMuPDFPro-1.24.9

  • Works with PyMuPDF-1.24.9.
  • Support for Windows-amd64 and Linux-x86_64.

Metadata

Release files for pymupdf-office 2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for pymupdf-office 2.2
File Actions
pymupdf_office-2.2-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for pymupdf_office-2.2-cp311-abi3-win_amd64.whl
pymupdf_office-2.2-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for pymupdf_office-2.2-cp311-abi3-manylinux_2_28_x86_64.whl
pymupdf_office-2.2-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for pymupdf_office-2.2-cp311-abi3-manylinux_2_28_aarch64.whl
pymupdf_office-2.2-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for pymupdf_office-2.2-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 29.3 MB

Release files / pymupdf_office-2.2-cp311-abi3-win_amd64.whl

Download URL pymupdf_office-2.2-cp311-abi3-win_amd64.whl
Size 6.5 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
0ff445425fce5abf5ce8c2157c234fa41ad298601d5f4dff6759cb3cf1639cb1
BLAKE2b-256 checksum
How to use checksums
426f62c1e02c6aa24ad2cb4af57652dc40dce8d03ab64e527ff67e88ba186cdc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / pymupdf_office-2.2-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL pymupdf_office-2.2-cp311-abi3-manylinux_2_28_x86_64.whl
Size 8.0 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
9638ba3ef0d9df7295121894e69112378b6c67c6750eae63c48564934cb151cd
BLAKE2b-256 checksum
How to use checksums
9320a8ad58bcf7d44f5588d69345f85c2b2dd8d866abf84bea0e4fe5e2a20e4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / pymupdf_office-2.2-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL pymupdf_office-2.2-cp311-abi3-manylinux_2_28_aarch64.whl
Size 7.8 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
3336b3ecf80d13c2f6eda718d18cf8392d33144b842800e91fa7a9b2ac7a04f5
BLAKE2b-256 checksum
How to use checksums
32023f6729d27e04706d1ae7a61570363ad97b85eeae0da6897a3eef7a4a0d3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / pymupdf_office-2.2-cp311-abi3-macosx_11_0_arm64.whl

Download URL pymupdf_office-2.2-cp311-abi3-macosx_11_0_arm64.whl
Size 7.0 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8aad0605c2cb3e7c196b37e6327318e610fb17585008ff4b1f656e3404e782c8
BLAKE2b-256 checksum
How to use checksums
f1db0ad06669b1fd8422ef160be22830f5860257c2dd8d8e8b75f1d834f98064
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for pymupdf-office 2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for pymupdf_office-2.2-cp311-abi3-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page