# Convert ODP to PPTX in PHP

> Convert ODP to PPTX with Aspose.Slides for PHP via Java. Clean code examples, batch tips, and high-quality results—no PowerPoint needed.

Source: https://docs.aspose.com/slides/php-java/convert-odp-to-pptx/
Updated: 2026-08-02


## **Overview**

This article explains how to convert an ODP presentation to PPTX format using Aspose.Slides.

## **Convert ODP to PPTX/PPT Presentation**
Aspose.Slides for PHP via Java offers [Presentation](https://reference.aspose.com/slides/php-java/aspose.slides/Presentation) class that represents a presentation file. [Presentation](https://reference.aspose.com/slides/php-java/aspose.slides/Presentation) class can now also access ODP through [Presentation](https://reference.aspose.com/slides/php-java/aspose.slides/Presentation#Presentation-java.lang.String-) constructor when the object is instantiated. The following example shows how to convert a ODP Presentation into PPTX Presentation.

```php
// Open the ODP file
  $pres = new Presentation("AccessOpenDoc.odp");
  try {
  } finally {
  }
  # Saving the ODP presentation to PPTX format
  $pres->save("AccessOpenDoc_out.pptx", SaveFormat::Pptx);
```

## **Live Example**
You can visit [**Aspose.Slides Conversion**](https://products.aspose.app/slides/conversion/) web app, which is built with **Aspose.Slides API.** The app demonstrates how ODP to PPTX conversion can be implemented with Aspose.Slides API.

## **FAQ**

### Do I need to install Microsoft PowerPoint or LibreOffice to convert ODP to PPTX?

No. Aspose.Slides works standalone and does not require third-party applications to read or write ODP/PPTX.

### Are master slides, layouts, and themes preserved during conversion?

Yes. The library uses a full presentation object model and retains structure, including master slides and layouts, so the design remains correct after conversion.

### Can I convert password-protected ODP files?

Yes. Aspose.Slides supports detecting protection, opening and working with [protected presentations](/slides/php-java/password-protected-presentation/) (including ODP) when you provide the password, as well as configuring encryption and access to document properties.

### Is Aspose.Slides suitable for cloud or REST-based conversion services?

Yes. You can use the local library in your own backend or [Aspose.Slides Cloud](https://products.aspose.cloud/slides/family/) (REST API); both options support ODP → PPTX conversion.

