Trim Audio
Cut a section out of a track and keep the format it came in. Runs entirely in your browser.
Why an instant cut cannot be an exact one
Compressed audio is not a continuous stream of samples. It is a sequence of frames, each holding a fraction of a second and each decoded with reference to what surrounds it. There is no way to begin playing in the middle of a frame without decoding it first.
That gives two honest options, and this page offers both rather than picking one and hiding it. Copying the frames is instant and perfectly lossless, but the cut has to land on a frame boundary — the nearest one to where you clicked, which can be a fraction of a second away. Decoding and re-encoding cuts exactly where you asked, and costs time plus one generation of compression.
Exact is the default, because for the things people trim audio for — a ringtone, a podcast clip, a sample — starting a beat late is more irritating than waiting a few seconds. Fast is there for when you are pulling a rough section out of a long recording and precision does not matter.
The format comes back as it went in
An MP3 gives an MP3, a FLAC gives a FLAC. When an exact cut needs to re-encode, the encoder is chosen to match the container: LAME for MP3, FLAC for FLAC, uncompressed PCM for WAV. Mismatching those is a classic way to produce a file that will not mux, or one whose extension quietly disagrees with its contents.
For WAV and FLAC there is no quality question at all — both are lossless, so an exact cut reproduces the same samples the original had. The trade only exists for the lossy formats.