Corrupted XPS File: How to Confirm It and What to Do Next

An XPS file is a ZIP archive internally, which makes corruption diagnosable in a way that opaque binary formats are not. You can test the container directly, pinpoint how severe the damage is, and — depending on the source — often recover the content without specialist tools.

This page covers how to confirm the file is actually corrupted (rather than just missing its viewer), what typically causes corruption, and the recovery routes in order of effectiveness.

Confirm the file is corrupted

Before attempting recovery, check that the problem really is damage and not a missing application. A healthy XPS that simply has no viewer will produce an 'open with' prompt on Windows or do nothing on a Mac. A corrupted XPS produces different symptoms:

To run the ZIP test: right-click the file, choose Rename, change the extension to .zip, then double-click to open it. A healthy XPS will show a _rels folder, a Documents folder, and a [Content_Types].xml file at the root. An invalid archive or an empty window confirms the container is damaged.

Common causes of XPS corruption

Most XPS corruption falls into one of four categories:

Convert Your XPS File to PDF

Up to 20 files at once · 25 MB per file · no watermark · files deleted within 60 minutes.

Recovery option 1: re-download or re-receive the file

If the XPS came from a download, request the file again. Most corruption from a bad download is unrepeatable — a fresh download over a stable connection will produce an intact file. Ask the sender to check the file size after the first transfer against the re-sent copy; if they match, the issue was at the download end.

If it arrived as an email attachment, ask the sender to upload it to a file-sharing service and send the link instead. Large attachments are more prone to gateway interference than small files, and a direct HTTPS download bypasses that risk entirely.

Recovery option 2: re-export from the source document

If you created the XPS or have access to the source application and original document, re-exporting is the cleanest fix. XPS files are not usually edited directly — they are generated outputs. Re-open the Word document, Excel spreadsheet, or other source, and either:

A direct PDF export from Office typically produces a smaller, more compatible file than the XPS route, so it is worth switching if the goal is just to share the document.

Recovery option 3: rename .oxps to .xps

If the file has an .oxps extension and tools are reporting it as invalid, renaming it to .xps is worth trying before concluding it is corrupted. OXPS (OpenXPS, ECMA-388) and XPS use the same OPC/ZIP container, and some older tools only recognise the .xps extension. The rename is non-destructive — the bytes inside the file do not change.

If the file truly is corrupted rather than mislabelled, the rename will not help — but it takes five seconds and rules out an extension mismatch cleanly.

Frequently asked questions

How can I tell if an XPS file is corrupted without specialist software?

Rename it to .zip and open it in Windows Explorer. A valid XPS is a ZIP archive containing a _rels folder, Documents folder, and [Content_Types].xml at the root. If Windows reports an invalid archive or the folder appears empty, the file is damaged.

Can a partially corrupted XPS be repaired?

There is no standard XPS repair tool. If the ZIP structure is intact but individual pages or resources are missing, a converter may produce a partial PDF (some pages render, others do not). The only reliable fix is to obtain an intact copy of the file from the source.

My XPS Viewer shows the file fine but the converter says it's corrupted — which is right?

The converter is probably detecting damage the XPS Viewer tolerates. Viewers often skip missing embedded resources and render what they can. A converter that must reconstruct every page precisely is stricter. The ZIP rename test will show whether the container itself is intact.

Does renaming .oxps to .xps damage the file?

No. The rename only changes how the operating system labels the file. The contents are identical, and renaming is fully reversible. OXPS and XPS use the same internal structure, so the rename is safe to try.

The file was fine yesterday — why is it corrupted now?

A storage fault is the most likely cause if nothing else changed. Run a disk health check (Windows: right-click the drive in File Explorer → Properties → Tools → Check). If the drive is failing, prioritise recovering your other files. A corrupted XPS from a failing drive cannot be repaired from the file alone — the data is gone.

Last updated: June 2026