T = end − start
Start your audio project
Drop an audio file here or choose an option below.
Recording…
00:00
Was this tool useful?
How does this tool work?
Trim a precise section of an audio file by setting start and end times in seconds. Processing stays local in the browser and produces a new WAV without changing the original file.
Enter a start time and an end time, with the end strictly greater than the start. The engine extracts only that time range and re-encodes it as PCM WAV. If the requested end extends beyond the available duration, the result can only contain audio that actually exists. This tool keeps one continuous range; it does not remove a section from the middle of a track. Start time may be zero, keeping the beginning of the file. Import initializes the end to detected duration and waveform selection updates the fields. The current interface rejects an end beyond known duration, although the native engine can bound an oversized end when called directly. Fractional seconds refine a cut without guaranteeing the same musical point across different recordings. Native Web Audio may resample and writes 16-bit PCM; it does not copy tags or artwork. Keep the source when you may need to revise the chosen range later.
How to use this tool
Choose the file
Import the audio and identify the start and end seconds you want to keep.
Set the range
Enter a non-negative start and an end value that is strictly greater.
Trim and check
Generate the WAV and listen to the result to confirm that the cut matches the intended passage.
Audio trimmer — Calculation reference
- T
- Duration in seconds
- start, end
- Selection boundaries in seconds
Use cases
Extract a clip
Keep only a quote, music passage or useful section from a longer recording.
Remove unwanted edges
Cut an unnecessary beginning or ending before normalization, conversion or sharing.
Prepare a batch
Apply the same time range to several files in Workspace when recordings share the same structure.
Examples
Keep thirty seconds
42.5 − 12.5 = 30. Rendering precision depends on sample rate and frame rounding.
Input
Start 12.5 s; end 42.5 sResult
Target excerpt 30 sKeep the beginning of a take
The start need not be strictly positive. Listen for a final consonant falling just beyond the chosen end.
Input
Start 0 s; end 8 sResult
Target excerpt 8 sTips and best practices
- The tool keeps one continuous range; it does not yet remove a section from the middle of a file.
- To avoid cutting a word or musical attack, leave a small margin around the passage and refine it if needed.
- The current output is PCM WAV; convert it afterwards if you need a compressed delivery format.
Sources and references
- W3C, Web Audio API (opens in a new tab)Page in English
- FFmpeg project, FFmpeg Filters Documentation (opens in a new tab)Page in English
Frequently asked questions
Can I remove only a section from the middle of the file?
Not with this trimmer. It keeps the range between one start and one end time. Removing an internal segment is a different operation.
What happens if the end time is longer than the file?
The output can only contain audio that exists in the source. For predictable results, keep the end value within the source duration.
Does trimming alter the original file?
No. The source is left unchanged and a new WAV is generated from the selected range.
Can trimming start at exactly zero seconds?
Yes, provided the end is strictly later. A zero-to-zero range is empty and cannot produce a useful excerpt.
Can I trim MP3 without decoding it?
No. Processing uses decoded audio and creates a 16-bit PCM WAV. It does not cut compressed MP3 frames directly without re-encoding.
Related tools
Keep going with these tools
Tools similar or complementary to this one.
Similar tools
Add fade-in and fade-out effects to an audio file.
Increase or reduce the volume of an audio file.
Convert audio files locally to MP3, WAV, FLAC, OGG, M4A or Opus.
Read next
Trim an audio file: extract or keep only one section
Keep a precise interval from MP3, WAV or another audio file locally and use the result in a pipeline.
Change audio speed, add fades and reverse sound
Understand speed changes, fade-ins, fade-outs and audio reversal, with practical advice for editing and reusable browser workflows.
Create an audio workflow with Workspace and pipelines
Combine trimming, channels, sample rate, normalization, compression and export into a clear, reusable audio processing pipeline.
Convert and edit audio files directly in your browser
Convert, trim, adjust volume and merge MP3, WAV, FLAC, OGG, M4A or Opus files, then combine these operations in a pipeline.