Pillow
python-pillow.org
- Free plan
- Windows
- macOS
- Linux
What Pillow is
Pillow is a free Python library for opening, editing, and saving image files. It can identify and read more than 30 raster formats, while its write support covers a narrower range of common interchange and presentation formats. Its image operations include color transforms, enhancement, geometric transforms, and work with image sequences. The project aims to support current Linux, macOS, and Windows systems; Pillow 12 supports Python 3.10 through 3.14. Installation is documented through pip with `python3 -m pip install --upgrade Pillow`. Source builds require JPEG and zlib by default, while WebP, JPEG 2000, color management, and complex text layout rely on additional libraries. For untrusted image data, the project recommends safeguards such as format allowlists, input limits, and sandboxing. Pillow uses the open-source MIT-CMU License. The project names Django, Wagtail, Home Assistant, and Matplotlib among those using it for image-related tasks. Commercial support and maintenance are available through a Sonar Subscription.
Who it suits
Pillow suits Python developers who need to open, edit, save, or transform image files across common desktop operating systems. Developers building from source or handling untrusted images should account for optional libraries and the project's security guidance.
Good to know, and what to watch
- Reads more than 30 raster image formats.
- Includes color, enhancement, and geometric operations.
- Supports current Linux, macOS, and Windows systems.
- Pillow 12 supports Python 3.10 through 3.14.
- Free and licensed under the MIT-CMU License.
- Write support covers fewer formats than read support.
- Some capabilities depend on additional libraries.
- Source builds require JPEG and zlib by default.
Plans
Every plan and pricePillow
Free plan
Getting started
- Open the Pillow project website
- Install Python 3.10 through 3.14 for Pillow 12
- Install with `python3 -m pip install --upgrade Pillow`
- Add required or optional external libraries for the capabilities you need
- Use Pillow in a Linux, macOS, or Windows application
Limits to check
Pillow is free with no paid plan. Source builds require JPEG and zlib by default, while WebP, JPEG 2000, color management, and complex text layout depend on additional libraries.
The verdict
Pillow provides a broad set of image operations for Python, with support across Linux, macOS, and Windows. Check format-writing needs and library dependencies, especially for source builds or less common capabilities.
Questions people ask
Is Pillow free?
Yes. The listed Pillow plan costs nothing and is open-source software; optional commercial support and maintenance are available through a Sonar Subscription.
Which systems does Pillow support?
The project aims to support current Linux, macOS, and Windows versions.
Which Python versions does Pillow 12 support?
The version-support table lists Python 3.10 through 3.14.
What image formats can Pillow handle?
It can identify and read more than 30 raster formats. Writing supports a smaller range focused on common interchange and presentation formats.
Does Pillow provide an API?
Yes. API access is listed, along with batch conversion, image resizing, and color-mode conversion.
What the maker publishes
- Commercial support
- The project says commercial support and maintenance for Pillow are available as part of the Sonar Subscription. source
- Ecosystem use
- The project site names Django, Wagtail, Home Assistant, and Matplotlib as projects that use Pillow for image-related tasks. source
- Founded
- 2010 source
- Image formats
- The library can identify and read over 30 raster file formats, while write support is less extensive and covers most common interchange and presentation formats. source
- Image operations
- The handbook covers image processing, color transforms, enhancement, geometrical transforms, and image sequences. source
- Install
- The project documents installation with pip using `python3 -m pip install --upgrade Pillow`. source
- License
- Pillow is licensed under the open source MIT-CMU License. source
- Optional features
- Some capabilities require external libraries; JPEG and zlib are required by default when building from source, while WebP, JPEG 2000, color management, and complex text layout use additional libraries. source
- Purpose
- Pillow adds image processing capabilities to Python for opening, editing, and saving image files. source
- Python versions
- Pillow 12 supports Python 3.10 through 3.14 according to the version support table. source
- Security guidance
- The security documentation identifies parsing untrusted image data as Pillow’s primary attack surface and recommends mitigations such as format allowlists, input limits, and sandboxing. source
- Support
- Development and technical discussions are directed to GitHub, Stack Overflow, and Gitter, and the core maintainers are volunteers. source
- Supported systems
- The project aims to support current versions of Linux, macOS, and Windows, and documents platform-specific build and test targets. source
- Vulnerability reporting
- The project directs users to report sensitive vulnerability information privately on GitHub, with a Tidelift contact as an alternative. source
Checked against the maker's pages on 30 Sept 2026.