PDF Conversion Issues

How to Preserve PDF File Modification Dates During OCR

Anum MushtaqAnum Mushtaq Nov 5, 2026 868 views

Question details

The user wants to perform OCR on historical PDF files without altering their original file modification dates.

Can OCR Preserve PDF File Modification Dates?
Product
PDF Editors
Device & OS
not provided
Scenario
Batch processing or running OCR on older PDF documents where preserving the original metadata and historical timestamps is crucial.
Observed behavior
Running OCR adds a new text layer and resaves the document, which causes the operating system to automatically update the 'Date Modified' property to the current time.
Before you start

Because OCR physically alters the file by adding a hidden text layer, the operating system will inevitably update the modification date upon saving. You must secure your original metadata before making any edits.

Solution 1Recommended

Create a Duplicate Backup Before Running OCR

The safest and most reliable way to preserve historical file dates is to duplicate the documents before modifying them with OCR.

Since standard PDF editors (like Acrobat or WPS PDF) do not have a built-in feature to freeze operating system timestamps during a file save, you should rely on file management.

By performing OCR on a copy of the file, the original document remains untouched and its historical modification date is perfectly preserved.

1
Create a Backup Folder

Right-click on your desktop or inside your file explorer, select 'New', and then 'Folder'. Name it 'Original PDFs Archive'.

2
Copy the Original Files

Select all the historical PDF files you intend to process. Press Ctrl+C (Windows) or Cmd+C (Mac) to copy, then paste them into your new backup folder.

3
Run OCR on the Working Copies

Open the copies (not the archived originals) in your PDF editor and run the OCR process. The working copies will get new modification dates, while your archived files retain their original timestamps.

Create a Duplicate Backup Before Running OCR
Metadata Protection: You can always refer back to the archive folder to check the exact date and time the historical documents were originally modified.
Try WPS PDF OCR

Effortlessly Extract Text from PDFs with WPS Office

WPS Office offers a powerful, built-in OCR feature for scanned PDF documents. While standard OS rules still apply to modification dates, WPS PDF's intuitive 'Save As' functionality allows you to easily create a new searchable document while leaving your historical original files completely untouched.

  1. 1. Open your PDF: Launch WPS Office and open the scanned or historical PDF you want to process.
  2. 2. Access the OCR Tool: Navigate to the 'Tools' tab on the top ribbon and click on the 'OCR' button.
  3. 3. Extract and Save As: Select your desired language and layout options. Once the text is extracted, use the 'Menu' > 'Save As' option to create a new file, preserving the original document's modification date.
High-accuracy OCR for scanned documents and imagesSeamless compatibility with standard Adobe PDF formatsEasy 'Save As' workflow to protect original file metadataAll-in-one lightweight Office suite for managing your documents
microsoft office alternative - wps office

Frequently Asked Questions

Why does my PDF modification date change when I run OCR?

Running OCR analyzes the image and embeds a new, searchable text layer into the PDF. Because the file's contents are rewritten and saved, the operating system automatically updates the 'Date Modified' property to the exact time the save occurred.

Can Adobe Acrobat or WPS automatically freeze the modification date during OCR?

No. Standard PDF editors rely on your operating system's file management rules. Because the file itself is being fundamentally altered, the OS will always update the modification timestamp.

Does the 'Date Created' also change when running OCR?

Generally, if you overwrite the existing file by simply clicking 'Save', the 'Date Created' remains the same, but the 'Date Modified' will change. If you use 'Save As' to make a new file, the 'Date Created' will be the current time.

Is there a way to batch process PDFs and keep their old dates?

The most effective method is to use a script or a third-party file attribute tool. You can run OCR on your batch of files, and then use the tool to batch-revert the 'Date Modified' attributes back to their original recorded states.