PDF Page Counter
Count pages in PDF files instantly. Free PDF page counter. Upload multiple PDFs, get total page count. No upload to servers, secure & fast. Works offline.
Count pages in PDF files - single or batch processing with instant results
Drop PDF file(s) here or click to upload
Batch-count many PDFs at once - per-file pages and size, totals, CSV export - Max 50MB per file
How to Use PDF Page Counter
- Upload PDF Files: Click the "Drop PDF file(s) here" zone or drag and drop one or multiple PDF files. You can select multiple files at once by holding Ctrl (Windows) or Cmd (Mac) when clicking "Upload". The tool supports up to 50 PDF files in a single batch, with each file up to 50MB in size.
- Wait for Processing: The tool automatically reads each PDF's metadata to extract the page count. This process typically takes 1-2 seconds per file. For batch uploads, files are processed concurrently for speed. You'll see a processing indicator for each file as it's being read.
- View Individual Results: Once processing completes, a results table displays each PDF with its filename, file size (in KB or MB), page count, and status. Files are listed in the order they were uploaded. Any errors (invalid PDFs, encrypted files, etc.) are clearly marked with an error icon and message.
- Check Total Page Count: At the top of the results section, a prominent counter shows the total number of pages across all successfully processed PDFs. This is useful for calculating printing costs, estimating reading time, or understanding document collection size. The counter also shows how many files were processed successfully.
- Export or Copy Results: Use the "Export CSV" button to download a spreadsheet with all file names, sizes, and page counts - perfect for documentation or billing. Alternatively, click "Copy Results" to copy the data to your clipboard in a tab-separated format that pastes cleanly into Excel or Google Sheets. You can also remove individual files from the results if needed.
Frequently Asked Questions
How does PDF page counting work technically?
The tool uses Mozilla’s PDF.js library to parse PDF files in your browser. Every PDF contains metadata that specifies its structure, including the number of pages. The tool reads this metadata (specifically the /Count value in the PDF’s page tree) without rendering the pages, making it extremely fast. This approach works for all PDF versions (1.0 through 2.0) and doesn’t require loading images or text content, just the document structure.
Can I count pages in multiple PDFs at once (batch processing)?
Yes! The tool fully supports batch processing. You can upload up to 50 PDF files simultaneously by selecting multiple files (Ctrl+Click or Cmd+Click) or dragging a folder of PDFs onto the drop zone. Files are processed concurrently for speed, and results appear in a table showing each file’s page count. The total counter sums all pages across all PDFs, making it easy to calculate printing costs or estimate project scope for document collections.
Does this work with password-protected or encrypted PDFs?
No, the tool cannot count pages in password-protected or encrypted PDFs without the password. When a PDF is encrypted, its metadata (including page count) is inaccessible until decryption. If you upload an encrypted PDF, the tool will display an error message: “Cannot read encrypted PDF”. To count pages, you’ll need to remove the password first using PDF editing software, or provide the password (though this tool doesn’t support password input for security reasons).
What’s the maximum file size and how many PDFs can I process?
Each individual PDF can be up to 50MB in size. You can process up to 50 PDF files in a single batch. For typical documents (text-based PDFs with few images), page counting is very fast – usually 1-2 seconds per file. Larger PDFs (20MB+) or image-heavy files may take longer (5-10 seconds). The tool uses efficient metadata parsing, so processing speed depends mainly on file size, not page count – a 1000-page text PDF may process faster than a 10-page image-heavy PDF.
Is my data secure? Are PDFs uploaded to a server?
Your PDFs are completely secure! All page counting happens 100% in your browser using client-side JavaScript and PDF.js. No PDF files or data are ever sent to a server, stored in a database, or logged anywhere. The tool works entirely offline after the initial page load. You can verify this by checking your browser’s network tab during processing – zero uploads occur. This makes it safe for processing confidential documents, contracts, or sensitive materials. Your files never leave your device.
Can I count pages in scanned PDFs or image-based PDFs?
Yes! The tool works with all PDF types including scanned documents, image-based PDFs, text-based PDFs, and mixed-content PDFs. Since page counting reads metadata (not actual content), it doesn’t matter whether pages contain text, images, or scanned photos – every page is counted regardless of content type. Even blank pages are counted. This makes the tool reliable for counting pages in any PDF regardless of how it was created.
What happens if a PDF file is corrupted or invalid?
If a PDF is corrupted, damaged, or not a valid PDF file, the tool displays an error in the results table with a red error icon and message like “Invalid PDF file” or “Failed to read PDF”. The tool continues processing other files in the batch, so one corrupted file won’t stop the entire batch. You can remove failed files from the results and re-upload corrected versions. Common causes of invalid PDFs include incomplete downloads, disk corruption, or files with .pdf extension that aren’t actually PDFs.
Can I export the page count results for documentation or billing?
Yes! The tool offers two export options: (1) Export CSV: Downloads a spreadsheet file with columns for filename, file size, and page count. This file opens in Excel, Google Sheets, or any spreadsheet software. (2) Copy Results: Copies the data to your clipboard in tab-separated format that pastes cleanly into spreadsheets or documents. Both options include the total page count at the bottom. This is particularly useful for print shops, lawyers, or anyone who needs to document page counts for billing or record-keeping.
Does page counting work for all PDF versions and types?
Yes! The tool supports all PDF versions from PDF 1.0 (1993) through PDF 2.0 (2017 standard). It handles linearized PDFs (web-optimized), uncompressed PDFs, compressed PDFs, PDF/A (archival), PDF/X (print), and PDF/E (engineering) formats. The metadata structure for page counting has been consistent across all PDF versions, so even very old or specialized PDFs work correctly. The tool uses PDF.js, Mozilla’s reliable PDF parser that powers Firefox’s built-in PDF viewer.