File Corruption & Recovery

Fix Word Alt Text Replaced by Codes (e.g., P1901C1T65#y1)

Muhammad TalhaMuhammad Talha Oct 19, 2026 868 views

Question details

Recover image alternative text in a Word document that was unexpectedly replaced by random alphanumeric codes while stored on OneDrive.

How to Fix Word Alt Text Replaced by Codes (e.g., P1901C1T65#y1)
Product
Microsoft Word
Device & OS
not provided
Scenario
Preparing a document with hundreds of images for accessible PDF distribution via OneDrive.
Observed behavior
Alternative text for images is unexpectedly replaced by synchronization codes such as P1901C1T65#y1 or P452#yIS1.
Before you start

Immediately download a local copy of your affected document to your computer's hard drive to prevent any further OneDrive synchronization loops from overwriting your data.

Solution 1Recommended

Restore an Earlier Version from Version History

Use the built-in Version History feature in OneDrive or Microsoft Word to revert the document to a state before the alt text corruption occurred.

Because this issue is typically tied to real-time synchronization glitches between the desktop app and OneDrive, restoring a previous version is the most reliable way to recover the lost image descriptions without retyping them.

1
Access Version History

Open your document in Microsoft Word, click on 'File' in the top-left corner, select 'Info', and click on 'Version History'. Alternatively, right-click the file in your OneDrive folder online and select 'Version history'.

2
Locate an Uncorrupted Version

Browse the list of previous versions organized by date and time. Open a version saved right before you noticed the alphanumeric codes appearing.

3
Verify Alt Text

Right-click a few images in the opened version, select 'View Alt Text', and confirm that your original descriptions are intact rather than the P1901C1T65#y1 codes.

4
Restore and Save Locally

Click the 'Restore' button at the top of the document. Once restored, go to 'File' > 'Save As' and save a copy directly to your local PC (e.g., your Desktop) to isolate it from further sync issues.

Restore an Earlier Version from Version History
Check Exported PDF: After restoring, always perform a test export (File > Export > Create PDF/XPS) to ensure the alternative text transfers correctly to the final accessible PDF.
Free Microsoft Office alternative

Try WPS Office for Reliable Document Editing and PDF Export

If Microsoft Word synchronization issues continue to corrupt your alternative text, consider switching to WPS Office. It provides a highly compatible, lightweight, and free alternative that supports standard Word formats and accessible PDF exports without complex cloud sync glitches.

  1. 1. Download and Install WPS Office: Visit the official WPS website to download and install the free software on your device.
  2. 2. Open Your Document: Launch WPS Writer and open your .docx file to safely review or edit your image alternative text.
  3. 3. Export to PDF: Go to Menu > Export to PDF to generate your document with all image descriptions correctly preserved.
Fully compatible with Microsoft Word (.docx) formats and image metadataStable local file editing ensuring your alternative text is never overwritten by sync codesBuilt-in, high-quality PDF export preserving accessibility featuresFree to download and use with a familiar, lightweight interface
microsoft office alternative - wps office

Frequently Asked Questions

Why is my Word alt text changing to random codes?

This is typically caused by a synchronization conflict or document corruption when auto-saving files with numerous images to Microsoft OneDrive. The process can glitch and replace the image metadata with internal processing or syncing codes.

Can I prevent OneDrive from corrupting my alt text?

Yes. To minimize sync-related metadata corruption, work on your document locally by temporarily disabling AutoSave or saving the file outside the OneDrive folder. Once all alternative text is added, use 'Save As' to upload the completed file back to OneDrive.

Will the corrupted alt text transfer to an exported PDF?

Yes. If the Word document displays alphanumeric codes instead of your alternative text, exporting it to a PDF will carry over these incorrect codes, which breaks accessibility compliance for screen readers.