Skip to content
DevToolKit

XPS to PDF Converter

Convert XPS and OXPS documents to PDF entirely in your browser. No uploads, no sign-up — fixed-layout pages rendered locally at up to 288 DPI.

xpsoxps

Drop an XPS or OXPS file here or click to browse

Processed entirely in your browser — no uploads

Processed locally
Processed locally
Was this tool helpful?

How to Use

Convert an XPS or OXPS document to PDF in three steps — no installation, no upload, no account:

  1. Add your document. Drag a .xps or .oxps file onto the dropzone, or click to browse your files. The tool verifies the ZIP package signature, then reads the fixed document sequence inside to count and parse every page.
  2. Pick a render quality. Choose 96 DPI for the smallest output, 192 DPI for a balanced result, or 288 DPI for the sharpest text. Higher resolutions produce larger PDF files because each page is rasterized at that density.
  3. Convert and download. Click "Convert to PDF" and watch each page render in your browser. When finished, preview the page thumbnails and click "Download PDF" to save the converted document.

The converter preserves the exact fixed layout of the original document: vector paths, fills, strokes, positioned text runs, embedded images, clipping regions, and nested canvas transforms are all interpreted from the XPS markup and drawn at the same coordinates, so pages look the way they did in the XPS viewer.

About This Tool

XPS (XML Paper Specification) is Microsoft's fixed-layout document format, introduced with Windows Vista as an alternative to PDF. An .xps file is a ZIP package containing a sequence of FixedPage documents written in XAML markup — the same layout language used by WPF applications. The modern .oxps variant is the ECMA-standardized OpenXPS form of the same container. Both are supported here.

This converter walks the package structure the same way a viewer does: it reads the package relationships to locate the FixedDocumentSequence, follows each FixedDocument to its FixedPage entries, then parses the page markup element by element. Path geometry written in the XAML mini-language is translated into canvas drawing commands, glyph runs become positioned text with mapped font families, and image brushes are resolved to the PNG or JPEG resources embedded in the package.

Each page is rasterized onto a hidden canvas at your chosen resolution and embedded into a standards-compliant PDF built with pdf-lib. Page dimensions carry over at the exact same physical size — XPS units of 1/96 inch are converted to PDF points of 1/72 inch — so an A4 or Letter page stays A4 or Letter.

Everything happens inside your browser's memory. No file is transmitted to a server, no temporary copies are written to disk, and the libraries involved (JSZip for decompression, pdf-lib for PDF assembly) are loaded on demand only when you convert a file. For other document conversions, see our Word to PDF, EPUB to PDF, RTF to PDF, and Image to PDF converters.

Why Use This Tool

Why convert XPS to PDF?

XPS never achieved broad adoption outside the Windows ecosystem. Viewing an .xps file on macOS, Linux, iOS, or Android requires third-party software, and Microsoft deprecated the XPS Viewer in Windows 11 — it is no longer installed by default. PDF, by contrast, opens natively in every browser and operating system, supports digital signatures and archiving standards like PDF/A, and is the expected format for sharing documents, uploading to government or court portals, and attaching to email.

Limitations to note

  • Text is not selectable. Pages are rendered as high-resolution images inside the PDF, so text cannot be selected, copied, or searched. Choose a higher DPI for crisper letterforms.
  • Font substitution. XPS embeds obfuscated font files that browsers cannot decode, so text falls back to generic serif, sans-serif, or monospace families. Letterforms will differ slightly from the original.
  • Brush approximations. Gradient fills render as flat colors, tiled image brushes draw a single tile, and opacity masks are not applied.
  • Other skipped features. Digital signatures, print tickets, hyperlink annotations, and per-glyph advance adjustments are ignored.

If you need a fully editable document rather than a fixed-layout copy, convert XPS to PDF first, then run the result through the PDF to Word tool or the PDF OCR tool to rebuild a text layer. To reorganize the output pages, use the PDF Split tool.

FAQ

What is an XPS file and why convert it to PDF?
XPS (XML Paper Specification) is Microsoft's fixed-layout document format, and OXPS is its ECMA-standardized variant. PDF is far more widely supported — every browser, phone, and OS can open PDFs natively, while XPS requires a dedicated viewer. Converting to PDF makes the document universally shareable.
Is my XPS document uploaded to a server?
No. The tool unzips the XPS package, parses the FixedPage XML markup, and renders each page to PDF entirely in your browser using JavaScript. Your document never leaves your device, which makes the converter safe for confidential contracts, reports, and records.
Will the PDF keep selectable, searchable text?
No. Pages are rasterized at your chosen resolution (96-288 DPI) and embedded as high-quality images, so text is visually sharp but cannot be selected or searched. Vector shapes, colors, images, and layout are preserved exactly as they appear in the XPS viewer.
Which XPS features are not supported?
Embedded XPS fonts are replaced with generic serif, sans-serif, and monospace families, so typeface appearance may differ slightly. Gradient brushes are approximated with flat colors, and advanced features like opacity masks, tiled image brushes, and digital signatures are not rendered.
Does this tool support .oxps files?
Yes. Both legacy .xps files (application/vnd.ms-xpsdocument) and modern .oxps files (application/oxps, the OpenXPS standard) are supported. The tool detects the ZIP package signature and parses the fixed document sequence inside either container.