# Convert PDF to PPTX in Python

> Convert PDF files to PPTX presentations in Python. Use the Aspose.Slides Python API to import PDF pages and save them in PowerPoint Open XML format.

Source: https://products.aspose.com/slides/python-net/conversion/pdf-to-pptx/
Updated: 2026-07-31



## Convert PDF to PPTX in Python

[*Aspose.Slides for Python via .NET*](/slides/python-net/) lets you convert PDF files to PPTX presentations programmatically. The API imports each PDF page as a slide with `SlideCollection.add_from_pdf`, then writes the presentation in PowerPoint Open XML format.

The conversion requires no Microsoft PowerPoint, Adobe Acrobat, or other presentation software. See the [presentation import guide](https://docs.aspose.com/slides/python-net/import-presentation/) for more details.

## Convert PDF to PPTX using Python

Create a `Presentation`, remove its default blank slide, import the PDF pages with `SlideCollection.add_from_pdf`, and save the result with `SaveFormat.PPTX`.

### Python code for converting PDF into PPTX

```python
with slides.Presentation() as presentation:
    presentation.slides.remove_at(0)
    presentation.slides.add_from_pdf("document.pdf")
    presentation.save("presentation.pptx", slides.export.SaveFormat.PPTX)
```

## How to Convert PDF to PPTX Using Aspose.Slides for Python

These are the steps to convert PDF to PPTX in Python.

Install [*Aspose.Slides for Python via .NET*](/slides/python-net/).

Create a `Presentation` and remove its default blank slide.

Import the source PDF by using `SlideCollection.add_from_pdf`.

Save the presentation by using `Presentation.save` with `SaveFormat.PPTX`.

## Convert PDF to Other Supported Formats

- [PDF TO HTML](/slides/python-net/conversion/pdf-to-html/)
- [PDF TO IMAGE](/slides/python-net/conversion/pdf-to-image/)
- [PDF TO JPG](/slides/python-net/conversion/pdf-to-jpg/)
- [PDF TO PNG](/slides/python-net/conversion/pdf-to-png/)
- [PDF TO TIFF](/slides/python-net/conversion/pdf-to-tiff/)
- [PDF TO XML](/slides/python-net/conversion/pdf-to-xml/)
- [PDF TO SVG](/slides/python-net/conversion/pdf-to-svg/)
- [PDF TO PPT](/slides/python-net/conversion/pdf-to-ppt/)
