# Convert ODP to HTML in Python

> Convert ODP presentations to HTML documents in Python. Use the Aspose.Slides Python API to export a presentation as HTML.

Source: https://products.aspose.com/slides/python-net/conversion/odp-to-html/
Updated: 2026-08-11



## Convert ODP to HTML in Python

[*Aspose.Slides for Python via .NET*](/slides/python-net/) lets you convert ODP presentations to HTML documents programmatically. Load the presentation and call `Presentation.save` with `SaveFormat.HTML`.

The HTML output renders slide content in a browser without requiring Microsoft PowerPoint. You can test the conversion in your [browser](https://products.aspose.app/slides/conversion/odp-to-html) or use the Python API in your application.

Install the library from [PyPI](https://pypi.org/project/aspose-slides/) by using the following command:

### Console/Terminal

```console
pip install aspose-slides
```

## How to Convert ODP to HTML in Python

Follow these steps to convert an ODP file to HTML using Python.

Load the ODP file into a `Presentation` instance.

Call `Presentation.save` with the output path and `SaveFormat.HTML`.

The presentation is saved as an HTML document at the specified path.

## System Requirements

Before running the Python conversion sample, make sure your environment meets these requirements.

- Microsoft Windows, macOS, or 64-bit Linux (see the [system requirements](https://docs.aspose.com/slides/python-net/system-requirements/)).
- Python 3.5 or later.
- Aspose.Slides for Python via .NET installed in your environment.

### This sample code shows how to convert ODP to HTML in Python

```python
with slides.Presentation("presentation.odp") as presentation:
    presentation.save("presentation.html", slides.export.SaveFormat.HTML)
```

## Save ODP as HTML in Python

Use the [free online app](https://products.aspose.app/slides/conversion/odp-to-html) to see the ODP-to-HTML conversion process in action.

## Other Supported Conversions

- [ODP TO BMP](/slides/python-net/conversion/odp-to-bmp/) — Bitmap Image
- [ODP TO EMF](/slides/python-net/conversion/odp-to-emf/) — Enhanced Metafile Format
- [ODP TO FODP](/slides/python-net/conversion/odp-to-fodp/) — OpenDocument Flat XML Presentation
- [ODP TO GIF](/slides/python-net/conversion/odp-to-gif/) — Graphics Interchange Format
- [ODP TO JPG](/slides/python-net/conversion/odp-to-jpg/) — JPEG Image
- [ODP TO OTP](/slides/python-net/conversion/odp-to-otp/) — OpenDocument Presentation Template
- [ODP TO PDF](/slides/python-net/conversion/odp-to-pdf/) — Portable Document Format
- [ODP TO PNG](/slides/python-net/conversion/odp-to-png/) — Portable Network Graphics
- [ODP TO POT](/slides/python-net/conversion/odp-to-pot/) — PowerPoint 97–2003 Template
- [ODP TO POTM](/slides/python-net/conversion/odp-to-potm/) — PowerPoint Macro-Enabled Template
- [ODP TO POTX](/slides/python-net/conversion/odp-to-potx/) — PowerPoint Template
- [ODP TO PPS](/slides/python-net/conversion/odp-to-pps/) — PowerPoint Slide Show
- [ODP TO PPSM](/slides/python-net/conversion/odp-to-ppsm/) — Macro-enabled Slide Show
- [ODP TO PPSX](/slides/python-net/conversion/odp-to-ppsx/) — PowerPoint Slide Show
- [ODP TO PPT](/slides/python-net/conversion/odp-to-ppt/) — PowerPoint 97-2003 Presentation
- [ODP TO PPTM](/slides/python-net/conversion/odp-to-pptm/) — Macro-enabled Presentation File
- [ODP TO PPTX](/slides/python-net/conversion/odp-to-pptx/) — Open XML Presentation Format
- [ODP TO SVG](/slides/python-net/conversion/odp-to-svg/) — Scalable Vector Graphics
- [ODP TO SWF](/slides/python-net/conversion/odp-to-swf/) — SWF Format
- [ODP TO TIFF](/slides/python-net/conversion/odp-to-tiff/) — Tagged Image File Format
- [ODP TO XPS](/slides/python-net/conversion/odp-to-xps/) — XML Paper Specification
