Photo file formats: what each is and what to do with it
Tools and tables

Photo file formats: what each is and what to do with it

The formats a family photo library holds, whether each one loses detail when saved, what the Library of Congress and the National Archives say about it, and this manual's advice: keep originals as they came and edit copies.

A file's format shows in its ending: .heic, .jpg, .png, .tif, .dng, or a camera maker's raw ending such as .nef, .cr3 or .arw. Lossy means the format throws away some detail each time the image is saved; lossless means it keeps every pixel exactly. The two archives' columns are written for institutions, not families; neither tells a household to convert its photos. Formats and the long term explains each row.

FormatWhat makes itLossy or losslessLibrary of Congress (photographs)National Archives risk and planThis manual's advice
HEIC (HEIF with HEVC compression)iPhones and iPads since 2017, when Camera > Formats is High EfficiencyLossyNot listedModerate risk; if it opens easily, leave it as it isKeep as it came. Make JPEG copies only to share. Change Camera > Formats only if a device in your home cannot open HEIC.
JPEG (.jpg)Cameras and phones set to JPEG; iPhones set to Most Compatible; many shared and downloaded copiesLossyPreferredLow risk; retainKeep as it came. Opening, copying or captioning does not degrade it; saving an edit does, so edit a copy.
PNGSome scans, exports and screenshotsLosslessPreferredLow risk; retainKeep as it came. A lossless choice for scan masters if your software lacks TIFF.
TIFF (.tif)Scanners; exports you chooseLossless (uncompressed or lossless compression)PreferredLow risk; retainThe master format for scans. Make JPEG copies to share.
DNGSome cameras and phones; Apple ProRAW is built on DNG 1.6Raw data, usually losslessAcceptableLow risk (DNG 1.6); retainKeep as it came, beside any JPEG of the same shot.
Camera raw (.nef, .cr3, .arw and others)Cameras set to save raw, often as a raw and JPEG pairRaw sensor data; needs special software to viewAcceptableCanon CR3 and Nikon NEF: moderate risk; NARA plans to transform them to DNGKeep as it came, with its JPEG and the same name. Converting to DNG is a Go deeper choice in Formats and the long term.
Apple ProRAWiPhones that offer ProRAW, when it is turned onRaw data in a DNG fileCovered as DNGNo separate entryKeep as it came.

Sources

Limits

No one can say which formats will open in twenty years, and the archives' ratings describe risk for institutions holding millions of files. The table does not tell you to convert anything. The check that matters for a family library is the yearly one in Formats and the long term: open a sample of each format on the devices you use now.