Home/HEIC Converter/HEIC to PGM

Convert HEIC to PGM Online Free

Turn High Efficiency Image files into Portable Graymap files right in your browser — no upload, no sign-up. Your HEIC never leaves your device.

Drop your HEIC file here

or click to browse files

.heic accepted

Why Convert HEIC to PGM?

HEIC is built for photos taken on iPhone and iPad. Files roughly half the size of JPG at similar quality, with 10-bit color is its big advantage, but there is a catch: Windows, Android, older software and most websites cannot open it. PGM is designed for grayscale images for computer vision and scientific work, with dead-simple grayscale pixels any program can parse. Converting HEIC to PGM makes sense when you need grayscale images for computer vision and scientific work, or when the app, website or person you're sending the file to expects PGM.

HEIC vs PGM at a Glance

FeatureHEICPGM
Created byMPEG; adopted by Apple as the iPhone default (2017)the Netpbm project (1988)
CompressionLossyLossless
Color depth8 or 10-bit8-bit grayscale
TransparencyYesNo
AnimationYesNo
Best forphotos taken on iPhone and iPadgrayscale images for computer vision and scientific work

What Changes When You Convert HEIC to PGM

How FxtImg Converts HEIC to PGM

HEIC photos are decoded in your browser — natively in Safari, and with a WebAssembly build of libheif in Chrome, Edge and Firefox. The PGM is a binary (P5) 8-bit grayscale image.

When PGM Is the Right Choice for Your HEIC

Quick How-To & Settings

Drop your .heic file in the box above, press Convert to PGM, then download the SD or HD .pgm. Pick SD (50% of the original dimensions by default) for messaging, email and social media, or HD (original size, recommended) for keeping full detail.

Opening Your PGM File

Your PGM file opens in GIMP, ImageMagick, IrfanView, Python (Pillow, OpenCV) and MATLAB. Color is converted to grayscale using standard luminance weights.

Frequently Asked Questions

Does converting HEIC to PGM reduce quality?

No additional quality is lost: PGM stores the pixels losslessly.

Will my HEIC keep its transparent background in PGM?

No — PGM has no transparency, so transparent areas become white. Convert to PNG or WebP instead if you need to keep the background transparent.

What program opens PGM files?

Your PGM file opens in GIMP, ImageMagick, IrfanView, Python (Pillow, OpenCV) and MATLAB.

Is the PGM file bigger or smaller than the HEIC?

Expect the PGM to be several times larger than the HEIC: PGM stores pixels without lossy compression. Use the SD preset to cut both the dimensions and the file size.

Is EXIF and GPS data kept when converting HEIC to PGM?

No. FxtImg redraws the pixels, so camera metadata — including GPS coordinates — is removed. Orientation is applied to the pixels first, so the image stays the right way up.

Is my HEIC uploaded to a server?

No. The HEIC is converted entirely in your browser, so the file never leaves your device and nothing is stored online.