DOCX JPG PDF XML PPTX
  Product Family
PPT

Convert PPTX to PPT in Java

Save PPTX presentations as PPT files using Aspose.Slides for Java without Microsoft PowerPoint.

Convert PPTX to PPT Using Java

Use Aspose.Slides for Java to load a PPTX presentation and save it as a PPT file. You can install the aspose-slides package in a Maven-based project by adding the repository and dependency below.

Repository

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

Dependency

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

How to Convert PPTX to PPT via Java

Java developers can convert a PPTX file to PPT in just a few lines of code.

  1. Load the PPTX file with the Presentation class.
  2. Call the save method with the output file path and SaveFormat.Ppt.
  3. The PPT 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.
 

PPTX to PPT Java Conversion Source Code

Presentation presentation = new Presentation("presentation.pptx");
try {
    presentation.save("output.ppt", SaveFormat.Ppt);
} finally {
    presentation.dispose();
}
 
  • Free App to Convert PPTX to PPT

    Convert presentations and slides online.

    Other Supported Conversions

    You can also convert PPTX into many other file formats including the ones listed below.

    PPTX TO BMP (Bitmap Image)
    PPTX TO GIF (Graphical Interchange Format)
    PPTX TO HTML (Hyper Text Markup Language)
    PPTX TO JPEG (JPEG Image)
    PPTX TO ODP (OpenDocument Presentation Format)
    PPTX TO OTP (OpenDocument Standard Format)
    PPTX TO PDF (Portable Document Format)
    PPTX TO PNG (Portable Network Graphics)
    PPTX TO POT (Microsoft PowerPoint Template Files)
    PPTX TO POTM (Microsoft PowerPoint Template File)
    PPTX TO POTX (Microsoft PowerPoint Template Presentation)
    PPTX TO PPS (PowerPoint Slide Show)
    PPTX TO PPSM (Macro-enabled Slide Show)
    PPTX TO PPSX (PowerPoint Slide Show)
    PPTX TO PPTM (Macro-enabled Presentation File)
    PPTX TO SVG (Scalable Vector Graphics)
    PPTX TO SWF (SWF Format)
    PPTX TO TIFF (Tagged Image Format)
    PPTX TO VIDEO (Video File)
    PPTX TO WORD (Microsoft Word Document)
    PPTX TO XPS (XML Paper Specifications)