Skip to main content

Audio trimmer

Trim an audio file locally in your browser by choosing start and end times, without server upload.

  • Batch processing
  • Export
Automate

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Code to copy

Responsive and automatically resized by Bethemesh.

Audio fileDrop an audio file here or choose an option below.

Start your audio project

Drop an audio file here or choose an option below.

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

  1. Choose the file

    Import the audio and identify the start and end seconds you want to keep.

  2. Set the range

    Enter a non-negative start and an end value that is strictly greater.

  3. 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 = end − start

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 s

Result

Target excerpt 30 s

Keep 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 s

Result

Target excerpt 8 s

Tips 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

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

Tools similar or complementary to this one.

Similar tools

Convert audio files locally to MP3, WAV, FLAC, OGG, M4A or Opus.

AudioFeaturedUse this tool