MuPDF.NET.PDF4LLM
2.0.0
dotnet add package MuPDF.NET.PDF4LLM --version 2.0.0
NuGet\Install-Package MuPDF.NET.PDF4LLM -Version 2.0.0
<PackageReference Include="MuPDF.NET.PDF4LLM" Version="2.0.0" />
<PackageVersion Include="MuPDF.NET.PDF4LLM" Version="2.0.0" />
<PackageReference Include="MuPDF.NET.PDF4LLM" />
paket add MuPDF.NET.PDF4LLM --version 2.0.0
#r "nuget: MuPDF.NET.PDF4LLM, 2.0.0"
#:package MuPDF.NET.PDF4LLM@2.0.0
#addin nuget:?package=MuPDF.NET.PDF4LLM&version=2.0.0
#tool nuget:?package=MuPDF.NET.PDF4LLM&version=2.0.0
About
MuPDF.NET.PDF4LLM 2.0 is an empty type-forward stub for MuPDF.NET 4.0, matching PyPI pymupdf4llm 2.0. PDF-to-Markdown, layout JSON, and plain-text extract live on Document.ToMarkdown / ToJson / ToText in MuPDF.NET.dll. This package keeps existing PackageReference lines compiling.
Documentation: docs.pdf4llm.com · .NET installation
Install with dotnet add package MuPDF.NET. The stub is optional: dotnet add package MuPDF.NET.PDF4LLM.
For Office/HWP documents (DOC/DOCX, XLS/XLSX, PPT/PPTX, HWP/HWPX), also install
MuPDF.NET.Office 2.0.2, call MuPDFOffice.Unlock(...),
then new Document(path).ToMarkdown().
PyMuPDF Layout (on by default)
AI-based page layout uses pymupdf 2.0 via an external worker (import pymupdf.layout). Install it once per machine:
dotnet msbuild -t:MuPDFNetSetupLayoutPython
This creates a per-user Python venv (Windows: %LOCALAPPDATA%\MuPDF.NET\.venv-layout, Linux/macOS: ~/.local/share/mupdf.net/.venv-layout) and installs pinned pymupdf==2.0. MuPDF.NET discovers that venv automatically.
On Debian/Ubuntu, install system packages first:
sudo apt install python3-venv python3-pip
Alternatively, install pymupdf 2.0 into any Python 3.11+ environment and set MUPDF_NET_PYTHON to that interpreter. If layout is unavailable, extract falls back to classic text extraction.
Project-local venv: run python path/to/setup_layout_python.py --venv .mupdf-net-venv in your project directory (also auto-discovered).
License and Copyright
MuPDF.NET.PDF4LLM is part of MuPDF.NET and is available under the Artifex Community License and commercial license agreements. If you determine you cannot meet the requirements of the Artifex Community License, please contact Artifex for more information regarding a commercial license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 52 | 11/2/2026 |
| 1.28.2.1 | 162 | 10/12/2026 |
| 1.28.2 | 196 | 8/21/2026 |
| 1.28.0.3 | 142 | 8/12/2026 |
| 1.28.0.3-rc.1 | 105 | 8/7/2026 |
2.0.0 is an empty type-forward stub. Sources compile into MuPDF.NET 4.0. Layout worker and OCR models ship in the MuPDF.NET nupkg.