This page's code did not start.

Opening index.html directly from a folder blocks JavaScript modules, so nothing will happen when you choose a recording. Serve the folder over http instead:

powershell -ExecutionPolicy Bypass -File serve.ps1

Then open http://localhost:8080/.

Audio Trimmer — trim audio online

Mark the parts worth keeping as it plays. Get them back as one file, cut where you said.

Language: English
View source
Your recordings are processed in your browser. No processing upload.

Your recording is read, marked, cut and written by your own browser, on your own hardware. Nothing here can fetch or send anything — there is no network feature in this tool at all — and there is no server on the other end of this page to send a recording to even if there were.

Live check: checking…

Offline: checking…

Don't take our word for it: open DevTools, watch the Network tab, and trim something. Not one request carries a sample, a filename, or a byte of what you chose. Or unplug from the internet and trim a recording anyway — a tool that sent your audio away to be cut would simply stop.

1 Choose a recording

2 Mark the parts you want

Play it through and press I where a part should start and O where it should end. Do that as many times as you like — every pair becomes a row below, and the finished file is those rows, one after another. U undoes the last one, Space plays and pauses, and the arrow keys jump five seconds. Hold Shift with an arrow to move ten milliseconds at a time.

The marks save as a plain text file — one line a part, the format above — so a long marking session survives a closed tab, and the same file can be handed to the video cutter or to any other tool that reads that layout.

0:00.000 0:00.000
Speed

Parts none yet

Total kept 0:00.000

Nothing marked yet. Press I then O while it plays, or use the buttons above.

Append keeps your current parts. Replace discards them only after the selected file is read successfully.

What to do with the marked parts

3 Trim it

What to write A WAV holds the samples as they are, so writing one cannot cost quality. It is not a small file: see the estimate below.

Keeping
—
Finished length
—
Starts at
—
Joins
—
Sound
—
Roughly
—

View as Markdown

How to trim an audio file

  1. Choose a recording. Drop an MP3, WAV, FLAC, M4A, Ogg or Opus file onto the picker — or a video, if what you want is a piece of its sound. It is read straight off your disk by the browser and drawn as a waveform; nothing is sent anywhere while you do it.
  2. Play it, and mark the parts you want. Press I where a part should start and O where it should end. Do that as many times as you like — every pair becomes a row in the table underneath, and a band on the waveform. U takes the last one back, Space plays and pauses, the arrow keys jump five seconds, and holding Shift with one moves ten milliseconds. Slow the playback down if the moment is hard to catch.
  3. Fix up the marks. Each row can be played back on its own, retimed by typing an exact time into it, moved up or down the order, or deleted. The two ends of the selected part can also be dragged along the waveform, which is the quickest way to put a mark on the silence rather than on the breath before it. The total at the top is what the finished recording will run to.
  4. Keep them, or cut them out. Keeping is the usual way round: the finished recording is the parts you marked, joined in order. Cutting them out is the other job people want and rarely find — mark the ums, the phone ringing or the false starts, and what is left is joined up without them.
  5. Trim it, and download. Every cut lands on the sample you marked; there is no rounding to a keyframe here, because sound has none. The one thing worth choosing is how much of a fade to put on each join — five milliseconds is enough to stop a click and far too short to hear as a fade. What comes out is a WAV, played back on the page first, and then handed straight to your browser's downloads.

The longer version

How to trim audio without losing quality Where an audio cut actually lands, why it can be exact when a video cut cannot, why a join sometimes clicks, and what a five-millisecond fade is really doing.

Questions

Is my audio uploaded anywhere?

No. It is read, marked, cut and written by your own browser on your own hardware. There is no server side to this tool, and the page's Content-Security-Policy names every address it may contact — none of them belongs to this site. Unplug from the internet and trim a recording anyway if you would rather check than be told.

Can I keep several parts of the same recording?

That is what this is for. Press I and O as many times as you like while it plays; each pair becomes a row, and the finished file is every row joined in order with everything else gone. Most online trimmers give you one pair of handles and ask which single stretch to keep, which is fine for topping and tailing a jingle and no use at all for listening to an hour of interview once and keeping the six answers worth having.

Does the cut land exactly where I marked it?

Yes, on every part, in every player. This is the one place where audio is simpler than video: a decoded recording is a run of numbers and each one stands on its own, so there is no equivalent of a keyframe to round back to and no reason for a cut to start early. The page shows the sample number the result begins at, which is the mark you made multiplied by the sample rate and rounded to the nearest whole sample.

Why would a join click, and what is the fade for?

Because cutting from the middle of one word to the middle of another puts two unrelated waveforms next to each other, and a speaker asked to jump between them makes a click. It is not a fault in the cut — it is what a discontinuity sounds like. The fix is a fade of a few milliseconds either side of each join: long enough for the cone to get there, far too short to be heard as a fade. Five milliseconds is the default and can be turned off. A fade is only put on an edge that is actually a cut, so an edge at the very start or end of the recording is left exactly as it was.

Can I cut the bad bits out instead?

Yes. Mark them, then choose "Cut them out": everything you did not mark is joined up instead, in order. The same list of marks answers both questions, so you can switch between them and see the length change without marking anything twice.

Can I save my marks and come back to them?

Yes. "Save marks" writes a plain text file — one line a part, a start and an end separated by a comma — and "Load marks" reads one back. Two formats are offered, plain seconds and HH:MM:SS.mmm, and both are the layout the video cutter on this site writes, so a file made against the video can be dropped onto its audio and the other way round. Marking is careful work and nobody should have to do it twice.

Which formats can I open?

Whatever your browser decodes, which in practice means MP3, WAV, FLAC, M4A and AAC, Ogg Vorbis and Opus, and the audio inside MP4, M4V, MOV and WebM video. What is left out is the same short list as everywhere else: AVI, WMA, and most MKVs. A file this browser will not read is refused with a message saying so, rather than failing halfway through.

Why does it save a WAV rather than an MP3?

Because no browser ships an MP3 encoder, and this tool refuses to send your recording to a server that has one. A WAV needs no encoder at all — it is the samples with a short header in front — so it is both the honest option and the only one that cannot cost quality on the way out. It is larger: about ten megabytes a minute in stereo. Every player, phone and editor opens one, and anything that wants an MP3 can make one from it. Trimming an MP3 by copying its frames instead would keep the file small, but it would also move every cut to the nearest frame boundary, which is the rounding this tool exists not to do.

Is there a limit on the length of the recording?

There is no limit built into the tool. The practical ceiling is memory: the whole recording is decoded into this page at once, and a WAV is assembled in memory before you download it, so an hour of stereo needs something under a gigabyte to work in. A four-gigabyte WAV is refused outright, because the format's own size field cannot describe one.

Is it free, and do I need an account?

It is free, and there is no account, no sign-in, no trial and no watermark. The site carries advertising, which is what pays for it; the ads are not given anything about your recording.