NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #2591 most downloaded on pub.dev
Small pure-dart library for parsing PDF files. Supports reading all pdf structures
Latest stable
2.2.0
Last release 8 months ago
02 Mar 2026
Ships unpredictably
gaps range from 8 days to 1.5 years
Nearly every release is documented
notes for 34 of 34 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
34 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
- Update dependencies
Use episolon to compare numbers by @NicolaVerbeeck in https://github.com/NicolaVerbeeck/dart_pdf_reader/pull/144
Full Changelog: https://github.com/NicolaVerbeeck/dart_pdf_reader/compare/v2.0.1...v2.1.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add flag to stop always caching read objects in memory by @NicolaVerbeeck in https://github.com/NicolaVerbeeck/dart_pdf_reader/pull/123
Full Changelog: https://github.com/NicolaVerbeeck/dart_pdf_reader/compare/v2.0.0...v2.0.1
Support badly formatted PDFs that have only 19 byte long xref sections
## What's Changed * Security hardening * More tests * Added funding to yaml
Graduating to a first major release by @NicolaVerbeeck in https://github.com/NicolaVerbeeck/dart_pdf_reader/pull/79
Full Changelog: https://github.com/NicolaVerbeeck/dart_pdf_reader/compare/v0.5.1...v1.0.0
Allow parsing of streams with extra whitespaces by @NicolaVerbeeck in #51
Full Changelog: v0.5.0...v0.5.1
Full Changelog: https://github.com/NicolaVerbeeck/dart_pdf_reader/compare/v0.5.0...v0.5.1
Add support for web by using archive package. by @NicolaVerbeeck in #49
Full Changelog: v0.4.3...v0.5.0
Full Changelog: https://github.com/NicolaVerbeeck/dart_pdf_reader/compare/v0.4.3...v0.5.0
Feature/more parser tests by @NicolaVerbeeck in #43
Full Changelog: v0.4.2...v0.4.3
Full Changelog: https://github.com/NicolaVerbeeck/dart_pdf_reader/compare/v0.4.2...v0.4.3
Export PDFNames class
Don't require endstream to be the only bit on the line by @NicolaVerbeeck in https://github.com/NicolaVerbeeck/dart_pdf_reader/pull/40
Full Changelog: https://github.com/NicolaVerbeeck/dart_pdf_reader/compare/v0.4.0...v0.4.1
Add experimental support for extends on object streams
Full Changelog: https://github.com/NicolaVerbeeck/dart_pdf_reader/compare/v0.3.0...v0.4.0
Increase fraction digits in PDFNumber - Fixes https://github.com/NicolaVerbeeck/dart_pdf_reader/issues/30
Full Changelog: https://github.com/NicolaVerbeeck/dart_pdf_reader/compare/v0.2.6...v0.3.0
pageCount to PDFPagesPDFNumber to use 10 fraction digits in toString instead of 5Add xref reader tests by @NicolaVerbeeck in https://github.com/NicolaVerbeeck/dart_pdf_reader/pull/26
Full Changelog: https://github.com/NicolaVerbeeck/dart_pdf_reader/compare/v0.2.5...v0.2.6
Make ObjectResolver exported as it is used in the public API of Page
Page accessors by @NicolaVerbeeck in https://github.com/NicolaVerbeeck/dart_pdf_reader/pull/24
Full Changelog: https://github.com/NicolaVerbeeck/dart_pdf_reader/compare/v0.2.3...v0.2.4
Support malformed strings when decoding utf8
Support malformed strings when decoding utf8
Expose document, resolver and dictionary in catalog
Expose document, resolver and dictionary in catalog
- Expose resolver in pages
Start adding code coverage by @NicolaVerbeeck in https://github.com/NicolaVerbeeck/dart_pdf_reader/pull/17
Full Changelog: https://github.com/NicolaVerbeeck/dart_pdf_reader/compare/v0.1.6...v0.2.0
destination in PDFOutlineGoToAction has been updated to a generic object as per specpage.contentStream has been deprecated in favor of page.contentStreamsFixed ByteOutputStream not updating position by @NicolaVerbeeck in https://github.com/NicolaVerbeeck/dart_pdf_reader/pull/16
Full Changelog: https://github.com/NicolaVerbeeck/dart_pdf_reader/compare/v0.1.5...v0.1.6
ByteOutputStream where writeAll would not update positionByteOutputStream and ByteInputStreamBugfix: fix fastRead on ByteStream when using a view on a buffer
Bugfix: fix fastRead on ByteStream when using a view on a buffer
Updated interfaces to use Uint8Lists
Support PDF outlines by @zagronitay in https://github.com/NicolaVerbeeck/dart_pdf_reader/pull/11
Full Changelog: https://github.com/NicolaVerbeeck/dart_pdf_reader/compare/v0.1.2...v0.1.3
Don't hold future in byte stream to allow sending it across isolates
Add support for ascii85, asciihex, lzw and run length filters
Experimental: support loading compressed xref streams and compressed object streams
Bugfix: pdf streams with reference to length would crash the parser
Bugfix: pdf streams with reference to length would crash the parser
Bugfix: toString on literal strings would have double ()
Add asPDFString to PDFStringLike that returns the string encoded for output in pdf
Add asPDFString to PDFStringLike that returns the string encoded for output in pdf
Bugfix: newlines with \r only are now supported
Bugfix: newlines with \r only are now supported
Small improvements to error handling during parsing
Small improvements to error handling during parsing
Change visibility of some dictionary map
Initial release of the dart pdf reader
One column per quarter.