XPS TXT
File conversion

Convert XPS to TXT

QUICK ANSWER
Is it possible to convert XPS to TXT?
Yes - XPS converts to TXT.

XPS stores text as absolutely positioned glyph runs, not flowing paragraphs, so extracted text may have incorrect reading order on multi-column layouts or tables. XPSView and XPS-to-PDF are dedicated Windows tools for this conversion.

3 programs
Also to TXT: RTF · KKSRC · HVE

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

Why convert XPS to TXT?

Extracting to TXT lets you search, copy, or process the document's text content without installing an XPS viewer. It is also the fastest way to feed XPS text into scripts or other tools that only accept plain text input.

How to convert XPS to TXT

XPSView APP

Open the .xps file in XPSView and use its text export option to extract the document's text content to a .txt file.

XPS-to-PDF APP

Convert the .xps to PDF first with XPS-to-PDF, then extract text from the resulting PDF using any PDF text extractor for better fidelity.

XPS-to-PDF for Mac APP

On macOS, convert the .xps to PDF with XPS-to-PDF for Mac, then extract text from the PDF.

Programs that convert XPS

XPS-to-PDF
XPS-to-PDF for Mac
XPSView

About these formats

Quality & what to watch

  • XPS stores absolutely positioned glyph runs, not flowing paragraphs; text extraction may produce incorrect reading order on multi-column layouts or tables.
  • No formatting survives - fonts, sizes, bold/italic, colors, images, and page structure are all discarded in the .txt output.
  • If the XPS was created from a scanned raster image rather than text glyphs, extraction returns an empty or near-empty file; OCR software would be needed in that case.

Frequently asked questions

Is reading order guaranteed in the extracted text?
No - XPS stores glyphs at absolute coordinates without encoding paragraph or reading order; extracted text may be scrambled on complex layouts.
What if I get an empty output file?
The XPS was likely created from a scanned raster image rather than actual text glyphs; you would need to rasterize the pages first and then run OCR software.
Does the same method work for .oxps files?
Yes - OXPS (the ECMA-388 variant produced by Windows 8 and later) uses the same extraction approach; only the file extension differs.