XPS to JPEG Converter

Render the pages of an XPS document as JPEG images with MuPDF or PyMuPDF.

or drop files here

XP

XPS Format

XML Paper Specification

A package of fixed document pages and resources.

  • XML-based page descriptions
  • Can include text and graphics
  • Requires document interpretation
JP

JPEG Format

JPEG image

A lossy raster rendering of a selected page.

  • No alpha channel
  • Text becomes pixels
  • No multipage document structure

How to convert XPS to JPEG

Follow these steps to convert XPS to JPEG online.

    1

    Choose your XPS file, or several at once.

    2

    Wait while the converter turns each file into JPEG.

    3

    Download each new JPEG file. Your original file isn't changed.

What to know before converting XPS to JPEG

  • This page has no reader for XPS pages.
  • MuPDF and PyMuPDF render XPS pages to images, as described below.
  • Each JPEG is one page, with text turned into pixels and no alpha channel.
  • Keep the original authoring file: XPS holds page descriptions, not editable source.

Understanding XPS and preparing JPEG

What is an XPS file?

XPS means XML Paper Specification, a format for electronic documents and printing. It uses XML and Open Packaging Conventions, and it fixes the page layout rather than reflowing the content. Fonts can be embedded. Its structure includes ordered fixed documents and fixed pages. XPS belongs to document and printing workflows, where page placement matters more than editable paragraphs, so most XPS files are printed output, such as a document saved through a print dialog.

Programs that open XPS files

Windows:

  • SumatraPDF: a free reader with XPS support.

Windows and Linux:

  • Okular: lists XPS among its formats.

Windows, Mac and Linux:

  • MuPDF viewer: lists XPS among its formats.

Mac:

  • mutool draw: reads XPS pages for rendering.

XPS and JPEG compared

  • Content: XPS keeps pages, text and resources together. JPEG is one picture.
  • Compression: JPEG is lossy.
  • Transparency: JPEG has no alpha channel.
  • Text: it becomes pixels.

This page cannot render XPS pages. A document tool must draw the page first, and then the pixels can be saved as JPEG. Producing a JPEG from XPS means choosing a page and a resolution; extracting an embedded photo would be a different task, because a page also holds text and vector drawing instructions.

The JPEG is a lossy picture of one page. It is easy to share and to upload, but it cannot be searched or copied as text, and each page you want needs its own file. Decide which pages you need before you start, because a long document gives one JPEG per page.

Other ways to convert XPS to JPEG

  • PyMuPDF: open the file with pymupdf.open, pick a page and call get_pixmap(dpi=150, alpha=False), then save it as a .jpeg with jpg_quality=90. Writing JPEG needs version 1.22.0 or newer.
  • MuPDF and ImageMagick: run mutool draw -r 150 -o xps-view-%d.png printed.xps, then magick xps-view-1.png -quality 90 printed-page.jpeg for each page.

Problems with XPS files

  • Small print is soft: a page rendered at a low resolution loses fine type, so render it again with a larger -r.
  • Only one page appears: each render is a single page, so repeat it for every page you need.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert XPS to JPEG?

Why can't this page open my XPS?

What is an XPS file?

Does mutool draw write JPEG?

Does one JPEG hold the whole document?

How sharp will the JPEG be?

Is XPS the same as PDF?

Can I edit the text after converting to JPEG?