# Convert PPSX to XPS using Java

> Convert PPSX to XPS in Java. Use Aspose.Slides for Java to save PPSX slide shows as XPS files.

Source: https://products.aspose.com/slides/java/conversion/ppsx-to-xps/
Updated: 2026-08-11



## Convert PPSX to XPS Using Java

Use [Aspose.Slides for Java](/slides/java/) to load a `PPSX` slide show and save it as an `XPS` file. You can install the `aspose-slides` package in a Maven-based project by adding the repository and dependency below.

### Repository

```xml
<repository>
    <id>AsposeJavaAPI</id>
    <name>Aspose Java API</name>
    <url>https://releases.aspose.com/java/repo/</url>
</repository>
```

### Dependency

```xml
<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-slides</artifactId>
    <version>version of aspose-slides API</version>
    <classifier>jdk17</classifier>
</dependency>
```

## How to Convert PPSX to XPS via Java

Java developers can convert a `PPSX` file to `XPS` in just a few lines of code.

1.  Load the `PPSX` file with the `Presentation` class.
1.  Call the `save` method with the output file path and `SaveFormat.Xps`.
1.  The `XPS` file will be saved at the specified path.

## System Requirements

Before running the Java conversion sample code, make sure that you have the following prerequisites.

- Microsoft Windows, Linux, macOS, or another OS with a supported Java Runtime Environment.
- Get the latest version of Aspose.Slides for Java from Maven.

### PPSX to XPS Java Conversion Source Code

```java
Presentation presentation = new Presentation("slideshow.ppsx");
try {
    presentation.save("output.xps", SaveFormat.Xps);
} finally {
    presentation.dispose();
}
```

## Other Supported Conversions

- [PPSX TO BMP](/slides/java/conversion/ppsx-to-bmp/) — Bitmap Image
- [PPSX TO GIF](/slides/java/conversion/ppsx-to-gif/) — Graphics Interchange Format
- [PPSX TO HTML](/slides/java/conversion/ppsx-to-html/) — Hypertext Markup Language
- [PPSX TO JPEG](/slides/java/conversion/ppsx-to-jpeg/) — JPEG Image
- [PPSX TO ODP](/slides/java/conversion/ppsx-to-odp/) — OpenDocument Presentation Format
- [PPSX TO OTP](/slides/java/conversion/ppsx-to-otp/) — OpenDocument Presentation Template
- [PPSX TO PDF](/slides/java/conversion/ppsx-to-pdf/) — Portable Document Format
- [PPSX TO PNG](/slides/java/conversion/ppsx-to-png/) — Portable Network Graphics
- [PPSX TO POT](/slides/java/conversion/ppsx-to-pot/) — PowerPoint 97–2003 Template
- [PPSX TO POTM](/slides/java/conversion/ppsx-to-potm/) — PowerPoint Macro-Enabled Template
- [PPSX TO POTX](/slides/java/conversion/ppsx-to-potx/) — PowerPoint Template
- [PPSX TO PPS](/slides/java/conversion/ppsx-to-pps/) — PowerPoint Slide Show
- [PPSX TO PPSM](/slides/java/conversion/ppsx-to-ppsm/) — Macro-enabled Slide Show
- [PPSX TO PPT](/slides/java/conversion/ppsx-to-ppt/) — PowerPoint 97-2003 Presentation
- [PPSX TO PPTM](/slides/java/conversion/ppsx-to-pptm/) — Macro-enabled Presentation File
- [PPSX TO PPTX](/slides/java/conversion/ppsx-to-pptx/) — Open XML Presentation Format
- [PPSX TO SVG](/slides/java/conversion/ppsx-to-svg/) — Scalable Vector Graphics
- [PPSX TO SWF](/slides/java/conversion/ppsx-to-swf/) — SWF Format
- [PPSX TO TIFF](/slides/java/conversion/ppsx-to-tiff/) — Tagged Image File Format
