Which File Formats Are Lossless? Image, Audio, Video Tables

Chart of three groups of file formats, as the sources listed in the article describe them, read on 21 November 2026: always lossless (PNG, APNG, FLAC, ALAC, FFV1); either (JPEG, TIFF, WebP, HEIC, AVIF, PDF, WAV, M4A); lossy (MP3, AAC, Opus, Ogg Vorbis).

PNG, FLAC and ALAC are always lossless. MP3, AAC and Opus are lossy. HEIC, WebP, AVIF, TIFF, WAV and M4A can be either: the encoding inside decides, not the file’s name. The tables below hold 41 rows, each with its source.

Checked on 2026-11-21 on xconvert.com/image-converter, xconvert.com/audio-converter and xconvert.com/video-converter. Sources at the end.

VerdictFormats
Always losslessPNG, APNG, FLAC, ALAC, FFV1
EitherJPEG, TIFF, WebP, HEIC, AVIF, PDF, WAV, M4A
LossyMP3, AAC, Opus, Ogg Vorbis

The PDF standard defines the word: “Compression in which no loss of data occurs is called lossless.”

Image and document formats

“Ours” is what our image converter returned on 21 November 2026, at the settings the page opens with, for one test picture of 278,634 colors.

A row without “Ours” was not measured. The numbers are further down.

FormatLossless?What decides it, and what our converter wroteSource, last checked
JPEG (.jpg, .jpeg, .jfif)EitherThe “well-known” JPEG is a “DCT based lossy image format”; the standard also includes “lossless coding”. Ours (JPG): not identical, and the page has no lossless choiceJPEG committee, 21 Nov 2026
PNGAlwaysThe specification: “filtering and compression should preserve all information.” What a program does before it encodes is another matter. Ours: the default reduces a picture to at most 256 colors; identical at HighestW3C PNG specification, 21 Nov 2026
APNGAlwaysThe same specification covers “static and animated raster images”. Ours: identical (one frame)W3C PNG specification, 21 Nov 2026
GIFLossless, up to 256 colors“LZW compression is lossless”, and the palette holds “256 or fewer shades” (the Library of Congress’s description). Ours: 256 colors, not identicalLibrary of Congress, 21 Nov 2026
BMPUncompressed, or run-length encodedRun-length encoding is for 8-bit and 4-bit bitmaps; Microsoft’s pages use neither “lossless” nor “lossy”. Ours: a BMP of 16 bits per pixel, which holds 5 bits per color channel; not identicalMicrosoft Learn, 21 Nov 2026
TIFF (.tif, .tiff)EitherThe compression inside decides. None, PackBits and LZW keep every pixel (“LZW is lossless. All information is preserved.”); baseline JPEG inside is lossy. Ours: JPEG inside at the default, not identical; identical with LZWTIFF 6.0, 21 Nov 2026
WebPEither“either (i) the VP8 key frame encoding to compress image data in a lossy way or (ii) the WebP lossless encoding”. Ours: lossy at the default, not identical; identical with LOSSLESS? on YesGoogle for Developers, 21 Nov 2026
HEIC, HEIFEitherHEVC, the codec inside, supports “sample fidelities up to lossless coding”. Apple’s page speaks of “preserving the same visual quality” and uses neither “lossless” nor “lossy”. Ours: not identical, no lossless choiceNokia Technologies; Apple Support, 21 Nov 2026
AVIFEitherAV1, the codec inside, can code a frame that is “fully lossless”; MDN’s table calls AV1 a “Lossy DCT-based algorithm”. Ours: not identical, no lossless choiceAV1 specification, 21 Nov 2026
JPEG XL (.jxl)Either“lossy encoding, lossless encoding, and lossless recompression of existing JPEG images”JPEG committee, 21 Nov 2026
JPEG 2000 (.jp2)EitherThe committee lists “lossy and lossless coding” among what it supportsJPEG committee, 21 Nov 2026
SVGDoes not apply (our reading)“SVG is a language for describing two-dimensional graphics”: vector shapes, text and images. An image placed inside has its own formatW3C SVG 2, 21 Nov 2026
DNGEither“lossless JPEG compression”, or the lossy JPEG and JPEG XL options added in DNG 1.4.0.0 and 1.7.0.0. Camera makers’ own raw formats were not readAdobe DNG Specification 1.7.1.0, 21 Nov 2026
PSDRaw, run-length or ZIPAdobe lists “0 = Raw Data, 1 = RLE compressed, 2 = ZIP without prediction, 3 = ZIP with prediction” and uses neither wordAdobe, 21 Nov 2026
ICOA bitmap per sizeEach image’s header “has the form of a DIB BITMAPINFOHEADER”; Microsoft says “only the 256×256 pixel image should be compressed” and uses neither word. Ours: resized to 256 x 171, so not the source’s pictureMicrosoft, 1995; Microsoft Learn, 21 Nov 2026
PDFEitherThe filter of each stream decides: Flate is lossless, “DCTDecode is always a lossy filter”, and one file can hold bothISO 32000-1, Adobe’s copy; RFC 1951, 21 Nov 2026

Why a “compressed” PNG can have lost colors: PNG compression, lossless vs lossy.

Audio formats

Uncompressed (WAV as PCM) and lossless (FLAC, ALAC) both keep every sample. For AAC, MP3, Vorbis and AMR the word “lossy” is from MDN’s audio codec guide.

“Ours” is our audio converter at its default, on a 10-second test sound.

FormatLossless?What decides it, and what our converter wroteSource, last checked
WAVEither“One common bitstream encoding is LPCM”; the file can also hold compressed audio (the Library of Congress names “µ-Law, A-Law, DPCM, and ADPCM”). Ours: 16-bit PCM at the default, identical for a 16-bit source; a 24-bit source came back as 16-bitLibrary of Congress, 21 Nov 2026
AIFF, AIFF-CLPCM in AIFF“Compressed waveforms are wrapped by AIFF-C”; whether that compression loses anything was not read. Ours (AIFF and AIFC): 16-bit PCM, identical for a 16-bit sourceLibrary of Congress, 21 Nov 2026
FLACAlways“It does this losslessly, i.e., it does so without losing information.” Ours: identical for the 16-bit and the 24-bit sourceRFC 9639, 21 Nov 2026
ALAC (Apple Lossless)Always“a lossless audio codec developed by Apple”. Our audio converter does not write itApple, ALAC repository, 21 Nov 2026
M4AEitherThe audio inside decides: “the encodings used are generally lossy”, and Apple stores Apple Lossless “in any file container (M4A/MP4, CAF)”. Ours: AAC, with no other codec offered; not identicalLibrary of Congress; Apple, 21 Nov 2026
AACLossy“Perceptual audio encoding format designed for efficient distribution of sound files”. Ours: not identicalLibrary of Congress, 21 Nov 2026
MP3LossyThe codec may “discard or reduce the precision of audio components that are less audible to human hearing”. Ours: not identicalLibrary of Congress, 21 Nov 2026
Ogg Vorbis (.ogg)Lossy (Vorbis)Vorbis is a “general purpose perceptual audio CODEC”. An Ogg file can also hold FLAC. Ours (Vorbis): not identicalXiph.Org, Vorbis I; FLAC in Ogg, 21 Nov 2026
OpusLossyThe RFC calls 510 kbit/s “approximately the highest useful rate for lossily compressed fullband stereo music”; beyond it, “lossless codecs are more appropriate”. Ours: not identicalRFC 6716, 21 Nov 2026
WMAEitherMicrosoft’s encoder has three outputs: “Windows Media Audio Standard, Windows Media Audio Professional, and Windows Media Audio Lossless”. The page does not say in words that the first two are lossy. Ours (the card reads WMAV2): not identicalMicrosoft Learn, 21 Nov 2026
AC-3 (Dolby Digital)Lossy (our word)The standard uses neither word: it codes “at data rates ranging from 32 kbps to 640 kbps” and assigns bits “with respect to masking effects”. Ours: not identicalATSC A/52:2018, 21 Nov 2026
AMRLossyA speech codec “with bit rates between 4.75 and 12.2 kbps”. Ours (mono, 8,000 Hz): not identicalRFC 4867, 21 Nov 2026
WavPack (.wv)Either“lossless, high-quality lossy, and a unique hybrid compression mode”; lossless is the default modeWavPack, 21 Nov 2026
Monkey’s Audio (.ape)AlwaysIts maker says it “only makes perfect” copies, unlike formats “that permanently discard quality to save space”; its page names no standardMonkey’s Audio, 21 Nov 2026

Video formats, containers and archives

MP4, MOV, MKV and AVI are containers: the codec inside decides. “Lossy” for a video codec is the word of MDN’s video codec guide.

“Ours” is our video converter at its default, on a 3-second test clip.

FormatLossless?What decides it, and what our converter wroteSource, last checked
MP4ContainerOf its sound the Library of Congress says “the encodings used are generally lossy”; MDN lists H.264, HEVC and AV1 as lossy. Ours (H.264 with AAC): not identical, also from MP4 to MP4Library of Congress, 21 Nov 2026
MOV (QuickTime)ContainerApple’s overview names no codec and uses neither word; MDN lists MOV as a container of Apple Lossless. Ours (H.264 with AAC): not identicalApple Developer, 21 Nov 2026
MKV (Matroska)ContainerIts RFC uses neither word; FFV1, a lossless codec, has the Matroska codec ID “V_FFV1”. Ours (H.264 with AAC): not identicalRFC 9559; RFC 9043, 21 Nov 2026
WebMLossy as used“video streams compressed with the VP8 or VP9 video codecs and audio streams compressed with the Vorbis or Opus audio codecs”; MDN lists all four as lossy. Ours (VP9 with Opus): not identicalThe WebM Project, 21 Nov 2026
AVIContainerMicrosoft’s reference names no codec as lossy or lossless. Ours (MPEG-4 with MP3): not identicalMicrosoft Learn, 21 Nov 2026
H.264 (AVC)Lossy as usedMDN: “Lossy DCT-based algorithm, though it’s possible to create lossless macroblocks within the image”. Ours (in MP4, MOV and MKV): not identicalMDN, 21 Nov 2026
H.265 (HEVC)Lossy as usedHEVC supports “sample fidelities up to lossless coding” (Nokia); MDN lists it as lossy. Ours: not identicalNokia Technologies, 21 Nov 2026
AV1Lossy as usedThe specification defines a frame that is “fully lossless”; MDN lists AV1 as lossy. Ours: not identicalAV1 specification, 21 Nov 2026
Apple ProResIn Apple’s words“visually lossless” (422 HQ), “virtually lossless” (4444 and 4444 XQ), “a high-quality compressed codec” (422). Only the alpha channel of 4444 is called “mathematically lossless”; the page does not use the word “lossy”Apple Support, 21 Nov 2026
FFV1Always“a lossless, intra-frame video encoding format”RFC 9043, 21 Nov 2026
ZIPLosslessFiles are “uncompressed or stored”, or compressed: Deflate is “the method used by default by most ZIP compatible application programs”, and its RFC defines it as “a lossless compressed data format”. The other methods were not readPKWARE; RFC 1951, 21 Nov 2026

How to check a file you have

The name settles nothing for the “either” formats. Each tool was run on 21 November 2026 on a lossless and a lossy file made for the test.

FormatToolThe lossless file showsThe lossy file shows
WebPwebpinfoFormat: Lossless (2)Format: Lossy (1)
M4Affprobecodec_name=alaccodec_name=aac
TIFFtiffinfoCompression Scheme: LZWCompression Scheme: JPEG
WAVffprobecodec_name=pcm_s16lecodec_name=mp3 or codec_name=adpcm_ms
PNGpngcheck24-bit RGB8-bit palette, for the picture cut to 256 colors; the 13-color test picture, which lost nothing, shows 4-bit palette
MKV, MP4ffprobecodec_name=ffv1 with codec_name=flaccodec_name=h264 with codec_name=aac
HEICnone foundchroma 4:4:4, which a lossy file made at 4:4:4 shows toochroma 4:2:0 when made the default way

The two ffprobe lines, for M4A and WAV, then for MKV and MP4:

ffprobe -v error -select_streams a:0 -show_entries stream=codec_name -of default=nw=1 file.m4a
ffprobe -v error -show_entries stream=codec_name,profile -of compact=nk=0 file.mkv

A video codec’s name is a guide, not a proof. A lossless H.264 file made for the test showed the profile High 4:4:4 Predictive, and MediaInfo printed Compression mode : Lossy for it.

For HEIC, none of heif-info, exiftool, mediainfo and ffprobe prints whether the file is lossless.

MediaInfo prints Compression mode: Lossless or Lossy for the WebP, TIFF and FFV1 files; for the ALAC and PCM files it prints no such line, but Format : ALAC and Format : PCM (command-line version 26.01).

What our converters write by default (measured)

42 jobs were run on 21 November 2026, nobody signed in, and every decoded result was compared with its decoded source. “Yes” means 0 of 960,000 pixels or 0 of 882,000 samples differ.

The test files: a picture of 278,634 colors, one of 13, a 10-second sound at 16 and 24 bits, a 3-second clip. The numbers are theirs, not typical values.

OutputSetting, as the page labels itIdenticalWhat came back
PNGQuality preset on Very High (Recommended), the defaultNo256 colors; 770,140 of 960,000 pixels changed; 355,035 bytes from 858,531. The same from a JPG on xconvert.com/convert-jpg-to-png: 256 colors from 226,116
PNGQuality preset on HighestYes1,054,610 bytes from 858,531
PNG, the 13-color picturethe defaultYes13 colors; 2,236 bytes from 4,773
WebPLOSSLESS? on No (Recommended), the defaultNo809,632 pixels changed; 251,128 bytes
WebPLOSSLESS? on YesYes781,548 bytes
TIFFCompression Type on JPEG, the defaultNo348,999 pixels changed; 990,041 bytes
TIFFCompression Type on LZWYes1,294,290 bytes
BMPthe defaultNo16 bits per pixel; 28,613 colors
WAVAUDIO CODEC on PCM 16-bit Little Endian, the defaultYes from a 16-bit WAV or FLAC; no from a 24-bit one878,589 of 882,000 samples of the 24-bit source changed, each by less than one step of the 16-bit scale
WAVAUDIO CODEC on PCM 24-bit Little EndianYes, from the 24-bit WAV2,646,102 bytes from 2,646,044
FLACthe defaultYes, 16-bit and 24-bit1,460,517 bytes from 1,764,044; 2,342,549 from 2,646,044
MP4, MOV, MKV, WEBM, AVI, HEVC, AV1the defaultNopicture and sound encoded again: 0 of 90 frames kept the source’s hash
MKVShow All Options, then Video Codec on HuffYUV and Audio Codec on FLACNobrightness of all 90 frames the source’s, color resampled to 4:2:2; 27 times the source’s size

Every other output has one result, in its row above.

From 14 to 20 November 2026 (UTC), 5,454 convert jobs on our site wrote WebP, PNG or TIFF. 4,789 of them (87.8 %) were sent with a setting that returned a changed picture in this test.

OutputSetting the jobs were sent withJobs
WebPLOSSLESS? on No3,046 of 3,218
PNGVery High (Recommended)1,359 of 1,805
TIFFJPEG384 of 431

Settings were counted, not files compared. The PNG default does not change every picture (the 13-color one came back identical); how many of the 1,359 it changed is not known.

How to get a lossless file from our converters

  1. On the image converter, click Upload and pick the picture.
    The page xconvert.com/image-converter from its top, before a file is chosen: the site header, the heading Image Converter and the upload box, where the Upload button is outlined and labeled.
    Close-up of the Upload button in the image above.
  2. In Image File Extension, which opens on JPG, choose PNG, WEBP or TIFF.
  3. For PNG: in Quality preset, which opens on Very High (Recommended), choose Highest.
    The page xconvert.com/image-converter with the test picture loaded, scrolled to its options: Image File Extension reads PNG, and the Quality preset list, which is outlined, reads Highest.
    Close-up of the Quality preset list in the image above, reading Highest.
  4. For WEBP: under LOSSLESS?, which opens on No (Recommended), click Yes. When that is worth its size is in PNG to WebP: lossless or lossy.
    The page xconvert.com/image-converter with the test picture loaded, scrolled to its options: Image File Extension reads WEBP, and under LOSSLESS? the button Yes is outlined and selected, with No (Recommended) beside it.
    Close-up of the LOSSLESS? buttons in the image above, with Yes outlined and selected.
  5. For TIFF: in Compression Type, which opens on JPEG, choose LZW. The other nine entries are in TIFF compression types compared.
    The page xconvert.com/image-converter with the test picture loaded, scrolled to its options: under the heading COMPRESSION TYPE, the Compression Type list, which is outlined, reads LZW.
    Close-up of the Compression Type list in the image above, reading LZW.
  6. Click Convert. On the downloads page, wait for “Completed”, then click Download.

For sound, our audio converter needs no setting for FLAC. For a 24-bit WAV, choose WAV in Audio File Extension and click PCM 24-bit Little Endian under AUDIO CODEC.

Files are processed on our servers, not in your browser. Uploads and results are deleted automatically about 5 hours after they were written.

When the converter is the wrong choice

  • You need a lossless HEIC, HEIF, AVIF or JPG. The page has no lossless choice for them. libheif made a lossless HEIC for the test (heif-enc -L -e x265 -p chroma=444 --matrix_coefficients=0): 0 of 960,000 pixels differed.
  • You need Apple Lossless. Our M4A is AAC. ffmpeg wrote ALAC into an .m4a file (ffmpeg -nostdin -v error -y -i ../src/src-16.wav -c:a alac b-alac.m4a) that decoded to the source’s samples.
  • You need lossless video. No video result of ours was identical to its source. FFV1 with FLAC in an MKV, made for the test (ffmpeg -nostdin -v error -y -i ../src/src-clip.mp4 -c:v ffv1 -c:a flac f-ffv1.mkv), decoded to the source’s 90 frames.
  • You need an exact BMP or ICO. Take PNG at Highest instead.
  • The source is already lossy. A lossless format brings nothing back: a FLAC made from an MP3 holds the MP3’s sound.

What we could not confirm

  • That a phone’s HEIC photo is lossy. No maker’s page read says it in words, and no phone was used.
  • The standards behind JPEG, H.264 and HEVC. ITU-T T.81, H.264 and H.265 could not be opened; the rows stand on the JPEG committee, MDN and Nokia.
  • Not stated by any source read: a lossless mode of VP9, PNG inside an ICO.
  • Settings not run: the other PNG presets, eight of the ten TIFF compression types, the BMP presets Medium and Low.
  • How a change looks or sounds. Every verdict is a machine comparison of decoded pixels, samples or frame hashes; nobody looked or listened.

Using this table

You may quote or copy the tables with a link to this page; add #image, #audio or #video to its address to point at one.

The rows are read again within 60 days: the next check is due by 20 January 2027.

Change log

  • 2026-11-21: first version.

Sources

Every page below was read on 2026-11-21.