Skip to content
100% local · 0 KB uploadedCompress PDF

PDF vs XPS vs EPUB: Which Format to Use?

PDF, XPS, and EPUB are all document formats, but they were built for different jobs. PDF is the universal exchange format. XPS was Microsoft's PDF competitor that never took off. EPUB is the standard for reflowable ebooks. Pick the format that matches what your readers will do with the file.

Quick answer

Which format should you use?

  • Use PDF when you need the document to look identical on every device — contracts, invoices, print-ready files, forms, archived documents.
  • Use EPUB when the text should reflow to fit the reader's screen — novels, textbooks, long-form reading on phones and e-readers.
  • Avoid XPS for new work. It is a deprecated Microsoft format with poor software support outside Windows. Use PDF instead.

The short version: PDF and EPUB are both alive and serve different purposes. XPS is effectively legacy. If you have an XPS file today, the practical move is to convert it to PDF.

PDF

The universal exchange format

PDF (Portable Document Format) was created by Adobe in 1993 and standardized as ISO 32000-1 in 2008. Its defining property is fixed layout: the document looks the same on every screen and printer, regardless of the viewer's fonts or operating system. Fonts, images, vector graphics, and page geometry are all embedded in the file.

Where PDF wins: legal documents, invoices, receipts, print production, forms, signed contracts, archived records, anything where the layout is the document. PDF is also the only one of the three with broad support for interactive features — form fields, digital signatures, annotations, embedded JavaScript, and accessibility tagging (PDF/UA).

Where PDF loses: long-form reading on small screens. A two-column A4 PDF on a phone means pinching and scrolling for every paragraph. PDFs do not reflow.

XPS

Microsoft's abandoned competitor

XPS (XML Paper Specification) was introduced by Microsoft with Windows Vista in 2006 as a direct answer to PDF. It is standardized as ECMA-388 and based on a subset of XAML packaged in a ZIP container (the file extension is.oxps or .xps). Conceptually it does the same job as PDF: fixed-layout document exchange with embedded fonts and images.

Where XPS wins: on Windows, it was once integrated into the print stack and required no extra software. For a few years it was a reasonable choice for Windows-only workflows.

Where XPS loses: everywhere else. macOS, Linux, iOS, and Android have no first-class XPS viewer. Even on Windows, Microsoft removed the standalone XPS Viewer from default installations in Windows 10 (2004) and deprecated the XPS print path in favor of OpenXPS being optional. Third-party support is minimal. There is no meaningful reason to create new XPS files today.

If you receive an XPS file, the practical path is to open it on Windows (if a viewer is installed) and print to PDF, or use an online converter. After that, treat it as a PDF.

EPUB

The reflowable ebook standard

EPUB (currently EPUB 3.2, maintained by the W3C) is the open standard for ebooks. An EPUB file is a ZIP archive containing XHTML content, CSS stylesheets, images, and metadata. The defining property is reflow: the reader app chooses the font, font size, line length, and pagination. The same EPUB file reads comfortably on a phone, a 6-inch e-reader, a tablet, and a desktop reader.

Where EPUB wins: novels, nonfiction books, textbooks, manuals, and any long-form text meant to be read on multiple screen sizes. EPUB also supports embedded audio and video, read-aloud narration (media overlays), and accessibility features built into the spec.

Where EPUB loses: anything where exact layout matters. A magazine spread, a sheet-music page, a complex form, or a print-ready document cannot be reliably expressed in EPUB because the reader reflows the content. EPUB also has no native support for digital signatures or print production metadata.

Side by side

Feature comparison

FeaturePDFXPSEPUB
LayoutFixedFixedReflowable
StandardISO 32000ECMA-388W3C EPUB 3.2
Best forExchange, print, forms(legacy) Windows printEbooks, long reading
SignaturesYes (PKI)LimitedNo
FormsYes (AcroForms, XFA)LimitedNo
Viewer supportUniversalWindows onlyWide (e-readers, apps)
Status (2026)ActiveDeprecatedActive

In practice

Converting between them

The most common conversion is EPUB → PDF: you have an ebook and want a print-ready or archival copy. Calibre is the standard tool. The reverse, PDF → EPUB, is harder because PDF's fixed layout has to be re-flowed into reflowable text. Tools exist (Calibre, Adobe Acrobat) but the result always needs manual cleanup for anything beyond simple text. Scanned PDFs require OCR first and even then the output is rough.

XPS → PDF is straightforward on Windows: open the XPS file and print to a PDF driver. There is rarely a reason to go the other way.

For the workflows IXPDF supports — merging, splitting, rotating, watermarking, compressing, metadata editing — the input and output are PDF. We do not convert to or from EPUB or XPS, because those conversions either lose layout fidelity (PDF → EPUB) or target formats with declining support (XPS). If you need an ebook, use a dedicated ebook tool. If you need a fixed-layout document for sharing or printing, use PDF.

Keep reading

Related resources