Audio file formats: What they are and why they matter to your music listening

colorful soundwave star with the word music written in center
(Image credit: Shutterstock)

The type of audio file format (or codec) used by music streaming services and download sites can have a big influence on the sound quality you experience for the music you enjoy listening to. Efficient audio compression techniques manage to squeeze large amounts of audio data into more manageable file sizes by removing some information from a recording, but the process can have a detrimental affect on the overall sound quality of your favorite tunes and your listening experience. Ultimately, this means you're hearing something less than the artist(s) originally intended when the recording was made but whether you notice any degradation in sound quality, can depend on the kind of equipment you're using to listening on. 

To get the most from your music you need to hear it on great-sounding equipment that has a natural sound and produces a full range of frequencies, like the models found in our best headphones, best wireless earbuds or one of the best Bluetooth speakers. And to find out which audio formats deliver the best sound quality for your tunes and as the artist(s) originally intended, read on...

Digital audio types

Lossy audio

This is a compression technique that does not decompress audio files to their original data amount. Lossy methods provide high degrees of digital compression, which results in smaller files. In these cases, some sound waves are removed, which affects the quality of sound in an audio file. Lossy compression is not recommended in professional settings where high quality is paramount.

Lossless audio

This is a compression technique that decompresses audio files back to their original data amount. Lossless methods can provide high degrees of digital compression, but there is no loss in size or sound quality. Lossless compression is ideal in professional audio settings where complete files are needed. Lossless compression music formats include FLAC, ALAC and WMA Lossless.

Uncompressed audio

This is an audio file that has no compression applied to it. The sound in uncompressed audio files remains the same as when it was recorded. Examples include PCM, AIFF and WAV formats.

Audio codec formats

iPhone playing music and showing colorful sound wave on screen

(Image credit: Shutterstock)

FLAC (Free Lossless Audio Codec)

FLAC delivers CD-quality audio in a file size smaller than an actual CD. It's also a non-proprietary, open-source codec that's great for software developers who want to use lossless audio. Though FLAC files are easily accessible, they can be six times larger than MP3 files, so they take longer to download. This format is not compatible with all devices and software, but it sounds great streaming over Wi-Fi or Bluetooth.

WAV (Waveform Audio Format)

WAV is an uncompressed audio format that's great to use if you want to get the original recorded material without compromising sound quality. WAV files are ideal for shorter sound bites because their uncompressed form means they're large files, making them difficult to stream. This is especially true in cases with limited bandwidth. The audio in these files is crisp, and the sound is good over Bluetooth.

MP3 (Moving Picture Experts Group Layer-3 Audio)

MP3 is one of the most popular audio codecs and became a household name for its ability to reduce file sizes for the first wave of solid state music players. MP3 files use lossy compression, which compacts audio drastically. In some cases, MP3 files can be 10 times smaller than WAV files. This compression method is versatile and works on nearly all playback devices.

Although MP3s are major space savers, the bit rate at which they're recorded has an effect on sound quality. For example, MP3s encoded at 128kbps don't sound as great as those encoded at 320kbps, but listeners need to determine whether they prefer sound over storage. MP3s have been used for streaming in the past, but with hi-res streaming increasingly more popular, they're not the only codec format option out there.

WMA (Windows Media Audio)

WMA is available in lossy and lossless WMA formats, which gives listeners some choice. Generally, WMA files are smaller than their uncompressed counterparts, and similar in functionality to MP3s and FLAC files. Though WMA offers versatility, it's not compatible with all devices, especially Apple devices. It's possible to stream audio in WMA format, but i major streaming providers do not use it. Fortunately, for the average listener, this format sounds good over Bluetooth. Only critical ears would hear a difference in quality.

ALAC (Apple Lossless Audio Codec)

ALAC sounds identical to original recorded audio, but it's compressed to a smaller size without discarding bits. ALAC works primarily with Apple products, which makes the format a bit limited for folks without iOS devices. It also takes a longer time to download than lossy formats do, but it sounds great over Bluetooth. It's possible to stream with ALAC, but this codec isn't commonly used because of its incompatibility with non-Apple devices.

AAC (Advanced Audio Coding)

AAC is another lossy codec that provides small audio files and works great for online streaming. AAC files aren't helpful if you need a near-replica of the original recording, because bits are discarded. But it sounds perfectly fine otherwise. The compressed file size is ideal for mobile devices and it's used as the default format for the likes of Apple Music and Tidal.

Ogg Vorbis

Ogg Vorbis is an open-source and patent-free audio codec that's great for streaming over the internet without compromising speed. Ogg Vorbis provides impressive sound at lower bit rates than other lossy formats. The only downside of Ogg Vorbis is that it compresses audio and discards data for smaller file sizes. However, it transfers audio quickly and sounds fine over Bluetooth. Because the average music lover doesn't use this format to compress audio, you won't find many compatible devices — although the fact that Spotify uses it for all phone and desktop streaming means that it is widely used.

MQA (Master Quality Authenticated) 

A lossless format that uses a sophisticated compression packaging process to pack and unpack large audio files to enable efficient data stream transfers. The format is used by Tidal on its hi-res Masters content to deliver high-resolution (higher than CD quality) to its music content. MQA files can be packaged inside any lossless container such as FLAC, WAV or ALAC file formats but you'll need compatible hardware, such as a music streamer or portable music player, or software such as the Tidal desktop app, to decode the MQA files.

TOPICS
Lee Dunkley
Audio Editor

After 2.5 years as Tom's Guide's audio editor, Lee has joined the passionate audio experts at audiograde.uk where he writes about luxury audio and Hi-Fi. As a former editor of the U.K.'s Hi-Fi Choice magazine, Lee is passionate about all kinds of audio tech and has been providing sound advice to enable consumers to make informed buying decisions since he joined Which? magazine as a product tester in the 1990s. Lee covers all things audio for Tom's Guide, including headphones, wireless speakers and soundbars and loves to connect and share the mindfulness benefits that listening to music in the very best quality can bring.

With contributions from
Read more
Listing image for best music streaming services (L-R) the Apple Music, Spotify and Tidal logos
Best music streaming services in 2025
Tidal vs Qobuz
Qobuz vs Tidal: Battle of the hi-res music streamers
Qobuz on a phone screen.
Qobuz review: Top quality audio streaming that comes at a price
Sonos Ace headphones with case
Wi-Fi connected headphones are coming — here's why it matters
Deezer review header
Deezer review: Making music social
Listing image showing reviewer wearing Focal Bathys for best audiophile headphones
The best audiophile headphones in 2025
Latest in Streaming
Lewis Hamilton of Great Britain and Scuderia Ferrari looks on during Sprint Qualifying ahead of the F1 Grand Prix of China at Shanghai International Circuit in Shanghai, China, on March 21, 2025. (Photo by Song Haiyuan/Paddocker/NurPhoto via Getty Images)
How to watch Chinese Grand Prix 2025 online – stream F1 without cable, qualifying highlights
best Netflix series Community
7 best shows about college you can stream now
John Travolta and Samuel L. Jackson in Pulp Fiction
7 best gangster movies, ranked — and where you can stream them
(L-R) Carey Mulligan as Cassandra and Bo Burnham as Ryan in "Promising Young Woman"
I haven’t stopped thinking about this thriller for 5 years — and it’s steaming for free on Prime Video right now
L-R: Claude (Marco Calvani), Danny (Colman Domingo), Kate (Tina Fey) and Jack (Will Forte) have their bags packed for Netflix's "The Four Seasons"
Netflix just teased a new comedy series starring Tina Fey, Steve Carrell and Colman Domingo — and we already have a release date
Glen Powell and Daisy Edgar-Jones sit on the hood of a truck in "Twisters"
Prime Video top 10 movies — here's the 3 worth watching now
Latest in References
Zoma Boost mattress
What is graphite in a mattress and does your cooling mattress need it?
The Saatva Classic mattress photographed in a stylish white pool room with an indoor river
Do you need a discount code to get the cheapest prices on Saatva mattresses? No and here's why
A mattress placed on a wooden floor with a Tom's Guide Sleep Week 2025 logo in the top left corner
Ditching the bed this World Sleep Day? 3 things you need before putting your mattress on the floor
A woman lies in bed with her hands covering her face, looking upset due to sleep deprivation. A Tom's Guide Sleep Week 2025 graphic, bottom left
Long-term sleep deprivation has serious health risks — but they can be reversed, says expert
Project Astra AI agent
Project Astra — everything you need to know about Google's next-gen smart glasses and new AI assistant
Woman sleeping on her side
How long does it take you to fall asleep? Expert explains 'sleep latency' and what it says about your health