Split PowerPoint Presentation Java

PowerPoint presentations are often required to be split into multiple PPTX/PPT files. You may split a presentation by each slide, even or odd slides, etc. as per your scenario. In this article, you will learn how to split the PowerPoint PPTX/PPT presentations using Java.

Java API to Split PowerPoint Presentations

In order to split PPTX or PPT presentations, we will use Aspose.Slides for Java. The API is designed to create, modify and convert PowerPoint and OpenOffice presentations from within Java applications. You can either download the API or install it using the following Maven configurations.

    <name>Aspose Java API</name>

Steps to Split PowerPoint PPTX in Java

The following are the steps to split a PowerPoint PPTX using Aspose.Slides for Java.

  • Load PPT/PPTX file from disk.
  • Loop through the slides in PowerPoint PPT.
  • Save each slide as a separate PPT file.

Let’s have a look at how to perform these steps programmatically and split a PPT using Java.

Split a PowerPoint PPT in Java

The following are the steps to split a PowerPoint PPT using Java.

The following code sample shows how to split a PPTX in Java.

Java API to Split PPT Slides - Get a Free License

You can use Aspose.Slides for Java without evaluation limitations by getting a free temporary license.

Split PowerPoint PPT - Online Demo

Try the online presentation splitter, which is based on Aspose.Slides.


In this article, you have learned how to split PowerPoint PPTX or PPT in Java. You can customize the provided code sample to split each slide in the presentation, all the even or odd slides, etc. In addition, you can visit the documentation to explore other features of API. Also, you can feel free to let us know about your queries via our forum.

See Also