Skip to main content

Audio Trimmer Trim and cut audio files to the exact duration you need.

Audio Trimmer illustration
🎵

Audio Trimmer

Trim and cut audio files to the exact duration you need.

1

Upload Audio

Drop your audio file (MP3, WAV, OGG, etc.) or click to browse.

2

Set Trim Points

Use the waveform to set the start and end times for your trimmed clip.

3

Download

Click Trim and download your shortened audio file.

Loading tool...

What Is Audio Trimmer?

The Audio Trimmer is a free browser-based tool for cutting audio files to a specific duration. Upload any audio file and use the visual waveform display to set precise start and end points. The tool uses the Web Audio API to decode and process your audio entirely in the browser. Perfect for trimming songs, cutting podcast segments, or extracting specific parts of recordings. The waveform visualization makes it easy to identify silent sections, spoken words, or musical passages for accurate trimming. Download the trimmed result as a WAV file.

Why Use Audio Trimmer?

  • Visual waveform display for precise trim point selection
  • Supports multiple audio formats (MP3, WAV, OGG, AAC, FLAC)
  • All processing happens locally in your browser
  • No account required — completely free to use

Common Use Cases

Ringtone Creation

Cut your favorite song section for a custom phone ringtone.

Podcast Editing

Trim intros, outros, or dead air from podcast recordings.

Music Sampling

Extract specific sections from songs for music production.

Voice Messages

Trim voice recordings to remove unwanted beginnings or endings.

Technical Guide

The Audio Trimmer decodes uploaded files using AudioContext.decodeAudioData() to produce PCM AudioBuffers. A waveform is rendered on an HTML5 canvas by downsampling the audio data and drawing amplitude bars. Users set start/end times via interactive handles or numeric inputs. The trimming operation creates a new AudioBuffer from the selected sample range using the formula: startSample = startTime * sampleRate and endSample = endTime * sampleRate. The channel data is sliced from the original buffer and written to a new buffer. The trimmed audio is then encoded as a 16-bit PCM WAV file by constructing the RIFF/WAV header and writing the interleaved sample data. The result is offered as a downloadable Blob.

Tips & Best Practices

  • 1
    Zoom into the waveform for finer trim point control
  • 2
    Use the preview/play button to verify your trim points before exporting
  • 3
    For ringtones, most phones accept 30-40 second clips
  • 4
    WAV output preserves full quality — convert afterward if you need MP3

Related Tools

Frequently Asked Questions

Q What audio formats are supported?
The trimmer accepts MP3, WAV, OGG, AAC, FLAC, and M4A files — any format your browser can decode.
Q Can I trim with millisecond precision?
Yes. The time inputs support decimal values for sub-second precision.
Q What format is the output?
The trimmed audio is exported as a WAV file. You can use our other tools to convert to MP3 or other formats.
Q Is there a maximum file length?
There's no hard limit, but very long files (>1 hour) may use significant browser memory.
Q Are my files uploaded anywhere?
No. All trimming happens locally in your browser. Your files remain private on your device.

About This Tool

Audio Trimmer is a free online tool by FreeToolkit.ai. All processing happens directly in your browser — your data never leaves your device. No registration or installation required.