Audio Trimmer
Keep a useful excerpt from a local audio file, preview the selection and add optional fades. The tool creates a 48 kHz PCM16 WAV clip. Input support depends on your browser; files are limited to 16 MiB and five minutes after decoding.
The tool adds no upload or saved history. Audio stays in this editing session.
Trim one audio interval
- Choose a local file and wait for decoding and waveform preparation. The tool accepts a mono or stereo decoded result within its limits. A filename or audio extension does not guarantee browser compatibility.
- Set Start and End in seconds using a dot or comma decimal, with up to six fractional digits. The sliders select decoded frames. Preview the full audio or selection, and enter optional fade lengths in whole milliseconds.
- Create the WAV clip, review its duration and playback, then download trimmed-audio.wav. Editing the range or fades removes the old result; loading and export never start playback automatically.
Decoded frames, boundaries and fades
The browser decodes the complete file and resamples it to 48000 frames per second. The editor uses that decoded result, not original compressed timestamps or an encoder's packet boundaries. Mono or stereo channel order is retained.
Start rounds down and End rounds up to decoded frame boundaries, with End excluded. A rounded-up full-file endpoint is limited to the final frame boundary. Exact frame indices remain authoritative even when displayed seconds are rounded.
Zero milliseconds disables a fade. Nonzero fades use linear endpoint-inclusive ramps, and their combined length cannot exceed the selection. Samples are faded, clipped into the supported amplitude range and quantized to signed 16-bit PCM; there is no normalization or enhancement.
The waveform combines the channel minima and maxima as a selection aid. Use the labelled time fields and keyboard sliders as well. Source audition uses decoded audio; the generated-clip player reads the actual WAV file, including its quantization.
Selection and file-size examples
From a ten-second mono source, select 2.5 to 7.5 seconds and use 250 ms fade in and 500 ms fade out. The clip contains 240000 frames, lasts five seconds and has 480044 bytes: 480000 PCM data bytes plus the 44-byte WAV header.
For stereo, the same five-second interval keeps both channel indices and interleaves their samples in the WAV. Its data size is twice the mono size. Silence is valid audio and produces a silent clip rather than an error.
Fades must fit. A 700 ms selection cannot contain separate 500 ms fade-in and 500 ms fade-out regions under this tool's nonoverlap rule. Reduce the fades or extend the range; they are not silently shortened.
Browser decoding and WAV limits
Common audio formats may decode differently or be unsupported on a particular browser or operating system. The tool edits the single decoded PCM result; it does not select alternative container tracks, preserve source metadata, offer a video-extraction workflow or guarantee MP3, AAC, Ogg or FLAC compatibility.
The 16 MiB file limit is checked before reading; the five-minute, mono/stereo and finite-sample limits are checked after decoding. They do not prove a native decoder's expansion or peak-memory bound. Browser allocations can fail before the decoded result can be rejected.
Cancel prevents old work from publishing a clip, but native reading or decoding may still be pending. The tool waits for that operation to settle before allowing another load, even after clearing or remounting. A timeout is not a hard native abort or proof that memory was reclaimed.
Output is 48 kHz PCM16 WAV, not MP3 or lossless compressed trimming. Files can be much larger than the input. Preview depends on browser playback and device output; a valid very short WAV can remain downloadable even if that browser cannot preview it.
One local editing session
The tool adds no file upload, microphone or camera access, saved history, audio-bearing link or telemetry containing filenames, audio or selections. The downloaded filename is fixed and original metadata is not copied. Existing site services, extensions and your later sharing of the clip are outside that limited behavior statement.
Audio trimming questions
Sources
Browser audio and WAV format references.
- w3.orgW3C: Web Audio API (2021 Recommendation)Web Audio buffer and graph semantics.
- developer.mozilla.orgMDN: decodeAudioDataWhole-file decoding and resampling.
- developer.mozilla.orgMDN: OfflineAudioContextOffline audio context.
- developer.mozilla.orgMDN: copyFromChannelCopying channel samples.
- learn.microsoft.comMicrosoft: RIFFRIFF container structure.
- learn.microsoft.comMicrosoft: WAVEFORMATEXWAV format fields.
Reviewed 15 November 2026.
Related tools
Video to MP3
Extract a chosen audio stream from a local video into a complete, verified MP3.
Open tool — Video to MP3ZIP File Extractor
Open a local ZIP, choose a file and request its individual download after checking its complete bytes and checksum.
Open tool — ZIP File ExtractorZIP Creator
Bundle selected files into one ZIP, choose Normal or Store, check names and download the completed archive locally.
Open tool — ZIP CreatorVoice Recorder
Record one microphone take, pause and review it, then download its actual native audio format.
Open tool — Voice Recorder