VellumPdf.Reader 2.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package VellumPdf.Reader --version 2.2.0
                    
NuGet\Install-Package VellumPdf.Reader -Version 2.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VellumPdf.Reader" Version="2.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VellumPdf.Reader" Version="2.2.0" />
                    
Directory.Packages.props
<PackageReference Include="VellumPdf.Reader" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add VellumPdf.Reader --version 2.2.0
                    
#r "nuget: VellumPdf.Reader, 2.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package VellumPdf.Reader@2.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=VellumPdf.Reader&version=2.2.0
                    
Install as a Cake Addin
#tool nuget:?package=VellumPdf.Reader&version=2.2.0
                    
Install as a Cake Tool

VellumPdf.Reader

NuGet CI

The PDF reader of VellumPdf, a dependency-free PDF library for .NET 10 implemented clean-room from ISO 32000. It opens an existing PDF on a bounds-checked lexer and object parser and exposes its structure. BCL-only, with zero runtime dependencies.

  • Classic cross-reference tables, cross-reference and object streams, and hybrid-reference files.
  • Encrypted documents: the Standard security handler at /V 1, 2, 4 and 5 and /R 2 through 6 — RC4-40 through RC4-128, AES-128 and AES-256 — opened with PdfReader.Open(bytes, password).
  • Exposes the document catalog and digital signatures. Stream decoding is internal for now: the public surface reads structure and signatures, not page content — see the roadmap below.
  • The foundation for the signing long-term-validation path, the VellumPdf.Conformance validator, and a growing general reader.

Preview. The public surface is still settling; content extraction is on the roadmap (Epic #100). See the roadmap below.

Install

dotnet add package VellumPdf.Reader

Usage

using VellumPdf.Reader;

using var reader = PdfReader.Open(File.OpenRead("input.pdf"));

VellumPdf.Core.PdfDictionary catalog = reader.Catalog;   // the document catalog
foreach (var signature in reader.Signatures)             // any digital signatures
    Console.WriteLine(signature.SubFilter);

Documentation

Architecture and reader scope: https://github.com/Tim81/VellumPDF/blob/main/docs/architecture.md

The VellumPdf family

Package Status Summary
VellumPdf.Kernel Stable Low-level PDF object model, canvas, fonts, images, encryption.
VellumPdf.Fonts.Standard14 Stable Embeddable standard-14 font substitutes for PDF/A text.
VellumPdf.Layout Stable High-level document builder: paragraphs, tables, images, pagination.
VellumPdf.Signing Stable PAdES / PKCS#7 digital signatures with timestamps and LTV.
VellumPdf.Reader (this package) Preview Opens existing PDFs, encrypted ones given their password; exposes catalog and signatures.
VellumPdf.Conformance Stable In-process PDF/A and PDF/UA preflight validation.
VellumPdf.Cli Stable vellum-preflight command-line PDF/A and PDF/UA validator.
VellumPdf.Barcodes Stable QR, Data Matrix, Aztec, PDF417, Code 128/GS1-128, Code 39, EAN/UPC, and ITF-14 as vectors.

Roadmap

Milestone Scope
2.0 — Breaking changes Strong-named assemblies (#53), an async I/O surface for Save/Sign/loaders (#54), and an external-signer API for cloud KMS and remote HSM signing (#165). Each changes assembly identity or the public contract, so they waited for a major version.
2.1 — PDF reader (structural) VellumPdf.Reader reads classic tables, cross-reference and object streams, and hybrid-reference files, and opens encrypted documents given their password (#97) — the Standard security handler at /V 1, 2, 4 and 5, proven against a committed fixture corpus and third-party files (Epic #100).
2.2 — Encryption and parser hardening (this release) An empty owner password no longer produces a document anyone opens at owner privilege (#211), and building a very large dictionary is no longer quadratic on the path that runs before a password is checked (#208). Carries a documented breaking change, so it is a minor rather than a patch release.
2.3 — PDF content extraction Text and image extraction on top of the reader. Writing a decrypted copy (#186), reader fuzzing (#99), and graduating VellumPdf.Reader from Preview (#187) ride along.
2.4 — PDF/A-1 profile A full PDF/A-1 (ISO 19005-1) rule set, which unblocks recursive validation of embedded PDF/A-1 files (#140).
3.0 — Read-modify-write A unified round-trip document model that supersedes the write-once PdfDocument, so existing PDFs can be opened, edited, and saved back (Epic #101).

License

Apache-2.0. Source and issues: https://github.com/Tim81/VellumPDF

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on VellumPdf.Reader:

Package Downloads
VellumPdf.Signing

Optional digital-signature add-on for VellumPdf: PAdES/PKCS#7 detached CMS signatures over VellumPdf.Kernel.PdfDocument and VellumPdf.Layout.Document. References System.Security.Cryptography.Pkcs; keeps the core zero-dependency.

VellumPdf.Conformance

In-process PDF/A and PDF/UA preflight validation for VellumPdf: opens a PDF through VellumPdf.Reader and runs a registry of clean-room conformance rules authored from the ISO specifications, returning machine-readable assertions (rule id, ISO clause, severity, object reference). No external veraPDF Docker image required. BCL-only, AOT- and trim-ready; rules are registered explicitly with no reflection. Covers PDF/A-2b/2u/2a and PDF/UA-1, cross-validated against veraPDF in CI on both paths of every rule.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.3.4 116 11/19/2026
2.3.3 237 9/20/2026
2.3.2 136 9/12/2026
2.3.1 148 9/10/2026
2.3.0 169 9/1/2026
2.2.0 160 8/28/2026
2.1.0 135 8/28/2026
2.0.0 155 8/17/2026
1.11.0 187 7/11/2026
1.10.0 924 7/7/2026
1.9.0 764 7/6/2026
1.8.2 151 7/5/2026
1.8.1 161 7/3/2026
1.8.0 156 7/3/2026
1.7.8 152 7/3/2026
1.7.7 157 7/2/2026
1.7.6 168 6/28/2026
1.7.5 161 6/23/2026
1.7.4 159 6/23/2026
1.7.3 155 6/22/2026
Loading failed