.xps.oxps

XPS file: what it is and how to open it

An XPS file is a document saved as fixed pages, usually by printing to the Microsoft XPS Document Writer in Windows. Drop one here to see its pages and copy the text.

Drop your XPS file here

Opens on this device. Nothing is uploaded. Any other file works too.

What is an XPS file?

XPS (XML Paper Specification) is Microsoft’s fixed-page document format, its answer to PDF. It arrived with Windows Vista in January 2007 as both a document format and the way Windows sends pages to printers. Every element sits at an exact position, and fonts and images travel inside the file, so a page looks the same everywhere.

Most XPS files come from the Microsoft XPS Document Writer printer, often picked by mistake instead of a real printer or Microsoft Print to PDF. Since Windows 8 that printer writes OpenXPS (.oxps), the version Ecma International standardized as ECMA-388 in June 2009.

XPS never caught on outside Windows. Windows 10 stopped installing XPS Viewer by default in April 2018, and Acrobat stopped converting XPS to PDF that December, so an XPS file often arrives with nothing ready to open it.

What is inside

An XPS file is a ZIP package built on the same Open Packaging Conventions as DOCX. A FixedDocumentSequence part lists the documents, each FixedDocument lists its pages, and each FixedPage is XML that places Glyphs (runs of text), Paths (vector shapes) and images at exact coordinates.

Fonts and pictures are stored once as separate parts and shared between pages. Embedded fonts are usually obfuscated, scrambled lightly so they cannot be copied out casually; the specification describes how to reverse it, so any viewer can still draw the text.

A typical XPS package. Part names vary between the programs that write them.

How to open an XPS file

Windows

  • XPS ViewerFree from Microsoft, but not installed by default: add it in Settings under Optional features. Reads, prints and signs XPS documents.
  • SumatraPDFFree and open source. Opens XPS along with PDF, EPUB and DjVu.
  • Universal File Opener for WindowsOursReads the document’s text offline. For the page layout, use XPS Viewer or SumatraPDF.

Mac

  • Google DrivemacOS has no XPS viewer. Upload the file to Google Drive in your browser to preview its pages, or drop it on this page.

Android

  • MuPDF viewerFree, from Artifex, the makers of MuPDF. Reads XPS, PDF and EPUB documents.
  • Universal File OpenerOursDraws the pages with their fonts, graphics and images, searches and copies the text, and prints to PDF.

In a browser

  • Google DriveFree with a Google account. Upload the file and open it to preview the pages.
  • Universal File OpenerOursDrop the file on this page to see its pages, search them and copy the text. Nothing is uploaded.

Won’t open?

Windows cannot open the file

Since Windows 10 version 1803, XPS Viewer is an optional feature. Add it in Settings under Optional features, install SumatraPDF, or drop the file on this page.

I printed to XPS by mistake

The Microsoft XPS Document Writer printer was selected. Open the XPS in XPS Viewer, print it again and choose Microsoft Print to PDF. Next time pick that printer instead.

Acrobat will not convert it

Acrobat stopped converting XPS to PDF with its December 2018 release. Print the XPS from XPS Viewer to Microsoft Print to PDF instead.

A Mac, iPhone or Android phone cannot open it

None of them reads XPS by itself. Drop the file on this page, use MuPDF viewer or Universal File Opener on Android, or ask the sender for a PDF.

Convert an XPS file

  • To PDF on WindowsOpen it in XPS Viewer, choose Print and pick Microsoft Print to PDF as the printer.
  • To PDF on AndroidOpen it in Universal File Opener, choose Print and select Save as PDF in the Android print dialog.

XPS files in our apps

See XPS and OpenXPS pages on Android and in the browser, with search and copy, and print them to PDF on Android. On Windows the app shows the text only. XPS stays read-only.

Get it on Google PlayGet it from Microsoft Store
All Android tools and limits for XPS files
  • Read supported fixed-layout pages with embedded fonts, vector graphics and images.
  • Go to a page, zoom and search the text.
  • Copy text, word count, save extracted text, and Print. Android’s print dialog offers Save as PDF, which is how an XPS becomes a PDF here.

Limits

  • XPS is read-only: pages render and export, but the XPS itself is not editable.
  • Glyph-index-only text and some gradient types may render incompletely.

Walkthrough: Office file support and saving on Android