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. 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 to PPTX in Java.

Java PowerPoint PPT to PPTX Converter - Free Download

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>

How to Convert PPT to PPTX in Java

It is an easy task to perform PPT to PPTX conversion using Aspose.Slides for Java. The following are the steps to save a PPT file as PPTX in Java.

  • Load the PPT file from disk.
  • Save PPT as PPTX to desired location.

Let’s now have a look at how to convert a PPT file to PPTX programmatically in Java.

Java PowerPoint PPT to PPTX Conversion

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

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

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

PPT to PPTX Java Converter - Get a Free License

You can use Aspose.Slides for Java without evaluation limitations by getting a free 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.

Java PowerPoint API - Read More

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