I need to replace a repeated phrase throughout a 12-page PDF contract, but I only have the PDF version. Can I change every instance without messing up the formatting?
Sejda Desktop can do a find and replace on a PDF, but the formatting can shift depending on how the original was made. I’d suggest opening it in Word or Google Docs first since that handles a long contract easier. What program did the PDF come from originally, and are you on a phone or computer?
If the contract is a real text PDF and not a scan, a global find and replace can work, but expect line breaks and spacing to shift a bit across 12 pages. I’d try Sejda’s text editing tools or a desktop editor that supports replace all, then check every page. Is the text selectable when you click it? Not sure if it’s the same on Mac.
@sharon_1980 You are right that the text needs to be selectable first.
If it is a scanned image, the contract requires OCR before replacing words. I always highlight a few lines to check if the spaces are real characters or just visual gaps.
@sharon_1980 Had the same thing last month with a lease renewal. If clicking shows selectable text, a find and replace usually keeps the layout close enough. If it turns out to be a scan, you would need OCR first and the results can be messy, so I would check every page after.
Had the same thing last month with client agreements. Sejda has a find and replace tool that works for this, but watch out if your new phrase is longer. It can mess up the line spacing, learned that the hard way. Not sure if it’s the same on Mac, so check every page before saving.
If it’s just text and not scanned, I’d check if you can open it in Word first since that sometimes keeps formatting close enough. Had a lease doc like this last month, saved me a ton of retyping.
I ran into this with a contract once, and PDFs usually don’t support a clean, document-wide text replacement. If you have Acrobat Pro, its Find and Replace tool is worth trying, but check every page afterward because line breaks and spacing can shift. Otherwise, convert the PDF to Word, replace the phrase there, and export it back to PDF, keeping the original as a backup.
@Samantha1986 That longer replacement messing up spacing is annoying, I’ve had it on quotes too. Sejda Desktop’s replace all usually works if the text is selectable. I always proof every page after because line breaks can shift. Not sure if it’s the same on Mac.
If the PDF has real selectable text, find and replace will work. PDFcap has a search and replace tool, you type the old phrase and new one and it swaps every instance. I’d keep the new phrase close in length so the layout doesn’t shift.
@carl.1965, keeping the replacement close in length is sensible, especially in a contract with tight line spacing. I would still save a copy first and compare each page afterward, since even selectable PDF text can reflow unexpectedly.
Yes, that is annoying because PDFs treat text like positioned objects, not a normal document. Keep a backup, then try Sejda PDF Editor’s find and replace if the text is selectable; embedded fonts and spacing can still cause slight shifts. If it is scanned, run OCR first, or cover each phrase and add replacement text manually. Any edit will invalidate an existing digital signature, so check that before saving.
I duplicate the file so I keep a clean backup, then open the copy in Word and use find/replace. Word is already on my old laptop, so I skip extra PDF software for contract text. It reflows the pages though, so I check all 12 pages and fix spacing before I send it.