PDF Page Counter
Select one or several PDF files and instantly get the page count for each one, along with the combined total. All processing happens in your browser with pdf-lib, without uploading anything to a server.
How it works
- Select one or multiple PDF files at once using the file picker.
- Each file is read locally, and pdf-lib determines its page count.
- A table is shown with the name, size, and page count of each file.
- If a file fails (because it's corrupted or not a valid PDF), the specific error is shown for that file without affecting the others.
Use cases
- Quickly calculate the total page count before printing several documents.
- Verify that a downloaded or scanned PDF has the expected number of pages.
- Compare the length of several documents before merging or sending them.
- Spot corrupted PDF files within a batch before processing them.
Use cases
- Quickly calculate the total page count before printing several documents.
- Verify that a downloaded or scanned PDF has the expected number of pages.
- Compare the length of several documents before merging or sending them.
- Spot corrupted PDF files within a batch before processing them.
Common mistakes
- Expecting a preview of each page's content, not just the count.This tool only counts pages and shows name, size, and page count; it doesn't render content. If you need to see the pages, open them in a PDF reader.
- Confusing the combined total with the page count of the largest file in the list.The total shown is the sum of the pages across all uploaded files, not the individual maximum. Check the table for each file's detail.
- Thinking one corrupted file in the batch prevents counting the rest.The tool processes each file independently: if one fails, the error is shown only for that file while the rest are counted normally.
Frequently asked questions
Yes. You can select multiple PDF files at once, and the tool will show the page count for each one along with the combined total.
No. All files are read and processed locally in your browser. Nothing is uploaded or stored on any external server.
An error message is shown next to that specific file, indicating it couldn't be read, while the rest of the valid files are processed normally.
The tool doesn't impose a fixed limit, but performance depends on your browser's memory and capacity, especially with very large files or a large number of them.
Alternatives
On Windows, File Explorer or the built-in PDF reader usually shows the page count in the file's properties, and on macOS Preview shows it in the sidebar. This tool is useful when you need the total across several files at once without opening each one separately.