Skip to content

XPS / OpenXPS to JPEG converter

XPS → JPG is for the upload box that takes JPEG and nothing else: each page of the XPS becomes a JPEG, flattened onto white.

  • Converted with Image engine · input deleted within 24 h
  • Free: 5 conversions a day · 5 MB each
  • Higher limits →

From real runs

What you get — and what changes

  • Page images Kept

    Three pages gave three JPEGs named -page-1 to -page-3 in one ZIP, in page order; a one-page XPS gave a single JPEG.

  • File size Changed

    JPEG is not always smaller for documents. The text-only Go record was 854,707 bytes as JPEGs against 838,390 as PNGs, while the Word page with a photo dropped from 45,428 to 32,895 bytes.

  • Small type Changed

    At quality 90 faint grey speckles appear around digits and table rules when you zoom in; at normal size the pages read cleanly.

  • Pixel dimensions Kept

    JPEG pages have the same pixel sizes as the PNG route: 1190 × 1683 for an XPS A4 page and 1440 × 1080 for a slide at 144 DPI.

  • Transparency Lost

    JPEG has no alpha channel, so transparent areas of the page are filled with white unless you set another background colour.

  • Selectable text and links Lost

    Like any image, the JPEG keeps neither the text layer nor the web links that the XPS had.

Sample conversions

Three-page Go record as JPEGs

Input
76,412-byte .xps printed through Microsoft XPS Document Writer, three A4 pages of tables.
Output
854,707-byte ZIP with three 1190 × 1683 JPEGs in 0.7 s, four times faster than the PNG route but slightly larger.

PowerPoint deck saved as XPS

Input
75,442-byte XPS of three text slides.
Output
124,352-byte ZIP of three 1440 × 1080 JPEGs in 0.17 s; the PNG ZIP of the same slides was 87,529 bytes.

OpenXPS text page

Input
51,175-byte .oxps with one A4 page of monospaced text.
Output
One 47,735-byte JPEG in 0.08 s, no ZIP.

A real XPS / OpenXPS → JPEG run

We converted our XPS / OpenXPS sample (74 KB) with Image engine on 2026-10-20. It took 180 ms and produced a 121 KB JPEG file, 1.6× larger than the input. The engine raised 2 warnings, listed below.

Input · sample.xps · 74 KB

ZIP with 18 parts

Archive parts
18
first
[Content_Types].xml

Output · sample.zip · 121 KB

ZIP with 3 page images (sample-page-1.jpg … sample-page-3.jpg)

Archive parts
3
first
sample-page-1.jpg
  • PDF pages rendered as images; selectable text is not preserved.
  • 3 pages written as one JPG each inside a ZIP.

Options and when to change them

quality
Lower to 75 when an upload form has a size cap; raise to 95 if small print looks fuzzy.
dpi
Use 300 when the JPEG will be printed; keep 144 for forms and email.
max_pages
Use 1 when a form wants a single image of the first page.
background
Change it only if the page has transparent areas and white is the wrong fill colour.

Do it yourself

MuPDF and pdftoppm

bash
mutool convert -o tmp.pdf document.xps && pdftoppm -jpeg -jpegopt quality=90 -r 144 tmp.pdf page

Go through PDF: with mutool 1.21, mutool draw -o page-%d.jpg still wrote PNG data under a .jpg name.

XPS / OpenXPS to JPEG by API or MCP

The HTTP API and the MCP server run the exact engine this page uses (Image engine); the response carries the same warnings the web converter shows. Check support first with GET /api/v1/pairs?from=xps&to=jpg.

curl
curl -X POST https://filetypeconverters.com/api/v1/convert \
  -H "Authorization: Bearer $FTC_API_KEY" \
  -F "file=@input.xps" -F "from=xps" -F "to=jpg" \
  -F 'options={"width":0}' \
  --output output.jpg

Options this engine accepts for XPS / OpenXPS → JPEG

KeyApplies toTypeDefault
widthWriting JPEGnumber0
heightWriting JPEGnumber0
fitWriting JPEGcontain · cover · fillcontain
qualityWriting JPEGnumber90
backgroundWriting JPEGstring#ffffff
stripMetadataWriting JPEGbooleantrue
API reference

When this is the wrong conversion

  • If the pages are mostly text and tables, XPS → PNG gives crisper edges at a similar size.
  • If someone needs to search or copy the content, XPS → PDF keeps the text layer.

XPS / OpenXPS to JPEG questions

Why is my JPG bigger than the PNG of the same XPS page?

JPEG is designed for photographs. Black text on white produces sharp edges that JPEG spends many bytes describing, so text-only XPS pages often come out larger as JPEG than as PNG.

The form only accepts one file but my XPS has several pages. What do I upload?

Set max_pages to 1 for the first page, or open the ZIP and pick the page the form needs. Each JPEG is named after its page number.

Can I make the JPEGs smaller for an email?

Lower quality to 75 or set width to the size you need, for example 1000 pixels; both reduce the file without changing the page layout.