# Convert PPTX to PPT in JavaScript

> Easily convert PPTX to PPT with Aspose.Slides—ensure seamless compatibility with PowerPoint formats while preserving your presentation’s layout and quality.

Source: https://docs.aspose.com/slides/nodejs-java/convert-pptx-to-ppt/
Updated: 2026-08-05


## **Overview**

This article explains how to convert PowerPoint Presentation in PPTX format into PPT format using JavaScript. The following topic is covered.

- Convert PPTX to PPT in JavaScript

## **About the Conversion**

For JavaScript sample code to convert PPTX to PPT, please see the section below i.e. [Convert PPTX to PPT](#convert-pptx-to-ppt). It just loads the PPTX file and saves in PPT format. By specifying different save formats, you can also save PPTX file into many other formats like PDF, XPS, ODP, HTML etc. as discussed in these articles. 

- [Convert PPTX to PDF in JavaScript](/slides/nodejs-java/convert-powerpoint-to-pdf/)
- [Convert PPTX to XPS in JavaScript](/slides/nodejs-java/convert-powerpoint-to-xps/)
- [Convert PPTX to HTML in JavaScript](/slides/nodejs-java/convert-powerpoint-to-html/)
- [Convert PPTX to ODP in JavaScript](/slides/nodejs-java/save-presentation/)
- [Convert PPTX to PNG in JavaScript](/slides/nodejs-java/convert-powerpoint-to-png/)

## **Convert PPTX to PPT**

To convert a PPTX to PPT simply pass the file name and save format to the `save` method of [**Presentation**](https://reference.aspose.com/slides/nodejs-java/aspose.slides/Presentation) class. The JavaScript code sample below converts a Presentation from PPTX to PPT using default options.

```javascript
var aspose = aspose || {};
aspose.slides = require("aspose.slides.via.java");

// instantiate a Presentation object that represents a PPTX file
var presentation = new aspose.slides.Presentation("template.pptx");
// save the presentation as PPT
presentation.save("output.ppt", aspose.slides.SaveFormat.Ppt);
```

## **FAQ**

### Do all PPTX effects and features survive when saving to the legacy PPT (97–2003) format?

Not always. The PPT format lacks some newer capabilities (e.g., certain effects, objects, and behaviors), so features may be simplified or rasterized during conversion.

### Can I convert only selected slides to PPT instead of the entire presentation?

Direct saving targets the whole presentation. To convert specific slides, create a new presentation with just those slides and save it as PPT; alternatively, use a service/API that supports per-slide conversion parameters.

### Are password-protected presentations supported?

Yes. You can detect whether a file is protected, open it with a password, and also [configure protection/encryption settings](/slides/nodejs-java/password-protected-presentation/) for the saved PPT.

