Skip to main content

Audio Trimmer & Cutter (WAV Export)

Trim audio files with waveform overview, preview playback, and optional fade-in/out in your browser.

100% Local ProcessingFiles stay on your device and are never uploaded to a server.

How to use

  1. Drop or select an audio file (WAV, MP3, M4A/AAC, OGG, FLAC, or WebM) up to 50 MB and 20 minutes.
  2. Review the waveform overview and enter start and end times (mm:ss.s), plus optional fade-in and fade-out seconds.
  3. Click Preview selection to listen to the cut, then click Trim & export WAV to download your 16-bit PCM WAV file.

Key capabilities

  • 100% browser-based Web Audio decoding and 16-bit PCM WAV encoding with zero server uploads
  • Downsampled waveform overview with highlighted selection and mm:ss.s start/end controls
  • Optional linear fade-in and fade-out envelopes plus instant selection preview playback

Trimming audio locally without uploading recordings

Voice memos, podcast clips, lecture recordings, and sound effects often contain unwanted silence, coughs, or extra lead-in at the start and end. Uploading large audio recordings to an online trimmer can be slow and exposes private conversations or unreleased material to third-party servers.

This audio trimmer decodes and cuts your audio entirely inside your browser tab using the Web Audio API. Once the page loads, your file stays in local memory and is never transmitted over the network.

Supported input formats and browser decoding

The file picker accepts common audio formats including WAV, MP3, M4A/AAC, OGG, FLAC, and WebM. Actual decoding relies on your browser's built-in AudioContext.decodeAudioData implementation, so codec support varies slightly across Chrome, Firefox, Safari, and Edge.

If your browser cannot decode a specific container or codec, the tool displays a clear error message rather than failing silently. Exporting always produces an uncompressed 16-bit signed little-endian PCM WAV file so standard players and audio editors can open the result without needing an MP3 encoder.

Setting start/end times, fades, and previewing

After decoding, the tool draws a 160-bucket downsampled peak waveform overview on an 800 by 128 canvas and pre-fills the end time with the full track duration in mm:ss.s format. As you adjust the start or end time, the highlighted selection region updates on the canvas immediately.

You can add optional linear fade-in and fade-out durations in seconds (up to 30 seconds each) to prevent abrupt clicks at cut boundaries; if their combined duration exceeds the selection length, both are scaled proportionally so they do not overlap. Clicking Preview selection plays only the chosen range through Web Audio so you can verify the cut before exporting.

Memory limits and WAV output details

To keep browser memory usage predictable, input files are capped at 50 MB and decoded audio is capped at 20 minutes. Both limits are checked before and after decoding so oversized tracks do not exhaust tab memory.

The exported file is named with a -trimmed.wav suffix and preserves the decoded sample rate and channel count at 16-bit PCM resolution. Temporary object URLs created for metadata probing and WAV downloads are revoked when you replace a file, clear the selection, or leave the page.

Frequently asked questions

Are my audio files uploaded to a server?
No. Your file is decoded using your browser's Web Audio API and trimmed in local memory, so nothing is ever uploaded or stored remotely.
Why does it export WAV instead of MP3?
Browsers can decode MP3 and other compressed formats natively, but they do not include a built-in MP3 encoder. Exporting 16-bit PCM WAV works 100% locally with zero external encoders or server processing.
Why did my audio file fail to decode?
Audio decoding depends on the codecs your specific browser supports. If a file uses an unsupported codec or is corrupted, try opening it in another browser or using a standard WAV or MP3 file.
What are the file size and duration limits?
Input files are limited to 50 MB and decoded audio must be 20 minutes or shorter. These limits prevent browser tabs from running out of memory when holding uncompressed PCM audio.