Skip to content
Marvin's Toolbox.

Search tools

Type to filter all tools

Audio Trimmer

Cut a section out of an audio file on a zoomable waveform timeline. Drag the start and end handles, play back just your selection, fade the edges if you like, and export the result as MP3, WAV, OGG, FLAC or M4A.

Everything runs locally in your browser. Your data never leaves your device.

Drop an audio file here

MP3, WAV, OGG, FLAC, M4A, AAC, Opus and more. Click to choose a file.

It never leaves your browser.

Next steps

Send this tool's output straight into another tool.

Convert audio files between MP3, WAV, OGG, FLAC and M4A. Drop in as many files as you like, pick the target format and bitrate, and download the results one by one or all at once.

Hash text or a file with MD5, SHA-1, SHA-256, SHA-512, SHA-3, BLAKE2, BLAKE3, CRC32 and more, all computed live as you type. Compare against an expected checksum and copy any digest.

Verify a checksum online: drop a file, paste the expected checksum and see instantly whether they match. The hash type is detected from the checksum itself, covering MD5, SHA-1, SHA-256, SHA-512, BLAKE3, CRC-32 and more, and sha256sum lines or whole checksum files can be pasted as-is.

Compress text or a file with gzip, deflate, brotli or Zstandard and see the size before and after, the compression ratio and how long it took. One click tries every method and recommends the smallest result.

Decompress gzip, deflate, brotli or Zstandard data from a file or pasted Base64 and read the result as text or download it. Detects the format from the magic bytes where possible, with a manual override.

Inspect any file or text as a hex dump with offsets, byte values and an ASCII column. Jump to an offset, search for bytes or text, select a range to see it decoded as integers and strings, and copy or download the dump.

See everything about an audio file: duration, format, codec, sample rate, bit depth, channels and bitrate, the embedded tags and cover art, plus measured peak and RMS levels and a waveform overview.

Cut a section out of an audio file on a zoomable waveform timeline. Drag the start and end handles, play back just your selection, fade the edges if you like, and export the result as MP3, WAV, OGG, FLAC or M4A.

Encrypt any file with a password using AES-256-GCM, or decrypt a file that was encrypted here. Strong key derivation and integrity protection built in.

About the Audio Trimmer Tool

This tool cuts a section out of an audio file. Drop in a track or a recording and its waveform appears on a zoomable timeline. Drag the two handles around the part you care about, or type exact start and end times, then choose whether to keep the selection or cut it out and join what is left.

You can preview exactly what the export will sound like, including optional fade in and fade out, before saving it as MP3, WAV, OGG, FLAC or M4A at the bitrate you pick.

What you can do

  • Cut an MP3 or any audio file down to just the part you need.
  • Make a ringtone or a short clip from a longer song.
  • Remove a section from the middle of a recording and join the rest.
  • Add a fade in and fade out so the cut does not click.
  • Zoom deep into the waveform to place a cut precisely.
  • Export the result as MP3, WAV, OGG, FLAC or M4A.

How to use the Audio Trimmer

  1. 1Drop in an audio file, or click to choose one.
  2. 2Drag the start and end handles on the waveform, or type exact times. Zoom in for precision, the arrow keys nudge a focused handle.
  3. 3Pick Keep selection to export just the selected part, or Cut selection out to remove it and join the rest.
  4. 4Set a fade in or fade out if you want soft edges, then hit Preview result to listen first.
  5. 5Choose the export format and bitrate, export, and download the file.

Keep it or cut it out

The same selection works in two directions. Keep selection is the classic trim, it exports only what is between the handles and the fades soften its edges. Cut selection out removes the selected part instead, joins what came before and after, and applies the fades around the splice so the join does not pop. Cutting an ad out of a recording or a pause out of a voice memo works this way.

How the export works

The export re-encodes the audio with ffmpeg compiled to WebAssembly, which downloads once (about 32 MB) the first time you export. MP3 and M4A take a bitrate, OGG takes a quality level, and WAV and FLAC are lossless so there is nothing to trade off. Cutting is sample-accurate because the file is decoded and re-encoded rather than spliced on frame boundaries.

A re-encode of a lossy file always costs a little quality, so for repeated editing export to WAV or FLAC and only go back to MP3 at the end. Embedded cover art is not carried into the result. To just change a file's format without trimming, use the Audio Converter.

Limits

The waveform comes from your browser's own audio decoder, so the file has to be a format your browser can play. Very long files are decoded to raw samples for display, which can need a lot of memory, the tool warns you and asks first when a file looks that big. To check what a file contains before cutting it, run it through the Audio Inspector.

Credits

Open source does the heavy lifting in this tool. Thank you to:

  • ffmpeg.wasm

    A WebAssembly build of FFmpeg, the audio and video toolkit behind half the media software you know.

Everything this site builds on is listed on the credits page.

Convert audio files between MP3, WAV, OGG, FLAC and M4A. Drop in as many files as you like, pick the target format and bitrate, and download the results one by one or all at once.

See everything about an audio file: duration, format, codec, sample rate, bit depth, channels and bitrate, the embedded tags and cover art, plus measured peak and RMS levels and a waveform overview.

Create barcodes in dozens of formats, from EAN-13, UPC-A and Code 128 to QR Code, Data Matrix and PDF417. Type the content, tune the size, colors and text options, and download the result as PNG or SVG.

See any image the way people with a color vision deficiency see it. Upload a picture and preview protanopia, deuteranopia, tritanopia, the milder anomalous forms and monochromacy next to the original, then download any simulation as a full resolution PNG.

Pull the dominant colors out of any image as a ready-to-copy palette. Choose how many colors you want, copy each one as HEX, RGB or HSL, and export the whole palette at once.

See and edit the EXIF metadata inside a photo, then download it with your changes or save a copy with all metadata removed, GPS included. It reads JPEG, PNG, HEIC and more, and edits JPEG files.