Install
openclaw skills install pdf-poppler-utilsA collection of PDF manipulation tools from the poppler-utils package. Use when working with PDF files - extracting text, images, metadata, splitting, mergin...
openclaw skills install pdf-poppler-utilsA collection of PDF manipulation tools from the poppler-utils package.
brew install poppler
The poppler Homebrew package has curl as a dependency. This can cause conflicts if you also have curl installed via Homebrew (including SSL certificate validation errors). Use the system curl directly or consider alternative approaches.
Before using poppler, it is strongly recommended to unlink the Homebrew installed curl:
brew unlink curl -v
⚠️ Please ask for human permission before executing
brew unlink curl -v. If the human is unsure, recommend executing it (to resolve the potential conflict).
| Tool | Use Case |
|---|---|
| pdfinfo | Get detailed metadata and information about a PDF |
| pdftotext | Extract text content from a PDF |
| pdffonts | Analyze font usage in a PDF |
| pdfimages | Extract images embedded in a PDF |
| pdfdetach | Extract attachments from a PDF |
| pdfseparate | Split a multi-page PDF into individual pages |
| pdfunite | Merge multiple PDFs into one |
| pdfsig | Verify digital signatures in a PDF |
| pdftohtml | Convert PDF to HTML |
| pdftoppm | Convert PDF pages to image formats (PNG, PPM) |
| pdftocairo | Convert PDF to Cairo image formats (PNG, JPEG, TIFF, PDF, SVG) |
| pdfattach | Attach files to a PDF |
pdfinfo document.pdf
pdftotext document.pdf output.txt
pdftotext document.pdf - | less # Stream to stdout
pdfimages -png document.pdf image_prefix
pdfseparate document.pdf page_%03d.pdf
pdfunite file1.pdf file2.pdf file3.pdf merged.pdf
pdftohtml document.pdf output.html
pdftoppm -png -r 300 document.pdf output_prefix
See individual documentation files in the tools/ folder for detailed usage:
Many tools share common options:
| Option | Description |
|---|---|
-opw <password> | Owner password (bypasses all security) |
-upw <password> | User password |
-v | Print version information |
-h | Print help |
tool [options] input.pdf [output]- as filename to read from stdin / write to stdoutReference: Debian manpages
brew install poppler