XPS is a document format Microsoft created to work like PDF
XPS stands for XML Paper Specification. It is a file format that stores documents — text, images, layouts — in a way that looks the same on any device or printer. Microsoft built it to do what PDF does: lock a document's appearance so it prints and displays identically whether you open it on a phone, a laptop, or send it to a printer across the country.
An XPS file has the extension .xps at the end of its name. When you open one, you see exactly what the creator intended: fonts stay the same size, images stay in the same place, margins do not shift. Nothing reformats itself based on your screen size or software version.
XPS never became as common as PDF. Most people and organizations use PDF instead. But Windows computers can open XPS files natively, and some printers and scanners still produce them. You may encounter one when downloading a document from a government website or opening a file someone created on an older Windows system.
Key Takeaways
- XPS files display and print identically across different devices because the format locks fonts, images, and layout in place.
- Windows computers include a built-in XPS viewer, so you can open these files without installing additional software.
- PDF is far more common than XPS, but some printers, scanners, and older Windows documents still use the XPS format.
- You cannot edit an XPS file directly — you can only view it, print it, or convert it to another format like PDF.
How XPS files work technically
XPS uses a language called XML to describe every element of a document: where text sits, what font it uses, what color it is, where images go, how big the page is. This description is compressed and stored as a single file. When you open that file, your computer reads the XML instructions and displays the document exactly as they specify.
Because the format includes all the information needed to display the document — fonts, colors, images, everything — it does not rely on software installed on your computer. A document created on one Windows machine looks identical when opened on another, or on a Mac, or on a tablet. Nothing is missing or substituted.
This is why XPS and PDF both exist: they solve the problem of "I created this document on my computer, but when someone else opens it, it looks wrong." Both formats say "here is exactly what this should look like" and stick to it.
Opening XPS files on Windows, Mac, and other devices
On Windows 10 and Windows 11, you already have an XPS viewer built in. Double-click an .xps file and it opens in the XPS Viewer process. You can read it, zoom in and out, and print it from there. No read or installation needed.
On a Mac, the built-in Preview process can open XPS files. Drag the file onto Preview, or right-click it, select "Open With," and choose Preview from the list.
On phones and tablets, XPS support is less common. Android devices can open XPS files with apps like XPS Viewer (available in the Google Play Store) or by converting the file to PDF first. iPhones and iPads do not have native XPS support, so you will need a third-party app or a conversion tool.
If you need to open an XPS file but do not have the right software, the easiest path is often to convert it to PDF using an online converter. Search "XPS to PDF converter" and upload your file — most of these tools are free and do not require an account.
Converting XPS to PDF or other formats
Because XPS is less common than PDF, you may want to convert an XPS file so more people can open it or so you can edit it. Conversion tools exist online and as desktop software.
Online converters like CloudConvert, Zamzar, or Online-Convert accept an XPS file, process it, and let you read the result as a PDF or image file. Upload your file, select the output format, and read the converted version. These tools are free, though some limit how many files you can convert per day.
On Windows, you can also print an XPS file to PDF. Open the XPS file in XPS Viewer, select Print, choose "Microsoft Print to PDF" as the printer, and save the result as a PDF file. This works because Windows treats PDF as a printer destination.
If you need to edit the content — change text, move images, add annotations — conversion alone will not help. You would need to open the converted file in an editor like Microsoft Word (if you converted to .docx format) or Adobe Acrobat (if you converted to PDF). Conversion preserves the appearance but does not unlock the content for editing.
When you might encounter XPS files
XPS files are most common in specific situations. Some government agencies and large organizations still use XPS for official documents because the format guarantees that the document looks identical no matter who opens it. Older Windows systems sometimes saved documents as XPS by default. Some printers and document scanners produce XPS output instead of PDF.
You might also see XPS if someone sends you a document created in Microsoft Office and they chose to save it as XPS instead of PDF. This is rare — most people save as PDF — but it happens.
If you receive an XPS file and you are not sure what to do with it, the simplest approach is to convert it to PDF using an online tool. PDF is more widely supported, and the conversion preserves the document's appearance perfectly.
XPS versus PDF: which is better
PDF is better for most purposes. It is supported on every device, every operating system, and every web browser. More people know how to open a PDF. More tools exist to edit, annotate, and manage PDFs. If you have a choice between saving a document as XPS or PDF, choose PDF.
XPS has one advantage: it integrates more tightly with Windows. If you are working entirely within a Windows environment and sharing documents only with other Windows users, XPS works smoothly. But the moment someone on a Mac or phone needs to open your document, PDF is the safer choice.
Microsoft created XPS to compete with PDF, but PDF won that competition. XPS remains useful in specific contexts — particularly in printing and some enterprise environments — but it never became mainstream. For everyday document sharing, PDF is the standard.
Frequently Asked Questions
Can I edit text inside an XPS file?
No. XPS files are read-only, like PDFs. You cannot edit the text, images, or layout directly inside an XPS file. If you need to edit the content, you must convert the XPS file to an editable format like Word (.docx) or a PDF editor, though conversion may not preserve all formatting perfectly.
Why would someone send me an XPS file instead of a PDF?
Usually by accident or habit. Older Windows systems defaulted to XPS for some document types. Some organizations still use XPS for internal documents. If someone sends you an XPS file, you can ask them to resend it as a PDF, or convert it yourself using an online tool.
Is XPS safe to open?
Yes. XPS files are as safe as PDFs. They are static documents that cannot run programs or install software. Open them the same way you would open any other document file.
Do I need special software to open XPS files on Windows?
No. Windows includes XPS Viewer built in. straightforward double-click the .xps file and it opens automatically. You do not need to install anything.
Can I print an XPS file?
Yes. Open the XPS file in XPS Viewer (or any process that can open it), select Print, choose your printer, and print normally. The document will print exactly as it appears on screen.