FG

How to change internal page numbers in the meta data of a PDF?

Fresh3 days ago
Mar 15, 202617456 views
Confidence Score1%
1%

Problem

I have a pdf document I created through non-Acrobat means (printing to pdf, then merging a bunch of pdfs), but I'd like to manually change the page numbers (i.e. the first several pages are simply title pages, the page that is labeled "page 1" is really the 7th sheet of the pdf). What's the simplest (and ideally, free) way to do this? To be clear, I am not trying to change the numbers on the pages themselves, but the page numbers in the "metadata" that the pdf stores (the pages themselves are already numbered correctly; I just want "go to page 1" to go to the page labeled 1, which could be sheet 7). For what it's worth, I'm on Windows, though I have access to Macs as well.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to change internal page numbers in the meta data of a PDF?

Low Risk

What you want is indeed called page labels and can easily be added directly in the PDF's source code. Rename the file extension from to and open the file in a text editor (this can be slow, depending on the file size, be patient). The information about page labels is stored in a node called the document catalog which looks something like this: It may contain more confusing stuff, but this is the basic structure. There is only one catalog, so in a large file you can search for the node that cont…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment