Skip to main content
Participant
July 15, 2025
Question

Batch change page labels in multiple pdf files

  • July 15, 2025
  • 2 replies
  • 361 views

I an looking for a way to batch change page labels across multiple files so that the page labels match the bates numbers.  For example:

 

File #1 has 10 pages, page labels 1 to 10, and bates stamps ending in 100 to 110

File #2 has 5 pages, page labels 1 to 5, and bates stamps ending in 111 to 115

 

I want to be able to batch change the page labels so that file #1 has page labels 100 to 110 and file #2 has page labels 111 to 115.  I know I can do this for each file individually, but I am looking for a way to do multiple files at once since I am dealing with over 100 files.  I'm hoping someone has already figured out a way to do this by adding a javascript to an action.  I don't know enough about java to write such a script.

 

Thanks

2 replies

sam_7631Author
Participant
July 15, 2025

All references in the above to "116" should be changed to "115."  I couldn't figure out how to edit the original post.

creative explorer
Community Expert
Community Expert
July 15, 2025

@sam_7631 with over 100 files and your stated lack of JavaScript expertise, investigating a third-party Acrobat plug-in like EverMap's AutoSplit is likely your best and most efficient solution (also the most secured version too as well). These tools are specifically designed for these kinds of tasks and provide a user-friendly interface for setting up the text extraction and page labeling rules without needing to write code.

m
sam_7631Author
Participant
July 15, 2025

I'm not looking to extract the text from the bates numbers (unless someone thinks this would be a way to do this).  I would like to enter a starting page label number and have it carried through all files.  In the above example, I would like to be able to enter a starting page label number of 100 and then have file #2 realize file #1 stopped at 110 so the page labels on file #2 start with 111.  Basically I'm looking for something that functions similarliy to Adobe's bates stamping feature when used on multiple files.

 

Thanks for your reply and the EverMap Autosplit suggestion.  I'll take a look at see if it has a function which would work.

try67
Community Expert
Community Expert
July 15, 2025

This can be done using a custom-made script. It would need to use a global variable to keep track of the last number used in the process, and then start from the number following that in the next file.

 

If you're interested in hiring a professional to create it for you, feel free to contact me privately by clicking my user-name and then on the blue "Message" button.