PDF Editing Issues

How to Prevent Character Spacing Changes When Editing PDF Text

Algirdas JasaitisAlgirdas Jasaitis Nov 3, 2026 869 views

Question details

The user needs to replace specific text, such as ISBN values, across a large batch of PDF files without encountering text distortion or spacing issues after pasting.

How to Prevent Character Spacing Changes When Editing PDF Text
Product
Adobe Acrobat
Device & OS
not provided
Scenario
Updating old ISBNs to new ones across many PDF documents in a bulk operation.
Observed behavior
When replacement text is manually pasted into the PDF, the software unexpectedly alters the character spacing of the newly inserted text.
Before you start

Prepare a clean plain text or CSV file that lists the pairs of old and new ISBNs or text strings you intend to replace, as this will be required for the automated batch script.

Solution 1Recommended

Use an Automated Script and Acrobat Action

Instead of manual pasting, use an automated script with a PDF Action tool to cleanly replace text across large batches without affecting character spacing.

Manually pasting text into existing PDF text boxes often causes bounding box conflicts, leading to unpredictable character spacing (tracking) changes.

By utilizing a batch script combined with a redaction workflow, you can permanently remove the old values and insert new text blocks that retain consistent formatting.

1
Prepare the data list

Create a list containing the old ISBNs (to be searched) and the new ISBNs (the replacement text).

2
Open Action Wizard

In your advanced PDF editor, navigate to the Tools menu and open the Action Wizard.

3
Create a custom Action

Set up a new Action that first applies a Redaction command to the old target numbers based on your list.

4
Insert the replacement text

Add a script execution step to the Action that inserts the new ISBN text at the redacted coordinates with standardized font and spacing settings.

5
Run across multiple files

Add your entire folder of PDFs to the Action queue and click Start to process all files automatically.

Use an Automated Script and Acrobat Action
Batch Processing Advantage: This method prevents human error during manual copy-pasting and completely bypasses the native text editor's auto-spacing adjustments.
Efficient PDF Editor

Edit PDF Text Seamlessly with WPS Office

WPS Office provides a powerful, intuitive PDF editor that allows you to directly modify text, replace numbers, and adjust formatting without frustrating character spacing distortions.

  1. 1. Open the PDF: Launch WPS Office and open the target PDF document you wish to update.
  2. 2. Enable Text Editing: Navigate to the 'Edit' tab located on the top ribbon and click the 'Edit Text' button.
  3. 3. Replace Text: Highlight the existing ISBN or text block and directly type or paste your new value.
  4. 4. Save the Document: Review the seamless formatting and click 'Save' to finalize your changes.
Edit PDF text and paragraphs naturally, just like editing a Word document.Maintain original character spacing and formatting automatically.Fully compatible with Microsoft Office formats (Word, Excel, PowerPoint) and standard PDF standards.Lightweight software with an easy-to-navigate interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my character spacing change when pasting text into a PDF?

PDF editing software often tries to fit the pasted text into a specific bounding box originally defined by the PDF's creator. To make the text fit, the software may unexpectedly alter the tracking and character spacing.

Can I batch replace text in multiple PDFs without using a script?

Standard PDF editors typically require manual editing file by file. For fully automated batch replacement across multiple files, specialized plugins, scripting (like JavaScript for Acrobat), or advanced Action Wizards are generally required.

Is PDF redaction permanent when replacing text?

Yes, correctly applying redaction permanently removes the underlying text or image data from the document. This is highly recommended when replacing sensitive data, as it ensures the old information cannot be recovered.

How do I access text formatting properties to fix spacing manually?

In most PDF editors, selecting the 'Edit Text' tool and clicking on a text block will reveal a formatting pane. Here you can adjust font size, color, line height, and character spacing.