# Convert OTP to PPSM in Node.js

> Convert OTP to PPSM in Node.js. Use the Node.js API to convert OTP files to PPSM files.

Source: https://products.aspose.com/slides/nodejs-java/conversion/otp-to-ppsm/
Updated: 2026-07-13



## Convert OTP to PPSM in Node.js

[**Aspose.Slides for Node.js via Java**](/slides/nodejs-java/) lets developers create, read, edit, and convert presentation files in Node.js applications. You can load an `OTP` file with the `Presentation` class and export it to a `PPSM` file by using the presentation API.

## Convert OTP to PPSM using Node.js

To convert `OTP` to `PPSM`, create a `Presentation` from the source file and export it to a `PPSM` file.

### Node.js code to convert OTP to PPSM

```javascript
const presentation = new aspose.slides.Presentation("sourceFile.otp");
try {
    presentation.save("output.ppsm", aspose.slides.SaveFormat.Ppsm);
}
finally {
    presentation.dispose();
}
```

## How to convert OTP to PPSM using Aspose.Slides for Node.js via Java API

To convert OTP to PPSM using Aspose.Slides for Node.js via Java, import the package, load the source file, and export it in the required format.

Install [**Aspose.Slides for Node.js via Java**](/slides/nodejs-java/).

Import the `aspose.slides.via.java` package in your Node.js project.

Load the source `OTP` file with the `Presentation` class.

Call the `save` method with the output file path and `SaveFormat.Ppsm`.

## Convert OTP to Other Supported Formats
