Drop a PDF file here or click to upload

    No size limit — large files welcome

    🔒 Your files are processed securely and never uploaded to any server.

    You Might Also Need

    What is PDF Statistics?

    PDF Statistics computes comprehensive metrics about a PDF document including page count, total text characters, image count, font count, annotation count, and form field count. The tool uses pdf.js to parse the document structure and aggregate statistics across all pages.

    The output is a JSON file containing all computed metrics. This provides a complete overview of the document's composition without needing to open it in a PDF reader.

    The statistics are computed by iterating over every page and its content streams, counting text items, image resources, font references, annotations, and form widgets. The results give a quantitative profile of the document.

    The text character count is calculated by summing the length of all text items across all pages. Image count includes both inline images and XObject references. Font count tracks unique font names, meaning the same font referenced on multiple pages counts once. Annotation and form field counts include all subtypes found in the document.

    How to Use PDF Statistics

    1. Drop a PDF onto the upload zone, or click to browse and select it.
    2. Click Analyze. The tool parses every page and aggregates content statistics.
    3. A download button appears with pdf-stats.json containing the full document statistics.

    Why Use PDF Statistics?

    Document processing pipelines need to pre-screen PDFs before ingestion. Statistics like page count, image density, and form field count help route documents to appropriate processing workflows.

    Optimization teams assessing PDFs for compression need to know the composition — image-heavy documents benefit from image recompression, while text-heavy documents benefit from font subsetting.

    Quality assurance teams comparing versions of the same document use statistics to quantify changes: added pages, new annotations, inserted images, or modified form fields.

    Document processing pipelines use statistics to classify incoming PDFs: text-heavy documents go to text extraction, image-heavy documents go to OCR, and form-heavy documents go to form processing. Statistics-based routing is faster than full content analysis.

    Privacy & Security

    Your files never leave your browser. Every step — parsing the PDF structure, counting content elements, and generating the statistics JSON — happens on your own device using pdf.js. Nothing is uploaded to Racira's servers, no copies are stored in the cloud, and no file data is transmitted at any point.

    Frequently Asked Questions

    What metrics are included in the statistics?

    Page count, total text characters, image count, unique font count, annotation count, form field count, and file size. The specific metrics depend on the pdf.js parsing capabilities and the document structure.

    How long does the analysis take?

    Analysis time scales with document complexity. Simple text PDFs analyze in under a second. Complex documents with hundreds of pages, many images, and extensive annotations may take a few seconds. The tool processes all pages sequentially.

    Does it detect image compression types?

    The tool counts images but does not report compression types (JPEG, PNG, etc.). For compression-specific analysis, you would need a more specialized tool that inspects individual image streams.

    Does it count images inside annotations or form fields?

    The tool counts images referenced as page resources (XObject references). Images embedded in annotations or form field appearances may or may not be counted depending on how they are referenced in the PDF structure. The count represents a best-effort approximation.