I am using a computer with Linux.

How can I view files with the XPS extension?

  • @Oliver Salzburg how is "Is there an XPS viewer for linux?" "not constructive"? – CW Holeman II Jul 26 '13 at 4:47
  • @C.W.HolemanII: no, actually its a software req - these used to be alright, but eventually we decided it was just another product req. The right way to ask these questions would be in the form of a solution to a problem. See well most of these for more details - its been discussed to death. – Journeyman Geek Jul 26 '13 at 8:20
  • I'd like to add that – even if the question became "How can I view XPS files on Linux?" – we require a minimum amount of research effort. Even the Wikipedia page lists a couple of Linux programs, so unless there's any problem someone's facing with any of those tools, the question would be too basic. – slhck Jul 26 '13 at 8:24
  • @slhck: this was asked in 2010... (now there's plenty, back in 2010, not really). I can see why you would want to close it anyway for consistency, just saying that back in 2010, this would've been a good question :) – houbysoft Jul 26 '13 at 8:31
  • I know… in 2010 everything was different around here (and of course also in the world of XPS viewers), it's just that we need to find some sort of middle ground in these situations, which is a little hard. – slhck Jul 26 '13 at 8:34

The developers of Ghostscript, Artifex, have an XPS Viewer for Linux which presumably has the same requirements as Ghostscript. The download page for the whole suite is here. Also, here is a page from Microsoft that lists XPS related products.

  • Maybe that MS link used to be helpful, but now it goes to an FAQ page that only lists Windows software - not helpful at all for this question. – Jason Antman Aug 5 '12 at 14:36
  • @JasonAntman: The Third-party support section of the Wikipedia article on XPS should provide a partial replacement for the former content of that MS page. Additional information can be found here. – Dennis Williamson Aug 5 '12 at 14:47

I think you should get Okular, since it's the best XPS viewer for Linux:

Okular is a universal document viewer based on KPDF for KDE 4. This means Okular works on multiple platforms, including but not limited to Linux, Windows, Mac OS X, *BSD, etc.

Okular combines the excellent functionalities of KPDF with the versatility of supporting different kind of documents, like PDF, Postscript, DjVu, CHM, XPS, ePub and others.

  • 1
    AFAIK, it depends on KDE. – houbysoft Apr 29 '11 at 23:06
  • Okular tends to corrupt characters. I read that it corrupts the national characters other than en-US, but I just used it with an entirely en-US ducument and everything but the first couple of lines were corrupt. – ajeh Dec 6 '16 at 0:23
  • okular fails on my oxps file – gerrit Mar 27 '20 at 13:27

mupdf is a very lightweight, fast and small PDF and XPS viewer.

  • Works great for me for XPS files that Evince can not open. – ericzma Aug 27 '12 at 4:17
  • 1
    @ericzma Evince can open XPS files when gxps is installed. On Debian-based systems, you can install it via sudo apt-get install libgxps2. – sondra.kinsey Aug 20 '17 at 22:32

As part of the Ghostscript-related suite of GhostPDL page description languages, there is the commandline gxps which can...

  • ...make XPS files display on screen: gxps file.xps,
  • ...convert XPS files to PDF (or PostScript, JPEG, TIFF, PNG, ...).

The command to convert an XPS to PDF would be

gxps \
  -o output.pdf \
  -sDEVICE=pdfwrite \

Not the answer you're looking for? Browse other questions tagged or ask your own question.