XPS is a fixed-layout document format that looks the same on every device

XPS stands for XML Paper Specification. It is a file format created by Microsoft that works like a digital version of a printed page — what you see on your screen is exactly what prints, and it looks identical whether someone opens it on Windows, a Mac, or a tablet. XPS files have the extension .xps at the end of the filename.

You will most often encounter XPS documents when someone sends you a file they want you to view but not edit, or when you print something to a file instead of to a physical printer. XPS is less common than PDF, but it serves the same basic purpose: preserving the exact appearance of a document so nothing shifts or changes when it moves between devices.

The main difference between XPS and PDF is that XPS was designed specifically by Microsoft and integrates more tightly with Windows. PDF is more universal — nearly every device can open it without extra software. XPS requires a dedicated viewer on older Windows machines, though Windows 10 and later versions include XPS support built in.

Key Takeaways

  • XPS documents display identically on every device, with no reformatting or layout shifts, making them useful for sharing documents that must look exact.
  • Windows 10 and later include a built-in XPS viewer, but older Windows versions and non-Windows devices may need additional software to open XPS files.
  • You can create an XPS file by printing to XPS instead of to a physical printer, a feature available in most Windows applications.
  • XPS and PDF serve similar purposes, but PDF is more widely compatible across different operating systems and devices.

How XPS files are created

The most common way to create an XPS file is through the print dialog. When you open a document in Word, Excel, a web browser, or almost any other Windows application, you can go to File > Print and then select "Microsoft Print to PDF" or "Print to XPS" instead of choosing a physical printer. This converts the document into an XPS file and saves it to your computer.

You do not need special software to create an XPS file — any application that can print can create one. The process is identical to printing normally, except you choose a file destination instead of a printer. Some applications also allow you to export directly to XPS format through a File menu option, though the print method works in nearly all cases.

Opening and viewing XPS documents

On Windows 10 and Windows 11, XPS files open automatically with the built-in XPS Viewer when you double-click them. You can view the document, zoom in and out, and navigate between pages, but you cannot edit the content directly within the viewer.

On older versions of Windows (Windows 7 and earlier), you may need to download a free XPS viewer from Microsoft's website. On Mac or Linux, you will need third-party software — some PDF readers can open XPS files, but not all. If you receive an XPS file and cannot open it, converting it to PDF is often the easiest solution.

If you need to edit the content of an XPS document, you will need to convert it back to an editable format like Word or PDF first. Online conversion tools can do this, though the conversion may not be perfect if the document has complex formatting.

XPS versus PDF: which format to use

Both XPS and PDF preserve the exact layout and appearance of a document, but they have different strengths. PDF is the clear choice if you need the widest possible compatibility — nearly every device, operating system, and web browser can open PDF files without any extra software. PDF is also the standard format for sharing documents professionally and legally.

XPS is primarily useful within Windows environments. If you are sharing documents only with other Windows users, or if you are archiving documents for internal use, XPS works well. However, if there is any chance the recipient uses a Mac, Linux, or an older device, PDF is the safer choice.

For most everyday purposes, PDF has become the default. XPS remains relevant mainly in enterprise environments where Windows is standard, or when someone specifically requests XPS format.

When you might receive an XPS file

You are most likely to receive an XPS file from a Windows user who printed a document to file instead of to a printer, or from a business that uses XPS as part of their internal document management system. Government agencies and large organizations sometimes use XPS for archiving official documents because the format preserves formatting reliably over time.

If you receive an XPS file and do not have the software to open it, the sender can usually convert it to PDF and resend it. Alternatively, you can use an online conversion tool to change the XPS file to PDF yourself, which takes only a few seconds.

Converting XPS to other formats

If you need to convert an XPS file to PDF or another format, several free online tools can do this. Search for "XPS to PDF converter" and you will find multiple websites that let you upload an XPS file and download the converted version. The process is straightforward: upload the file, wait a few seconds, and download the result.

On Windows, you can also open the XPS file in the built-in XPS Viewer and print it to PDF using the print dialog — select "Print to PDF" instead of a physical printer. This method works well and does not require any external tools.

Frequently Asked Questions

Can I edit an XPS file directly?

No, XPS files are designed to be viewed, not edited. If you need to change the content, you must convert it to an editable format like Word or PDF first, make your changes, and then save it again. Some online conversion tools can help with this process.

Is XPS the same as PDF?

Both formats preserve document layout and appearance, but they are different. PDF is more widely compatible across all devices and operating systems. XPS is primarily a Windows format and was created by Microsoft as an alternative to PDF.

Why would someone send me an XPS file instead of PDF?

Usually by accident — they printed to XPS without realizing it, or their organization uses XPS as a standard. If you have trouble opening it, ask them to resend it as PDF instead, which is more universally compatible.

Do I need to install anything to open XPS files on Windows?

No, Windows 10 and later include XPS Viewer built in. If you use Windows 7 or earlier, you can download the free XPS Viewer from Microsoft. On Mac or Linux, you will need third-party software or an online converter.

Can I print an XPS file?

Yes, open the XPS file in the XPS Viewer and use the print button or File > Print. It will print exactly as it appears on screen, since XPS is designed to preserve layout perfectly.