FormatSwap › Formats

Every file format, judged

The history, pros, cons, use cases and pitfalls of 70 formats, each with a straight answer to one question: should this format be discontinued? We say yes to 38 of them and no to 32.

Read “The perfect format” →

How we decide

“Discontinue” means stop making new files. It never means deleting what exists or removing the ability to read it. Old formats hold irreplaceable photos, voices and films, so software should go on reading them for as long as anyone needs it to.

A format earns a keep if it does a real job that nothing else does as well, or if replacing it would cost far more than it would save. It earns a discontinue if a better or freer format can already do the same job, and new files only add to future problems.

Size counts, but only alongside reach. When you don't know what the other person will open a file with, reach beats size, which is why we keep JPEG, MP3 and MP4. When you control how it's played, as on your own website, size wins, which is why we recommend AVIF there and Opus for streaming. A format that loses on both counts, like WebP or WMA, has no case left. Files that are huge on purpose, like WAV and TIFF, stay only because editing and archiving need what the extra space buys.

Our apps still create some formats we'd retire, because old devices and old workflows are real and you shouldn't be stranded. Verdicts are our opinion; the choice is always yours.

Container or codec?

Many “format” confusions come from mixing these up. A container is the box: MP4, MKV and MOV. A codec is how the picture or sound inside is compressed: H.264, AV1 and AAC. That's why one MP4 can play on your TV while another doesn't: the box is the same, but the contents are different.

Video

Containers and the codec families inside them.

MP4Keep itThe default video file of the modern world, and for once the default deserves it.MKVKeep itThe everything box: any codec, any number of tracks, and a free specification.MOVDiscontinue itThe respected parent of MP4, kept alive today mostly by one company's defaults.M4VDiscontinue itAn MP4 wearing a different name, mainly so Apple's software could recognise its own files.AVIDiscontinue itThe container that carried PC video through the 1990s and ran out of road long ago.WebMKeep itGoogle's royalty-free answer to H.264, and the safeguard that keeps web video open.WMVDiscontinue itMicrosoft's bid to own digital video. It lost, and the files have been getting harder to play since.FLVDiscontinue itThe format that made YouTube possible, now outliving the player it was built for.MPGDiscontinue itThe compression standards that put video on discs and into broadcast, long since overtaken.VOBDiscontinue itThe file format inside every DVD, never meant to be handled by people at all.TSKeep itA stream built to survive bad signals. Unglamorous, and still doing its job.M2TSDiscontinue itThe transport stream of Blu-ray discs and early HD camcorders, plus one irritating twist.3GPDiscontinue itVideo for flip phones. It was clever for its moment, and that moment ended long ago.OGVDiscontinue itAn idealistic free video format that lost, and paved the way for the free formats that didn't.RMDiscontinue itThe sound of the 1990s internet, buffering. Pioneering, and then swiftly abandoned.DivX and XvidDiscontinue itThe codecs that first fit a whole film onto a CD, which changed how people thought about video.SWFDiscontinue itAn entire era of web games and animation, now preserved rather than used.DVDiscontinue itThe format that gave home camcorders real digital quality, recorded on tape and passed by FireWire.MXFKeep itThe broadcast industry's working container. You'll probably never need it, and that's fine.

Audio

From lossless archives to phone-call speech.

MP3Keep itTechnically surpassed for 25 years, and still the safest audio file you can hand to anyone.AACDiscontinue itAAC the codec is excellent. The bare .aac file is the problem: no box, no labels and no reliable seeking.M4AKeep itAAC in a proper container. It's the sensible modern default for music on phones.WAVKeep itUncompressed audio with nothing in the way, which is exactly what an editor wants.FLACKeep itPerfect audio in about half the space, free forever and built to detect its own damage.OGG VorbisDiscontinue itThe free rebellion against MP3 patents. It succeeded, and its own creators have built its replacement.OpusKeep itThe best lossy audio codec for almost every job. Only its reach holds it back.WMADiscontinue itMicrosoft's MP3 rival, and a cautionary tale about buying music with a lock on it.AIFFDiscontinue itWAV for Macs: the same audio with the bytes in the opposite order.APEDiscontinue itSqueezes lossless audio a little tighter than FLAC, and pays for it in speed and compatibility.WavPackKeep itA quiet open-source lossless format with one trick nothing else matches well.AMRDiscontinue itBuilt to fit a voice into a mobile phone channel, and it still sounds exactly like that.AC-3Keep itSurround sound that a 25-year-old receiver can still decode over a single optical cable.DTSDiscontinue itDolby's cinema rival. A premium badge that now causes silent films on modern TVs.MKAKeep itMatroska without the pictures. Niche, but it costs nobody anything.CAFDiscontinue itApple's flexible modern audio container. Well designed, and rarely seen outside Apple.MP2Discontinue itMP3's older sibling. It was the voice of digital radio, and it's outdated nearly everywhere.AUDiscontinue itWorkstation audio from before the web, and early Java's default sound format.

Images

Photos, graphics, camera files and icons.

JPEGKeep itOlder than the web as most people know it, and still the one photo format that never fails.PNGKeep itBorn out of a patent dispute, PNG became the web's dependable lossless image format.WebPDiscontinue itA transition format whose transition has finished. What's left is a pile of images people can't easily use.HEICDiscontinue itA clever container with the wrong codec: efficient on iPhones, and a nuisance anywhere else.AVIFKeep itHEIC's design with a royalty-free codec and a place in every modern browser.GIFDiscontinue itLoved, iconic and absurd: using a 1987 palette format for video makes files huge and ugly.TIFFKeep itThe heavy-duty professional image format: scanners, print shops and archives depend on it.BMPDiscontinue itThe uncompressed bitmap from Windows' earliest days. There's no longer any reason to make one.Camera RAWDiscontinue itKeeping unprocessed sensor data is a great idea. Giving every camera its own secret format isn't.DNGKeep itA documented, public raw format. It's what the industry should have had from the start.JPEG 2000Keep itIt failed to replace JPEG, and then quietly took over cinema and archives.ICO and ICNSKeep itNot one picture but a bundle of sizes, which is exactly what an icon needs to be.TGADiscontinue itBorn with early graphics cards and kept alive in games by decades of pipeline habit.PCXDiscontinue itDOS-era paint files. A real piece of computing history, and nothing more.PPMKeep itAn image format you could write by hand, and the simplest way to pass pixels between programs.QOIKeep itA one-page image format that embarrasses decades of complexity. It's not for everyone, but it matters.SVGKeep itAn image that's a small program for drawing itself, and sharp at any size.

Subtitles

Timed text, from plain lists to full typesetting.

Documents and eBooks

Fixed pages, editable drafts, books and comics.