Why convert OXPS to TXT?
OXPS stores Unicode text runs as fixed-position glyph runs in its XML markup, making text extraction technically feasible. Users typically need this to search or process document content without an OXPS viewer, or to feed text into other tools. The output is plain .txt - unstructured characters with no fonts, sizes, or layout.
How to convert OXPS to TXT
MuPDF OPEN-SOURCE
Run mutool convert -F text -o output.txt yourfile.oxps; the command extracts all pages into one text file with page breaks marked.
Programs that convert OXPS
About these formats
An OXPS file is a fixed-layout document, Microsoft's alternative to PDF, created by the "Microsoft XPS Document Writer" virtual printer on Windows 8 and later. On Windows 10 and 11 it no…
Open .OXPS details →A TXT file is plain, unformatted text - the simplest document format on any computer. Double-click it: Windows opens it in Notepad, macOS in TextEdit, Linux in gedit. Nothing to install. If…
Open .TXT details →Quality & what to watch
- OXPS stores fixed-position glyph runs, not flowing paragraphs;
mutoolreassembles them into lines of text but reading order can be wrong on multi-column layouts and tables. - If the OXPS was created from a scanned document, pages contain raster images with no text glyphs - extraction produces nothing useful; OCR would be needed instead.
- No formatting is preserved: fonts, sizes, bold/italic, colors, and images are all discarded.
Frequently asked questions
Can I extract text from OXPS for free?
mutool convert -F text -o output.txt yourfile.oxps.Will the extracted text be accurate?
What if `mutool` refuses the file?
.oxps to .xps first - some older MuPDF builds treat the extensions differently, though current versions handle both.