Convert PowerPoint PPT to PPTX using Java

PPT to PPTX Java

PowerPoint PPTX is an advanced version of PPT that is based on XML. With the support of XML, it becomes easier for other types of programs to open PowerPoint presentations. In order to get the benefit of the latest features offered by PPTX, you may need to convert PPT files to PPTX. For such cases, this article covers how to convert PowerPoint PPT files to PPTX using Java.

Java API for PPT to PPTX Conversion

In order to perform PPT to PPTX conversion, we’ll use Aspose.Slides for Java. It is a feature-rich API that lets you create or modify presentation documents quite easily. In addition, it allows you to convert the PPT/PPTX presentations to other file formats. You can either download the API or install it using the following Maven configurations.

    <name>Aspose Java API</name>

Convert PowerPoint PPT to PPTX

The following are the steps to convert a PPT file to PPTX in Java.

  1. Load the PowerPoint PPT presentation using Presentation class.
  2. Convert PPT to PPTX using, SaveFormat.Pptx) method.

The following code sample shows how to convert a PPT file to PPTX.

Get a Free API License

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


In this article, you have learned how to convert PowerPoint PPT files to PPTX using Java. You can easily integrate the provided code in your applications for single or batch conversion of PPT to PPTX. In addition, you can visit the documentation to explore other features of Aspose.Slides for Java. Also, you can feel free to let us know about your queries via our forum.

See Also