PackageTrack
Sign in Get early access

dart_pdf_reader

Small pure-dart library for parsing PDF files. Supports reading all pdf structures

2.2.0 51K downloads/mo #1461 most downloaded on pub.dev NicolaVerbeeck/dart_pdf_reader

What this package is like to depend on

Last release 5 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

1 release in the last 12 months

see the full history below

Release timeline

34 releases · Jun 2023 to Mar 2026
2024 2025 2026
Release Pre-release

Releases

latest 34
  1. 2.2.0 02 Mar 2026
    Release notes
    • Update dependencies
    Open source →
  2. 2.1.0 02 Sep 2024
    Release notes

    What's Changed

    Full Changelog: v2.0.1...v2.1.0

    Open source →
    Release notes
    • !POTENTIALLY BREAKING! Use delta when comparing numbers for equality. Fixes #143
    Open source →
  3. 2.0.1 04 Jul 2024
    Release notes

    What's Changed

    Full Changelog: v2.0.0...v2.0.1

    Open source →
    Release notes
    • Add hint to prevent caching objects in memory
    Open source →
  4. 2.0.0 03 Jun 2024
    Release notes

    What's Changed

    • Add web support
    • Support badly formatted PDFs that have only 19 byte long xref sections
    • Breaking FileStream has moved to dart_pdf_reader_io library
    Open source →
    Release notes
    • Add web support
    • Support badly formatted PDFs that have only 19 byte long xref sections
    • Breaking FileStream has moved to dart_pdf_reader_io library
    Open source →
  5. 1.0.1 23 Apr 2024
    Release notes

    What's Changed

    • Security hardening
    • More tests
    • Added funding to yaml
    Open source →
    Release notes
    • Added funding to pubspec.yaml
    • Security hardening
    Open source →
  6. 1.0.0 01 Apr 2024
    Release notes

    What's Changed

    • Graduating to a first major release by @NicolaVerbeeck in #79
    • Fixed bug in RunLengthDecode filter by @NicolaVerbeeck in #78
    • Integrate build pipeline with openssf and step-security
    • Mature repo

    New Contributors

    Full Changelog: v0.5.1...v1.0.0

    Open source →
    Release notes
    • Graduating to a first major release
    • Fixed issue in RunLengthDecode filter where it would not advance the data pointer correctly (off-by-one error)
    • Integrate build pipeline with openssf and step-security
    • Mature repo
    Open source →
  7. 0.5.1 07 Jan 2024
    Release notes

    What's Changed

    Full Changelog: v0.5.0...v0.5.1

    Open source →
    Release notes
    • Fix parsing PDFs where stream or startxref ends with extra whitespace (#50)
    Open source →
  8. 0.5.0 21 Dec 2023
    Release notes

    What's Changed

    Full Changelog: v0.4.3...v0.5.0

    Open source →
    Release notes
    • Add support for web by using the archive package. (#48)
    • Breaking: EOFException and ParseException now no longer implement dart:io's IOException, just base Exception. ( #48)
    Open source →
  9. 0.4.3 19 Dec 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v0.4.2...v0.4.3

    Open source →
    Release notes
    • Add more tests
    • Bump lints
    Open source →
  10. 0.4.2 05 Sep 2023
    Release notes
    • Export PDFNames class
    Open source →
    Release notes
    • Export PDFNames
    Open source →
  11. 0.4.1 05 Sep 2023
    Release notes
    • Don't require endstream to be followed by a newline (#40)
    • Use read word to read trailer header (#41)
    • Cleanup usages of PDFName and group common names in PDFNames
    Open source →
  12. 0.4.0 04 Sep 2023
    Release notes
    • Add experimental support for extends on object streams (#29)
    • Ensure compressed xrefs can be read without decode parameters (#33)
    • Seek further backwards when searching for %%EOF (#34)
    Open source →
  13. 0.3.0 04 Sep 2023
    Release notes
    • Added pageCount to PDFPages
    • Updated PDFNumber to use 10 fraction digits in toString instead of 5
    Open source →
  14. 0.2.6 03 Sep 2023
    Release notes
    • Add buffered stream implementation to enable for faster reading of files
    Open source →
  15. 0.2.5 21 Aug 2023
    Release notes
    • Make ObjectResolver exported as it is used in the public API of Page
    Open source →
  16. 0.2.4 18 Aug 2023
    Release notes
    • Add direct support for accessing page's art, bleed, crop and trim boxes
    • Add direct support for accessing page's rotation flag
    Open source →
  17. 0.2.3 18 Aug 2023
    Release notes
    • Support malformed strings when decoding utf8
    Open source →
  18. 0.2.2 18 Aug 2023
    Release notes
    • Expose document, resolver and dictionary in catalog
    Open source →
  19. 0.2.1 18 Aug 2023
    Release notes
    • Expose resolver in pages
    Open source →
  20. 0.2.0 17 Aug 2023
    Release notes
    • Bugfix: Hex strings now consume their ending bracket
    • Bugfix: Multiple content streams in a page are now supported
    • Update: Support direct dictionaries in outlines
    • Breaking: destination in PDFOutlineGoToAction has been updated to a generic object as per spec
    • Deprecation: page.contentStream has been deprecated in favor of page.contentStreams
    Open source →
  21. 0.1.6 15 Aug 2023
    Release notes
    • Fixed bug in ByteOutputStream where writeAll would not update position
    • Added tests for ByteOutputStream and ByteInputStream
    Open source →
  22. 0.1.5 14 Aug 2023
    Release notes
    • Fixed bug when using fastRead
    • Added more uint list optimizations where possible
    Open source →
  23. 0.1.4 11 Aug 2023
    Release notes
    • Use Uint8List instead of List<int> for bytes
    • Add fast path for copying bytes from ByteStream
    Open source →
  24. 0.1.3 10 Aug 2023
    Release notes
    • Add support for pdf bookmarks (outlines)
    Open source →
  25. 0.1.2 27 Jul 2023
    Release notes
    • Don't hold future in ByteStream to allow sending across isolates
    Open source →
  26. 0.1.1 25 Jun 2023
    Release notes
    • Add support for ascii85, asciihex, lzw and run length filters
    Open source →
  27. 0.1.0 23 Jun 2023
    Release notes
    • Breaking: require dart 3
    • Experimental: support loading compressed xref streams and compressed object streams
    Open source →
  28. 0.0.8 19 Jun 2023
    Release notes
    • Bugfix: pdf streams with reference to length would crash the parser
    Open source →
  29. 0.0.7 14 Jun 2023
    Release notes
    • Bugfix: toString on literal strings would have double ()
    Open source →
  30. 0.0.6 14 Jun 2023
    Release notes
    • Add asPDFString to PDFStringLike that returns the string encoded for output in pdf
    Open source →
  31. 0.0.5 13 Jun 2023
    Release notes
    • Bugfix: support for \r only newlines
    Open source →
  32. 0.0.4 13 Jun 2023
    Release notes
    • Code cleanup
    • Small parsing bug fixes
    Open source →
  33. 0.0.3 12 Jun 2023
    Release notes
    • Remove unused dependencies
    • Add some clone methods
    • Change visibility of some dictionary map
    Open source →
  34. 0.0.1 12 Jun 2023
    Release notes
    • Initial version.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive