.oxps

How to Open OXPS File and Convert It to PDF (Free)

An OXPS file is a document saved by Windows' "Microsoft XPS Document Writer" printer, usually by accident when you meant to print or save a PDF. On Windows 10 and 11 you can open it after adding the free XPS Viewer optional feature; on a Mac, phone or any computer, the viewer below displays the pages in your browser, extracts the text and turns it into a PDF with Print / Save as PDF, without uploading the file.

Category: Fixed-layout document Standard: OpenXPS (ECMA-388) Opens with: XPS Viewer, this page

Choose what you need

Open OXPS File Online: View Pages & Save as PDF (Free)

Drop an .oxps or .xps file below. The viewer draws every page with its embedded fonts, images, shapes and colors, shows the page size and document details, lets you download the text, and creates a PDF through your browser's print dialog (choose "Save as PDF" or "Microsoft Print to PDF").

Good to know: rendering is done by this page, not by Windows, so very complex documents may differ slightly from XPS Viewer. Text and layout are kept; a few rare effects (such as visual brushes and HD Photo images) are simplified.

🔒 Nothing is uploaded — your document never leaves this device

What is an OXPS file?

An OXPS file is a document in Open XML Paper Specification (OpenXPS) format, Microsoft's fixed-layout alternative to PDF, standardized as ECMA-388. Like a PDF, it stores pages exactly as they would print: text with embedded fonts, vector shapes and images. Inside, it's a ZIP package of XML page descriptions, fonts and images.

Windows 8 and later save OXPS by default when you print to the Microsoft XPS Document Writer printer. The older .xps variant (Microsoft XPS) came from Windows Vista and 7. Both are nearly identical inside; the difference is mainly the XML namespaces, which is why old XPS Viewers can't open .oxps.

.oxps (OpenXPS).xps (Microsoft XPS).pdf
Created byWindows 8, 10, 11 XPS printerWindows Vista, 7Almost everything
Opens on WindowsXPS Viewer (optional feature)XPS ViewerBuilt in (Edge)
Opens on Mac / phonesNot nativelyNot nativelyYes
StandardECMA-388Microsoft specificationISO 32000

How to open an OXPS file: quick answer

DeviceOption
Windows 11 / 10Add the XPS Viewer optional feature, then double-click the file
Windows (alternative)SumatraPDF (free) opens XPS and OXPS
Mac, iPhone, Android, ChromebookThe viewer on this page, then Save as PDF
Need a PDFViewer above > Print / Save as PDF, or XPS Viewer > Print > Microsoft Print to PDF

Open OXPS files on Windows 11 and 10 (XPS Viewer)

Since Windows 10 version 1803, XPS Viewer isn't installed by default, but it's still available as a free optional feature:

  1. Open Settings > System > Optional features (on Windows 10: Settings > Apps > Optional features).
  2. Click View features (or Add a feature), search for XPS Viewer, tick it and click Add.
  3. When it's installed, double-click the .oxps file. If another app opens it, right-click > Open with > XPS Viewer.
Illustration: adding XPS Viewer from Windows Settings.

Administrators can also run DISM /Online /Add-Capability /CapabilityName:XPS.Viewer~~~~0.0.1.0 in an elevated Command Prompt.

Convert OXPS to PDF

In your browser (any device)

  1. Drop the .oxps into the viewer above.
  2. Click Print / Save as PDF.
  3. In the print dialog choose Save as PDF (Chrome, Edge) or Microsoft Print to PDF as the printer, set margins to None if asked, and save.

With XPS Viewer on Windows

Open the file, click File > Print (or the printer icon), choose Microsoft Print to PDF and save. Text stays selectable in the PDF.

Command line

MuPDF's free mutool converts XPS and OXPS: mutool convert -o document.pdf document.oxps.

Open OXPS files on Mac, iPhone and Android

macOS, iOS and Android have no built-in XPS support, and Preview can't open .oxps. Use the viewer on this page in Safari or Chrome: it shows the pages and creates a PDF that Preview, Files and every phone can open. If someone sends you OXPS files regularly, ask them to print to Microsoft Print to PDF instead.

Windows 7 and converting OXPS to XPS

Windows 7's XPS Viewer only understands the older .xps format and can't open .oxps files. Microsoft offered an OXPS-to-XPS converter for Windows 7 SP1, and developers can use XpsConverter /XPS /InputFile=document.oxps /OutputFile=document.xps from the Windows Driver Kit. For most people, converting to PDF with the viewer above is simpler.

Stop saving OXPS files by mistake

Most OXPS files are created by accident: Windows set Microsoft XPS Document Writer as the default printer, so "Print" saves a file instead of printing.

  • In the print dialog, choose your real printer or Microsoft Print to PDF.
  • To change the default: Settings > Bluetooth & devices > Printers & scanners, turn off Let Windows manage my default printer, select your printer and click Set as default.
  • If you never use XPS, remove the XPS printer from the same settings page.

OXPS problems and fixes

"This file can't be opened" in XPS Viewer

The file is incomplete (the print job was interrupted or the download cut off) or it's not really an XPS file. The viewer above reports both cases.

Windows asks which app to use

XPS Viewer isn't installed. Add it as described above, or use the browser viewer.

Text looks different or is missing

Some printer drivers draw text as shapes or store only glyph numbers, without the text characters. It still displays, but the text can't be extracted.

Images are gray boxes in the browser viewer

The document uses TIFF or HD Photo images, which browsers can't display. Open it in XPS Viewer or SumatraPDF and print to PDF from there.

Sources and technical references

Frequently asked questions

How do I open an OXPS file?

On Windows 10 or 11, add XPS Viewer from Settings > Optional features and double-click the file. On any device, including Mac and phones, drop it into the free viewer on this page to see the pages and save them as a PDF.

How do I convert OXPS to PDF?

Open the file in the viewer on this page and click Print / Save as PDF, then choose Save as PDF or Microsoft Print to PDF. In XPS Viewer, use File > Print with Microsoft Print to PDF. The mutool command line tool also converts it.

Why can't Windows open my OXPS file?

XPS Viewer isn't installed by default since Windows 10 version 1803. Add it as an optional feature in Settings, or use the browser viewer here. Windows 7's XPS Viewer can't open OXPS at all.

Can I open an OXPS file on a Mac?

Not with built-in apps: Preview doesn't support XPS. Use the viewer on this page in Safari or Chrome and save the document as a PDF, which every Mac app opens.

What's the difference between XPS and OXPS?

OXPS (OpenXPS) is the standardized version, ECMA-388, created by Windows 8 and later. XPS is Microsoft's earlier format from Windows Vista and 7. The content is almost the same, but older viewers can't read OXPS.

Why did Windows save my document as OXPS?

You printed to Microsoft XPS Document Writer, often because Windows made it the default printer. Choose your printer or Microsoft Print to PDF in the print dialog, and set your real printer as default.

Is an OXPS file safe to open?

Yes. OXPS files contain page descriptions, fonts and images, not programs. The viewer on this page reads them locally without uploading anything.

Can I edit an OXPS file?

Not directly. Convert it to PDF and use a PDF editor, or copy the text with Download text in the viewer. If you have the original document, edit that and print or save it again as PDF.

Last updated .