How to Combine PDF Attachments and Apply Bates Numbering
Question details
The user needs to combine embedded PDF attachments into a single document and apply continuous Bates numbering across all pages, including the attached files.

- Product
- Adobe Acrobat / PDF
- Device & OS
- not provided
- Scenario
- Preparing a batch of PDF documents with embedded attachments for formal submission, requiring sequential Bates numbering across both the main document and all included attachments.
- Observed behavior
- Standard PDF combining features do not automatically extract and append embedded attachments, causing Bates numbers to skip the attached files entirely.
Before beginning the process, create a dedicated folder on your computer to save all extracted attachments, ensuring no files are misplaced during the conversion and merging steps.
Manually Extract Attachments and Combine Before Numbering
Extract all embedded files first, convert them to PDF if necessary, and then combine them into one unified document before applying Bates numbering.
Because PDF readers treat embedded attachments as encapsulated files rather than standard pages, they must be pulled out of the document container. Once extracted and converted to standard PDF pages, they can be merged with the primary document.
Open the primary PDF document in your PDF editor. Navigate to the Attachments panel, which is usually represented by a paperclip icon located on the left-hand sidebar.
Select all the embedded files within the Attachments panel. Click the 'Save All' or 'Export' option and choose the dedicated folder you created on your computer.
Ensure all extracted files are in PDF format. Open your PDF merging tool, select both the primary document and the extracted attachment files, and arrange them in the correct sequential order.
Combine the arranged files into a single, unified PDF document. Finally, navigate to the Bates Numbering or Page Numbering tool to apply sequential numbers across the newly merged document.

Automate Extraction Using Custom Scripts
For large document batches, use a custom JavaScript or a specialized batch-processing tool to automate the extraction and merging process.
Combine PDF Files and Add Page Numbers with WPS Office
WPS Office provides a comprehensive PDF editor that allows you to easily merge multiple PDF documents, including extracted attachments, and seamlessly apply continuous page numbering to your final document.
- 1. Open WPS Office PDF Editor: Launch WPS Office on your computer and open your primary PDF document.
- 2. Merge Extracted Attachments: Navigate to the 'Page' tab and select 'Insert Pages', or use the 'Merge PDF' tool from the 'Tools' menu to append your extracted attachment files to the main document.
- 3. Apply Page Numbering: Go to the 'Insert' tab, select 'Page Number' or 'Header and Footer', and configure the sequence to number every page in the merged document continuously.

Frequently Asked Questions
Why does the standard Combine feature skip PDF attachments?
Most PDF software treats embedded attachments as separate, encapsulated files rather than actual document pages. Therefore, standard merging tools only process the primary visual pages and ignore the embedded file data.
What is Bates numbering used for?
Bates numbering is an indexing method used primarily in the legal and medical fields to place identifying numbers, dates, or time marks on documents. It ensures sequential identification and traceability across large batches of files.
Can I extract multiple PDF attachments at once?
Yes. In most professional PDF readers, you can open the Attachments pane, select all the files using 'Ctrl+A' or 'Cmd+A', and choose 'Save All' to extract them to a specified folder simultaneously.
Do I need programming skills to combine embedded attachments?
If you have a small number of files, you can extract and merge them manually without any coding. However, for large archives containing hundreds of files, utilizing a custom JavaScript or batch processing script is highly recommended to save time.




