Free plan
PDF Inspect
See what is inside a PDF: pages, fonts, security and more
About this tool
This tool looks inside a PDF and reports what it finds. You choose the checks: structure (pages and sizes), fonts, signatures, security (whether it is protected), accessibility, properties, and whether the file follows the PDF/A archive standard. It does not change your file.
For example, you check why a PDF is so large, or whether it is protected.
How to use it
- Choose this tool.
- Add your PDF with Upload or drag and drop.
- Choose the checks you want to run.
- Press Generate.
- Read or copy the report.
What you get back
You get a report on screen with what was found in the PDF. Your file is not changed.
TEST IT LIVE
Try PDF Inspect in the Studio
One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Family
PDFs
Plan
Free
Method
POST
Endpoint
/v1/pdfs/inspect
Tool ID
pdfs.inspect
Authentication
API key
Accepts
PDF
Background jobs
Yes
Usage group
Pdf
For developers
Use it from your code
cURL
curl -X POST "https://app.h2i.davixlabs.io/v1/pdfs/inspect" \
-H "X-Api-Key: $DAVIX_H2I_API_KEY" \
-F 'file=@document.pdf' \
-F 'checks=["structure"]' \
-F 'pdfaFlavour=auto' \
-F 'validate_only=false'Node.js
const { DavixH2I } = require('@davixlabs/h2i-sdk');
const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.pdfs.inspect({
"file": 'document.pdf',
"checks": [
"structure"
],
"pdfaFlavour": "auto",
"validate_only": false
});
console.log(result.data, result.requestId);PHP
<?php
require 'vendor/autoload.php';
$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->pdfs()->inspect([
'file' => 'document.pdf',
'checks' => ['structure'],
'pdfaFlavour' => 'auto',
'validate_only' => false,
]);
echo $result->requestId;More in PDFs
