PNG to PPM Converter
Convert a PNG into a Netpbm PPM file in your browser; transparency is dropped.
or drop files here
PNG Format
Portable Network Graphics
A lossless raster image format developed in the mid-1990s as a patent-free replacement for GIF and standardized as ISO/IEC 15948 and a W3C Recommendation.
- Lossless compression
- Alpha transparency
- 8-bit and 16-bit channels
- Supported by every browser
PPM Format
Portable Pixmap
The color member of the Netpbm family of formats. Each pixel stores red, green and blue values, in a plain text or binary encoding.
- RGB only, no alpha
- 8-bit or 16-bit samples
- Plain text or binary encoding
- Part of Netpbm
How to convert PNG to PPM
Follow these steps to convert PNG to PPM online.
Choose your PNG file, or several at once.
Wait while the converter turns each file into PPM.
Download each new PPM file. Your original file isn't changed.
Related Tools
PPM to PNG
Convert PPM to PNG format
PNG to AVIF
Convert PNG images to AVIF
PNG to BMP
Convert PNG images to BMP format
PNG to CUR
Convert PNG images to CUR format
PNG to EPUB
Convert PNG to EPUB format
PNG to ICO
Convert PNG images to ICO format
PNG to JPEG
Convert PNG images to JPEG format
PNG Optimizer
Compress and optimize PNG files
PNG to PSD
Convert PNG to PSD format
PNG to RGB
Convert PNG to RGB format
PNG to TGA
Convert PNG images to TGA format
PNG to TIFF
Convert PNG images to TIFF format
PNG to WebP
Convert PNG to WebP format
AVIF to PPM
Convert AVIF to PPM format
CR2 to PPM
Convert CR2 to PPM format
CUR to PPM
Convert CUR to PPM format
DNG to PPM
Convert DNG to PPM format
GIF to PPM
Convert GIF to PPM format
ICNS to PPM
Convert ICNS to PPM format
JPEG to PPM
Convert JPEG to PPM format
JPG to PPM
Convert JPG to PPM format
KTX to PPM
Convert KTX to PPM format
PGM to PPM
Convert PGM to PPM format
SVG to PPM
Convert SVG to PPM format
What to know before converting PNG to PPM
- PPM has no alpha channel, so a PNG's transparency is not kept.
- The picture passes through 8 bits per channel, so a 16-bit PNG loses depth.
- EXIF, ICC and XMP data are dropped.
- An animated PNG gives its first frame only.
Understanding PNG for PPM output
What is a PNG file?
PNG stands for Portable Network Graphics. It came out of the 1990s effort to replace GIF without patent worries, and today it is both a W3C Recommendation and ISO/IEC 15948. The format is lossless, can carry an alpha channel and allows either 8 or 16 bits for each color channel.
Programs that open PNG files
For PPM output, open the PNG in:
- Windows, Mac and Linux: GIMP opens PNG files for editing, and ImageMagick reads PNG as well.
- Web: Chrome and Firefox display PNG in a page.
- Mobile: Safari and Chrome display PNG on phones.
PPM has a narrower audience, so use an imaging tool rather than expecting a phone gallery to show it.
PNG and PPM compared
- Compression: PNG is lossless and compact. PPM stores samples with little compression, so files can be large.
- Transparency: PNG has alpha. PPM has none.
- Depth: PNG allows 8 and 16 bits per channel. PPM allows 8 or 16, and this page writes 8.
- Encoding: a binary PPM begins with P6, and the rarer plain-text form with P3.
- Family: PPM is the color member of Netpbm, next to grayscale PGM and black-and-white PBM.
- Samples: each PPM pixel carries red, green and blue samples, and the maximum sample value can range from 1 to 65535.
The PNG is read into 8-bit RGBA pixels by the browser, then ImageMagick compiled to WebAssembly writes the PPM. Metadata stays behind.
Other ways to convert PNG to PPM
- ImageMagick: run
magick diagram.png diagram.ppm. The output ending selects the format. - Netpbm: run
pngtopam -mix -background=white diagram.png > diagram.ppmto compose transparency onto white. A grayscale PNG produces PGM instead and a black-and-white one PBM, so check the file header.
Problems with PNG files
- A logo gained a background: the PNG's alpha channel cannot be stored in PPM, so flatten onto a chosen color first.
- A 16-bit PNG lost depth: the page writes eight bits per channel.
- An animated PNG became a still: the page uses the first frame and ignores the rest.
- Colors changed: the embedded profile is dropped.
- You worry about the PNG's compression level: PNG compression is lossless, so lowering the setting never costs pixel fidelity.
Frequently Asked Questions
Everything you need to know about our converter
How do I convert a PNG to a PPM?
What becomes of transparent areas?
Does a deep-color PNG stay deep?
Are the ICC profile and EXIF data copied?
Why is the PPM so much bigger than my PNG?
What is the difference between PPM, PGM and PBM?
What if the PNG is animated?
Can I convert several PNG files at once?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.