pymupdf 1.26.5


pip install pymupdf

  Latest version

Released: Oct 10, 2025


Meta
Author: Artifex
Requires Python: >=3.9

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers
  • Information Technology

Operating System
  • MacOS
  • Microsoft :: Windows
  • POSIX :: Linux

Programming Language
  • C
  • C++
  • Python :: 3 :: Only
  • Python :: Implementation :: CPython

Topic
  • Utilities
  • Multimedia :: Graphics
  • Software Development :: Libraries

PyMuPDF

PyMuPDF is a high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.

Community

Join us on Discord here: #pymupdf

Installation

PyMuPDF requires Python 3.9 or later, install using pip with:

pip install PyMuPDF

There are no mandatory external dependencies. However, some optional features become available only if additional packages are installed.

You can also try without installing by visiting PyMuPDF.io.

Usage

Basic usage is as follows:

import pymupdf # imports the pymupdf library
doc = pymupdf.open("example.pdf") # open a document
for page in doc: # iterate the document pages
  text = page.get_text() # get plain text encoded as UTF-8

Documentation

Full documentation can be found on pymupdf.readthedocs.io.

Optional Features

  • fontTools for creating font subsets.
  • pymupdf-fonts contains some nice fonts for your text output.
  • Tesseract-OCR for optical character recognition in images and document pages.

About

PyMuPDF adds Python bindings and abstractions to MuPDF, a lightweight PDF, XPS, and eBook viewer, renderer, and toolkit. Both PyMuPDF and MuPDF are maintained and developed by Artifex Software, Inc.

PyMuPDF was originally written by Jorj X. McKie.

License and Copyright

PyMuPDF is available under open-source AGPL and commercial license agreements. If you determine you cannot meet the requirements of the AGPL, please contact Artifex for more information regarding a commercial license.

1.26.5 Oct 10, 2025
1.26.4 Aug 25, 2025
1.26.3 Jul 02, 2025
1.26.1 Jun 11, 2025
1.26.0 May 22, 2025
1.25.5 Mar 31, 2025
1.25.4 Mar 14, 2025
1.25.3 Feb 06, 2025
1.25.2 Jan 17, 2025
1.25.1 Dec 11, 2024
1.25.0 Dec 05, 2024
1.24.14 Nov 19, 2024
1.24.13 Oct 29, 2024
1.24.12 Oct 21, 2024
1.24.11 Oct 03, 2024
1.24.10 Sep 02, 2024
1.24.9 Jul 24, 2024
1.24.8 Jul 22, 2024
1.24.7 Jun 26, 2024
1.24.6 Jun 25, 2024
1.24.5 May 30, 2024
1.24.4 May 16, 2024
1.24.3 May 09, 2024
1.24.2 Apr 17, 2024
1.24.1 Apr 02, 2024
1.24.0 Mar 21, 2024
1.23.26 Feb 29, 2024
1.23.25 Feb 20, 2024
1.23.24 Feb 19, 2024
1.23.23 Feb 18, 2024
1.23.22 Feb 13, 2024
1.23.21 Feb 01, 2024
1.23.20 Jan 29, 2024
1.23.19 Jan 25, 2024
1.23.18 Jan 23, 2024
1.23.17 Jan 22, 2024
1.23.16 Jan 18, 2024
1.23.15 Jan 16, 2024
1.23.14 Jan 15, 2024
1.23.13 Jan 15, 2024
1.23.12 Jan 12, 2024
1.23.11 Jan 12, 2024
1.23.10 Jan 12, 2024
1.23.9 Jan 11, 2024
1.23.9rc2 Jan 08, 2024
1.23.9rc1 Jan 02, 2024
1.23.8 Dec 19, 2023
1.23.7 Nov 30, 2023
1.23.6 Nov 06, 2023
1.23.5 Oct 13, 2023
1.23.4 Sep 27, 2023
1.23.3 Sep 01, 2023
1.23.2 Aug 28, 2023
1.23.2rc1 Aug 27, 2023
1.23.1 Aug 24, 2023
1.23.0 Aug 23, 2023
1.23.0rc2 Aug 21, 2023
1.23.0rc1 Aug 10, 2023
1.22.5 Jun 21, 2023
1.22.3 May 11, 2023
1.22.2 Apr 26, 2023
1.22.1 Apr 18, 2023
1.22.0 Apr 14, 2023
1.21.1 Dec 13, 2022
1.21.0 Nov 08, 2022
1.20.2 Aug 13, 2022
1.20.1 Jun 27, 2022
1.20.0 Jun 17, 2022
1.19.6 Mar 05, 2022
1.19.5 Feb 03, 2022
1.19.4 Jan 01, 2022
1.19.3 Dec 12, 2021
1.19.2 Nov 20, 2021
1.19.1 Oct 24, 2021
1.19.0 Oct 17, 2021
1.18.19 Sep 16, 2021
1.18.18 Sep 16, 2021
1.18.17 Aug 23, 2021
1.18.16 Aug 08, 2021
1.18.15 Jul 10, 2021
1.18.14 Jun 02, 2021
1.18.13 May 05, 2021
1.18.12 Apr 10, 2021
1.18.11 Apr 10, 2021
1.18.10 Mar 22, 2021
1.18.9 Feb 26, 2021
1.18.8 Feb 04, 2021
1.18.7 Feb 02, 2021
1.18.6 Jan 07, 2021
1.18.5 Dec 17, 2020
1.18.4 Nov 20, 2020
1.18.3 Nov 09, 2020
1.18.2 Oct 27, 2020
1.18.1 Oct 18, 2020
1.18.0 Oct 08, 2020
1.17.7 Sep 14, 2020
1.17.6 Aug 26, 2020
1.17.5 Aug 06, 2020
1.17.4 Jul 23, 2020
1.17.3 Jul 07, 2020
1.17.2 Jun 24, 2020
1.17.1 Jun 18, 2020
1.17.0 May 19, 2020
1.16.18 Apr 23, 2020
1.16.17 Apr 09, 2020
1.16.16 Mar 29, 2020
1.16.15 Mar 27, 2020
1.16.14 Mar 25, 2020
1.16.13 Mar 15, 2020
1.16.12 Mar 12, 2020
1.16.11 Feb 23, 2020
1.16.10 Dec 21, 2019
1.16.9 Dec 05, 2019
1.16.8.1 Nov 19, 2019
1.16.8 Nov 18, 2019
1.16.7 Nov 08, 2019
1.16.6 Nov 02, 2019
1.16.5 Oct 14, 2019
1.16.4 Oct 10, 2019
1.16.3 Oct 01, 2019
1.16.2 Sep 12, 2019
1.16.1 Sep 04, 2019
1.16.0 Aug 26, 2019
1.14.21 Sep 16, 2019
1.14.20 Aug 11, 2019
1.14.19.2 Jul 29, 2019
1.14.19.post0 Jul 30, 2019
1.14.19
1.13.20 Sep 11, 2018
1.12.5 Mar 30, 2018
1.12.0 Dec 25, 2017
1.11.2 Nov 27, 2017
No dependencies