pdf-parser

Identify fundamental elements of a PDF file without rendering it.

TLDR

Display statistics for a PDF file

$ pdf-parser --stats [path/to/file.pdf]
copy


Display objects of type /Font in a PDF file
$ pdf-parser --type=[/Font] [path/to/file.pdf]
copy


Search for strings in indirect objects
$ pdf-parser --search=[search_string] [path/to/file.pdf]
copy

Copied to clipboard