Convert MP3 to FLAC Online
Wrap your MP3 audio in a FLAC container. No quality improvement. Free, in your browser, no file uploads.
.mp3 · up to 100 MB
What you can do
MP3 to FLAC: FLAC container for software incompatible with MP3
Software compatibility
Some network players and DAWs only import FLAC. This conversion resolves that incompatibility.
100% private
Your music files never leave your device. Local processing without servers.
No quality improvement
Full honesty: the FLAC contains the same compressed MP3 audio. No process can recover what MP3 discarded.
Verifiable integrity
FLAC includes MD5 checksums to verify file integrity over time.
How it works
Three steps, no hassle
Upload your MP3 file
Drag or select your .mp3 file. No signup or installs required.
Browser-side processing
The MP3 audio is decoded to PCM and re-compressed with the lossless FLAC codec in the FLAC container, entirely on your device.
Download your FLAC
FLAC file compatible with players and software that require the FLAC container, containing the same audio as the MP3.
FAQ
Got questions?
No, not at all. This is the most important clarification of this tool. MP3 is a lossy codec: the MPEG-1 Audio Layer III algorithm permanently discards information from the original audio during encoding, applying psychoacoustic models to eliminate frequencies the human ear supposedly will not perceive. Once discarded, that information does not exist anywhere in the MP3 file. When converting to FLAC, the MP3 is decoded to a PCM that contains only the audio that survived the lossy compression, and that PCM is reversibly compressed with FLAC. The result: a FLAC file containing exactly the same audio as the MP3, with the same compression artifacts (the MP3's 'metallic effect' at low bitrates, pre-echo on percussion, etc.) perfectly preserved. It is mathematically impossible to recover information discarded by a lossy codec through any conversion process.
There are legitimate use cases. The most frequent is compatibility with software that only accepts FLAC: some network audio players (like Naim, Linn DS, Lumin), certain DAWs, and audio analysis software have limited MP3 support in their import interfaces but accept FLAC without issues. Another case is format normalization in music libraries: if you have a mixed collection of MP3 and FLAC and want to unify everything in FLAC for use with managers like Roon or Plex, this conversion makes it possible even though the FLAC files sourced from MP3 will not have higher quality. A third case is integrity verification: FLAC includes MD5 checksums in metadata, allowing file integrity to be verified in the future.
Considerably larger. An MP3 at 320 kbps takes approximately 2.5 MB per minute of audio. When decoded to PCM and re-compressed with FLAC, the typical size is 20–40 MB per minute, since FLAC compresses PCM efficiently but cannot exploit the psychoacoustic correlations that MP3 uses to reduce size. A 4-minute MP3 at 128 kbps (~4 MB) converts to a FLAC of approximately 60–90 MB. Expect the FLAC to be 10 to 20 times larger than the original MP3 for the same content.
Yes and no, depending on interpretation. FLAC is a lossless compression codec: the resulting FLAC can be decompressed to the exact same PCM it was generated from, without any additional loss. In that strict technical sense, yes, it is lossless. But the PCM it was generated from came from decoding a lossy MP3, so the audio content was already degraded before entering the FLAC codec. The complete chain is: original audio → [MP3 loss] → degraded PCM → [lossless FLAC compression] → FLAC. The FLAC is lossless relative to the degraded PCM, not relative to the original audio. Audiophiles call this 'lossy-sourced FLAC' and it is completely different from a FLAC generated from a CD.
The simplest method is spectral analysis. Using tools like Spek (free, open-source spectrum analyzer) or Audacity's spectrum analyzer, an MP3-sourced FLAC shows the characteristic frequency cutoff above which there is no energy. MP3 at 128 kbps has a cutoff around 16 kHz; at 320 kbps around 20 kHz. A native CD-sourced FLAC has energy up to 22 kHz (half the 44100 Hz sample rate). Additionally, waveform analysis can reveal the MP3's pre-echo artifact (a pre-ringing before percussive transients) which is an unmistakable MPEG Layer III signature. Tools like sox and AcousticBrainz (now discontinued) included lossy-source detectors.
FLAC players do not automatically distinguish the origin of the audio: they play the decoded PCM from the FLAC without any special indicator. However, some audio quality analysis tools like fre:ac (formerly BonkEnc) or the Aucdtect plugin for Winamp/foobar2000 can statistically detect whether audio was previously compressed with a lossy codec, using spectral distribution analysis. In practice, if the FLAC file is correctly tagged with its original MP3 metadata (title, artist, original bitrate), any informed user can know the content is of lossy origin. Convertir.ai is honest about this distinction: the generated FLAC is technically correct but does not improve audio quality.
Convert MP3 to FLAC: lossless container for audio that already has losses
MP3 (MPEG-1 Audio Layer III) was developed primarily by Karlheinz Brandenburg at the Fraunhofer Institute for Integrated Circuits (IIS) in Erlangen, Germany — with key contributions from Heinz Gerhäuser, Bernhard Grill, Thomas Sporer, and Harald Popp — and published as part of the ISO/IEC 11172-3 standard in 1993. The codec applies the psychoacoustic model of Karl Eberhard Zwicker (published in its most complete form in 'Psychoacoustics: Facts and Models', Springer, 1990) to identify which frequency components of the audio can be discarded without the listener perceiving them under normal listening conditions: this includes simultaneous masking (soft frequencies masked by nearby louder ones), temporal pre-masking and post-masking (brief auditory insensitivity before and after intense sounds), and the absolute threshold of hearing (frequencies below which the ear perceives nothing regardless of amplitude). The information thus identified is permanently and irreversibly discarded during encoding: once the MP3 file is generated, recovering that information is mathematically impossible, as it is not stored anywhere in the file and cannot be inferred from the data present. FLAC (Free Lossless Audio Codec) was developed by Josh Coalson and published in its stable version 1.0 on July 20, 2001 under the BSD license. FLAC uses Linear Predictive Coding (LPC) to model the audio signal and Rice-Golomb coding to compress the residuals, achieving a 40–60% size reduction compared to WAV without discarding any bits. Converting MP3 to FLAC takes the PCM resulting from decoding the MP3 and re-compresses it with FLAC: the result is a lossless file that perfectly preserves the already-degraded audio from the original MP3 compression.
The question 'why is the FLAC much larger than the MP3 if the audio is the same?' deserves a detailed technical explanation. MP3 achieves its extreme compression by combining three techniques that specifically exploit the limitations of the human auditory system: the MDCT (Modified Discrete Cosine Transform) filter bank that transforms the audio from the time domain to the frequency domain in blocks of 1152 samples, quantization of the MDCT coefficients using adaptive Huffman tables that assign zero bits to discarded frequencies and very few bits to perceptually less important ones, and Huffman coding of the quantized coefficients. This process is highly efficient precisely because it discards information: the result is not the original audio but a perceptually equivalent approximation that occupies far less space. FLAC, on the other hand, receives as input the PCM resulting from decoding the MP3 — with all its compression artifacts already embedded — and must compress that signal without discarding any bits, using LPC+Rice compression that is effective for audio signals but cannot achieve the same compression ratio as MP3. The result: a 320 kbps MP3 occupying 2.5 MB/min becomes a FLAC of 20–40 MB/min, 8 to 16 times larger. Spectral analysis of the resulting FLAC with Spek or Audacity shows the MP3's frequency cutoff: absence of energy above 20 kHz in a 320 kbps MP3, or above 16 kHz in a 128 kbps MP3, compared to a continuous 22 kHz in a native CD-sourced FLAC. This spectral fingerprint is so reliable that tools like Aucdtect can identify lossy-sourced FLAC with high confidence by examining just a few seconds of audio, and many audiophile communities flag and exclude such files from their lossless libraries precisely because the FLAC container creates a false impression of lossless quality.
Despite not improving audio quality, MP3 to FLAC conversion has real and legitimate practical applications in 2025. The most important is compatibility with high-fidelity network audio players: devices like the Naim ND5 XS2, Linn Klimax DS, Lumin U2, Auralic Aries G1, and many other audiophile-oriented network players accept FLAC as their primary playback format but may have limited or erratic MP3 support, especially when MP3 files contain non-standard Xing/LAME header frames, or when served from a NAS (Network Attached Storage) via UPnP/DLNA where the server has difficulties detecting the audio/mpeg MIME type correctly. For users who have accumulated collections of 320 kbps MP3s over years of downloading and CD ripping, and who want to migrate to a FLAC-based playback system without repurchasing or re-ripping their entire catalog, this conversion enables immediate migration at the cost of increased disk space, with the clear understanding that audio quality does not improve beyond the original MP3s. A second use case is format normalization in music production workflows: some audio analysis plugins like TT Dynamic Range Meter or mastering tools like iZotope Ozone can have unexpected behavior with MP3 in certain DAWs, and converting to FLAC eliminates that variable from the workflow. Convertir.ai performs the conversion entirely in the browser via WebAssembly, without sending files to any server. Conversion runs entirely in the browser even without an active internet connection once the page has loaded, making it suitable for offline environments and ensuring no personal music files are ever transmitted to third-party infrastructure. There are no daily conversion limits or mandatory account creation.