Initializing... drag & drop files here
Supports: PPM
PPM (Portable Pixmap) is an uncompressed RGB image format from the Netpbm family — easy for programs to read and write, but bulky and not openable by most viewers or web browsers. Converting it to PNG keeps every pixel exactly as it was (both formats are lossless) while shrinking the file and producing something that opens anywhere. PNG also adds an alpha channel, so the output can carry transparency that PPM cannot store.
A raw PPM stores three bytes per pixel with no compression, which the Netpbm specification itself calls "highly redundant" and "egregiously inefficient." That is fine as an intermediate format inside an image-processing pipeline, but it is awkward to share or display. Because PNG compression is lossless, the conversion is exact: the decoded pixels are bit-for-bit identical to the source, just stored more compactly in a format that Chrome, Firefox, Edge, Safari, and effectively every image viewer can open natively. If you instead want the smallest possible file and don't need pixel-perfect fidelity, convert to a lossy format like JPG rather than PNG.
| Property | Value |
|---|---|
| Family | Netpbm / PNM (Portable Anymap) |
| Magic number | P3 (plain/ASCII) or P6 (binary/raw) |
| Color model | RGB, three samples per pixel |
| Bit depth | 24-bit when maxval < 256 (1 byte/channel); 48-bit when maxval is 256–65535 (2 bytes/channel) |
| Maxval range | Greater than 0 and less than 65536 |
| Compression | None — stored uncompressed |
| Transparency | Not supported (no alpha channel) |
| Typical use | Intermediate format in image-processing toolchains (Netpbm, GIMP exports) |
| Property | Value |
|---|---|
| Full name | Portable Network Graphics |
| Compression | Lossless (DEFLATE) |
| Color modes | Greyscale, indexed, and true color, with optional alpha |
| Bit depth | True color 8 or 16 bits/channel; indexed 1, 2, 4, or 8 bits |
| Transparency | Full alpha channel supported |
| Browser support | All current versions of Chrome, Edge, Firefox, Opera, and Safari |
| Best for | Sharp graphics, screenshots, and any image where exact pixels matter |
.ppm file onto the page or click "+ Add Files" to browse. You can queue several pixmaps to convert together.Files are uploaded over an encrypted connection, processed on our servers, and deleted automatically a few hours after conversion — never shared or made public.
No. Both PPM and PNG are lossless formats, so the conversion is exact — the decoded PNG pixels are identical to the original PPM pixels. PNG simply stores them with lossless DEFLATE compression instead of leaving them raw, so you get the same image in a smaller file.
A PPM stores three uncompressed bytes for every pixel, with no attempt to pack repeated colors. PNG applies lossless compression, which collapses runs of identical or similar pixels. Flat graphics, screenshots, and line art shrink the most; densely detailed photographic content compresses less but is still smaller than the raw pixmap.
Yes. PPM comes in a plain ASCII variant (magic number P3) and a binary/raw variant (P6). Both encode the same RGB pixel data — the binary form is just more compact on disk — and both convert to PNG the same way.
PNG supports a full alpha channel, but a PPM has no transparency information to carry over, so a straight conversion produces a fully opaque image. To add transparency you would need to remove or key out a background after converting, which is a separate editing step.
In our testing, a 1024×1024 binary (P6) PPM occupies about 3 MB raw, and converting it to PNG at the default settings typically produces a file in the few-hundred-kilobyte range for graphic content — exact size depends on how much fine detail and color variation the image contains.
PPM allows a maxval up to 65535, which means 16 bits per channel (48-bit color). PNG also supports 16-bit-per-channel true color, so high-bit-depth pixmaps can be preserved without truncating to 8 bits.
PNG is the right choice when you need lossless fidelity. If you'd rather have a much smaller file and can accept some quality loss, convert to JPG instead. And if your PNG is still larger than you'd like, you can run it through PNG compression afterward to squeeze it further without changing the format.