How to Fix OCR Disappearing After Saving a Redacted PDF as PDF/A
Question details
The user needs to prevent the OCR text layer from disappearing on specific pages after applying a redaction and saving the document as an archival PDF/A.

- Product
- Adobe Acrobat / PDF Editor
- Device & OS
- not provided
- Scenario
- Redacting sensitive information in a scanned PDF document and attempting to save the final version as an archival PDF/A file.
- Observed behavior
- The OCR searchable text disappears completely from the specific page where the redaction was applied, while the OCR layer remains intact on all other unmodified pages.
Always create a backup copy of your original OCR-processed PDF before applying redactions or converting to PDF/A, so you do not permanently lose the searchable text layer if the conversion fails.
Adjust the Redaction and PDF/A Conversion Workflow
By separating the redaction process from the PDF/A conversion and re-applying OCR if necessary, you can prevent the PDF editor from unintentionally stripping the OCR layer when it rebuilds the modified page.
When a PDF editor converts a file to PDF/A, it often flattens or rebuilds pages that contain interactive or modified elements, such as redactions. This page-rebuilding process can inadvertently strip the invisible OCR text layer that sits over the scanned image.
Open your original scanned document, apply all necessary redactions to the sensitive words or paragraphs, and apply them permanently. Do not convert to PDF/A yet.
Save the newly redacted document as a standard PDF file using the 'Save As' function to lock in the page modifications.
Open the newly saved standard PDF and run the 'Recognize Text' (OCR) tool again to ensure the flattened redacted page has a fresh, searchable text layer.
Finally, use the 'Save As Other' or 'Export' menu to save the finalized, fully searchable document to the PDF/A archival format.

Edit, Redact, and Save PDFs with WPS Office
Avoid complicated workflows and page-rebuilding errors. WPS PDF offers built-in OCR and secure redaction tools, allowing you to easily process and archive your documents without losing text searchability.
- 1. Open your PDF: Launch WPS Office and open your scanned PDF document in the WPS PDF workspace.
- 2. Apply redactions: Navigate to the Protect tab, select Redact, mark the sensitive text or images you want to conceal, and apply the redaction.
- 3. Ensure text searchability: Go to the Tools tab and click OCR to extract and preserve the searchable text layer across all pages.
- 4. Save your document: Click Menu, select Export to PDF, and save your securely redacted and searchable file.

Frequently Asked Questions
Why does PDF/A conversion affect OCR text?
PDF/A is an ISO-standardized format for long-term archiving that strictly regulates document elements. During conversion, PDF editors often flatten transparency, annotations, or redactions to meet these standards. This flattening process can inadvertently remove the invisible text layer created by OCR on the modified pages.
Does redaction automatically delete the underlying text?
Proper redaction tools completely remove the underlying text and metadata from the specifically selected area, replacing it with a colored box. However, it should not delete the OCR text for the rest of the unredacted page unless a software bug or a whole-page flattening process occurs.
Can I recover the lost OCR text from the saved PDF/A?
Once the OCR layer is stripped and the file is saved as PDF/A, the searchable text cannot be recovered directly from that file structure. You will need to either re-run the OCR process on the new PDF/A document or revert to your original backup file.
Should I run OCR before or after redacting?
It is generally best practice to apply your redactions first, save the file as a standard PDF, and then perform OCR. This prevents the OCR engine from recognizing the sensitive text you intend to hide and minimizes conflicts during the document flattening process.




