Metadata-Version: 2.4
Name: IronPdf
Version: 2026.11.0.1
Summary: IronPdf for Python
Author-email: Iron Software <developers@ironsoftware.com>
License-Expression: LicenseRef-Commercial
Project-URL: Homepage, https://ironpdf.com/python/
Project-URL: Documentation, https://ironpdf.com/python/docs/
Project-URL: Code Examples, https://ironpdf.com/python/examples/
Project-URL: API Reference, https://ironpdf.com/python/object-reference/api/
Project-URL: Changelog, https://ironpdf.com/python/product-updates/changelog/
Project-URL: Licensing, https://ironpdf.com/python/licensing/
Keywords: pdf,python pdf,html to pdf,pdf generation,pdf conversion,html5,chromium,pdf sdk
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: <4,>=3.7
Description-Content-Type: text/markdown
Requires-Dist: pythonnet

![Pypi](https://img.shields.io/pypi/v/IronPdf?color=informational&label=latest) ![Installs](https://img.shields.io/pypi/dm/IronPdf?color=informational&label=installs&logo=pypi) ![Passed](https://img.shields.io/badge/build-%20%E2%9C%93%203158%20tests%20passed%20(0%20failed)%20-107C10?logo=visualstudio) ![windows](https://img.shields.io/badge/%E2%80%8E%20-%20%E2%9C%93-107C10?logo=windows) ![macOS](https://img.shields.io/badge/%E2%80%8E%20-%20%E2%9C%93-107C10?logo=apple) ![linux](https://img.shields.io/badge/%E2%80%8E%20-%20%E2%9C%93-107C10?logo=linux&logoColor=white) ![docker](https://img.shields.io/badge/%E2%80%8E%20-%20%E2%9C%93-107C10?logo=docker&logoColor=white) ![aws](https://img.shields.io/badge/%E2%80%8E%20-%20%E2%9C%93-107C10?logo=amazonaws) ![microsoftazure](https://img.shields.io/badge/%E2%80%8E%20-%20%E2%9C%93-107C10?logo=microsoftazure) [![livechat](https://img.shields.io/badge/Live%20Chat:-24/5-purple?logo=googlechat&logoColor=white)](https://ironpdf.com/python/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=topshield#helpscout-support)

# IronPDF for Python

Create, convert, edit, and extract PDFs in Python.

IronPDF is a Python PDF library for creating and manipulating PDF documents, with a Chromium-based rendering engine for high-fidelity conversion of HTML, CSS, JavaScript, URLs, and images to PDF. Build PDF functionality for Windows, Linux, macOS, Docker, AWS, and Azure.

[![IronPDF NuGet Trial Banner Image](https://raw.githubusercontent.com/iron-software/iron-nuget-assets/main/IronPDF-python-readme/nuget-trial-banner-large.png)](https://ironpdf.com/python/licensing/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=topbanner#trial-license)

[Documentation](https://ironpdf.com/python/docs/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=navigation) | [Tutorials](https://ironpdf.com/python/tutorials/html-to-pdf/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=navigation) | [Code Examples](https://ironpdf.com/python/examples/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=navigation) | [API Reference](https://ironpdf.com/python/object-reference/api/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=navigation) | [Licensing](https://ironpdf.com/python/licensing/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=navigation)

## Install IronPDF

```
pip install ironpdf
```

IronPDF downloads its remaining native dependencies the first time it runs.

Requirements:

- Python 3.7 or later
- The .NET 8.0 runtime (IronPDF tries to install it each time it is imported)
- Windows, Linux, or macOS, including Docker containers and cloud environments such as AWS and Azure

If the automatic install does not succeed, which is common on Linux and macOS, install the [.NET 8.0 runtime](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) yourself. See the [installation guide](https://ironpdf.com/python/get-started/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=installation) for platform-specific requirements and dependencies.

## Quick Start: HTML to PDF

```python
from ironpdf import ChromePdfRenderer

renderer = ChromePdfRenderer()
pdf = renderer.RenderHtmlAsPdf("<h1>Hello from IronPDF</h1><p>Create PDFs from HTML in Python.</p>")
pdf.SaveAs("output.pdf")
```

IronPDF uses a Chromium-based rendering engine, so modern HTML5, CSS3, JavaScript, images, and web fonts render as they do in a current browser.

## Convert a URL to PDF

```python
from ironpdf import ChromePdfRenderer

renderer = ChromePdfRenderer()
pdf = renderer.RenderUrlAsPdf("https://ironpdf.com/python/")
pdf.SaveAs("website.pdf")
```

See more [HTML to PDF examples](https://ironpdf.com/python/examples/using-html-to-create-a-pdf/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs), including [JavaScript rendering](https://ironpdf.com/python/examples/javascript-html-to-pdf/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs) and [image to PDF conversion](https://ironpdf.com/python/examples/image-to-pdf/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs).

## PDF Features

IronPDF provides 50+ features for creating, rendering, editing, securing, and extracting content from PDF documents.

[![IronPDF Features](https://raw.githubusercontent.com/iron-software/iron-nuget-assets/main/IronPDF-python-readme/features-table.png)](https://ironpdf.com/python/docs/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=featuresbanner)

[HTML to PDF](https://ironpdf.com/python/examples/using-html-to-create-a-pdf/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=keyfeatures) | [PDF Editing](https://ironpdf.com/python/how-to/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=keyfeatures) | [Forms](https://ironpdf.com/python/examples/form-data/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=keyfeatures) | [Signatures](https://ironpdf.com/python/examples/digitally-sign-a-pdf/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=keyfeatures) | [Security](https://ironpdf.com/python/examples/security-and-metadata/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=keyfeatures) | [Text & Image Extraction](https://ironpdf.com/python/examples/extract-pdf-text/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=keyfeatures)

## Cross-Platform PDF Generation

Deploy IronPDF applications across Windows, Linux, and macOS, including Docker containers and cloud environments such as AWS and Azure.

[![IronPDF Cross Platform Compatibility Support Image](https://raw.githubusercontent.com/iron-software/iron-nuget-assets/main/IronPDF-python-readme/cross-platform-compatibility.png)](https://ironpdf.com/python/get-started/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=crossplatformbanner)

## More PDF Examples

- [Merge](https://ironpdf.com/python/examples/merge-pdfs/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=featureslist) and [split](https://ironpdf.com/python/examples/split-pdf/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=featureslist) PDF documents
- Add [headers and footers](https://ironpdf.com/python/examples/headers-and-footers/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=featureslist) and [watermarks](https://ironpdf.com/python/examples/pdf-watermarking/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=featureslist)
- [Extract text](https://ironpdf.com/python/examples/extract-pdf-text/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=featureslist) and [extract images](https://ironpdf.com/python/examples/extract-pdf-image/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=featureslist) from PDFs
- Create and fill [PDF forms](https://ironpdf.com/python/examples/form-data/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=featureslist)
- Apply [passwords, permissions, and security settings](https://ironpdf.com/python/examples/security-and-metadata/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=featureslist)
- [Digitally sign](https://ironpdf.com/python/examples/digitally-sign-a-pdf/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=featureslist) PDF documents
- Convert [images to PDF](https://ironpdf.com/python/examples/image-to-pdf/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=featureslist)
- Render [asynchronously](https://ironpdf.com/python/examples/async/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=featureslist) for high-volume workloads

## Licensing

IronPDF is a commercially licensed product.

- **Trial License:** Get a free developer key to evaluate the full library with no commitment. For development and testing. Start your trial [HERE](https://ironpdf.com/python/licensing/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=licensingtrial#trial-license).
- **Purchase a License:** Unlock the library for use in commercial projects and access technical support. Purchase your license [HERE](https://ironpdf.com/python/licensing/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=licensingpurchase).

## Documentation & Support

- [Documentation](https://ironpdf.com/python/docs/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs)
- [API Reference](https://ironpdf.com/python/object-reference/api/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs)
- [Code Examples](https://ironpdf.com/python/examples/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs)
- [Tutorials](https://ironpdf.com/python/tutorials/html-to-pdf/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs)
- [Changelog](https://ironpdf.com/python/product-updates/changelog/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs)
- [Troubleshooting](https://ironpdf.com/python/troubleshooting/?utm_source=pypi&utm_medium=organic&utm_campaign=readme&utm_content=supportanddocs)

For support and inquiries, email support@ironsoftware.com.
