Termux Ethical Hacking Networking Programming OSINT Bruteforce Web Security Linux Install API Tools Cool Tools
Skip to content
No results
  • Button & Separator
  • Columns Block
  • Contact
  • Default Width
  • Image & Gallery Block
  • Left Sidebar
  • Narrow Width
  • Privacy Policy for Termux Tools & Commands
  • Quote Block
  • Right Sidebar
  • Table Block
  • Button & Separator
  • Columns Block
  • Contact
  • Default Width
  • Image & Gallery Block
  • Left Sidebar
  • Narrow Width
  • Privacy Policy for Termux Tools & Commands
  • Quote Block
  • Right Sidebar
  • Table Block

PDFInfo Tool in Termux – Check PDF File Information & Metadata

PDFInfo is a simple PDF analysis tool that displays information stored inside PDF documents. It can show details such as the software used to create the PDF, creation date, page count, file size, encryption status, and other document properties. You can install and use PDFInfo in Termux to inspect PDF files and view their metadata from the Termux terminal using some simple commands.

Here’s what you can do with PDFInfo in Termux:

  • View PDF metadata
  • Check PDF creation details
  • Display page count and file size
  • Check PDF encryption status
  • View PDF version information
  • Learn basic PDF metadata analysis

Install PDFInfo Tool in Termux

Below are the simple commands to install PDFInfo in Termux. Follow each command carefully to install the required package and setup PDFInfo successfully for viewing PDF information and metadata in the terminal.

Update Termux packages.

pkg update && pkg upgrade -y

Install the Poppler package.

pkg install poppler -y

Check whether PDFInfo is installed successfully.

pdfinfo -v

Use PDFInfo Tool in Termux

First, allow Termux to access your device storage.

termux-setup-storage

After granting permission, copy a PDF file from your internal storage to the Termux home directory. For example:

cp /sdcard/Download/file.pdf ~/

Move to the Termux home directory.

cd ~

Display information from the PDF file.

pdfinfo file.pdf

You can also check a PDF directly using its full path.

pdfinfo /sdcard/Download/file.pdf

Save the PDF information into a text file.

pdfinfo file.pdf > info.txt

View the saved information file.

cat info.txt

Information Displayed by PDFInfo

PDFInfo reads the metadata and properties stored inside a PDF file. Depending on the document, it can display information such as:

  • Producer : Shows the software used to create the PDF.
  • Creation Date : Displays when the PDF was created.
  • Custom Metadata : Indicates whether custom metadata is available.
  • Metadata Stream : Shows if the PDF contains a metadata stream.
  • Tagged : Indicates whether the PDF is tagged for accessibility.
  • User Properties : Shows whether user-defined properties exist.
  • Suspects : Indicates if any suspicious PDF structure is detected.
  • Form : Displays information about PDF forms.
  • JavaScript : Shows whether JavaScript is embedded in the PDF.
  • Pages : Displays the total number of pages.
  • Encrypted : Indicates whether the PDF is password protected.
  • Page Size : Shows the dimensions of the PDF pages.
  • Page Rotation : Displays page rotation settings.
  • File Size : Shows the size of the PDF file.
  • Optimized : Indicates whether the PDF is optimized for web viewing.
  • PDF Version : Displays the PDF format version used by the document.

Choose a PDF file and PDFInfo will automatically display the available metadata and document information inside the Termux terminal.

Trending now

theHarvester in Termux – Installation, Usage & Basic Commands
theHarvester in Termux – Installation, Usage & Basic Commands
Tor in Termux installation and usage commands
Tor in Termux – Installation, Usage & Basic Commands
Ruby in Termux installation and basic commands
Ruby in Termux – Installation & Basic Commands
Go in Termux installation and basic commands
Go in Termux – Installation & Basic Commands