Glyph WidgetsGlyph Widgets
À proposContactBlogConfidentialitéConditionsSoutenir sur Ko-fi

© 2026 Glyph Widgets. Tous droits réservés.

·

Traitement 100% côté client

Retour au blog

Audio Trimmer: Cut & Trim Audio Files

Audio trimmer with waveform visualization. Cut MP3, WAV, OGG, FLAC files with precise timestamps, add fades, download in multiple formats.

Glyph Widgets
27 février 2026
10 min read
audio trimmercut audio onlinetrim mp3audio cuttercut music file

What Is Audio Trimmer?

Audio Trimmer is a free browser-based tool for cutting and trimming audio files using a visual waveform display. It solves the everyday problem of needing to extract a specific segment from a recording, song, or podcast without installing desktop software. Upload an MP3, WAV, OGG, FLAC, or M4A file (up to 50 MB free, or 200 MB for supporters), drag selection markers on the waveform to choose your start and end points, preview the selection, and download the result. No account required, no file uploads to a remote server — all processing runs entirely in your browser using FFmpeg compiled to WebAssembly.

Key Features

  • Visual waveform display for precise trimming — A full-width waveform renders immediately after you drop your file. The purple waveform uses WaveSurfer.js with 2px bars and 1px gaps, giving you a clear view of audio density before you make any cuts.
  • Drag markers or enter exact timestamps — A draggable selection region highlights your chosen segment on the waveform. You can also type exact timestamps into the Start Time and End Time fields in HH:MM:SS format for frame-accurate cuts.
  • Preview selected portion before export — The Preview button plays only the selected region, stopping at the end time. A "Go to Start" button returns playback to the beginning of your selection.
  • Add fade in/out effects at cut points — Fade in and fade out dropdowns offer 0, 0.5, 1, 2, and 3 second options. The tool uses FFmpeg's afade filter, so fades are cleanly applied during the encoding pass.
  • Support for MP3, WAV, OGG, FLAC, M4A — All five formats are accepted for input. The component accepts audio/* with explicit extensions, including .aac.
  • Choose output format and quality — Select the output format independently from the input. Bitrate options appear for lossy formats (MP3, OGG, M4A) only.
  • Process files up to 50 MB (200 MB for supporters) — The dropzone enforces a file size limit at upload time. Free users can upload files up to 50 MB; premium supporters get a 200 MB limit.
  • 100% browser-based — no uploads — FFmpeg runs in the browser via WebAssembly. Your audio file never leaves your device.

How to Use Audio Trimmer

Step 1: Upload your audio file

Drag your audio file onto the upload zone or click to open a file picker. The tool accepts MP3, WAV, OGG, FLAC, M4A, and AAC files up to 50 MB (or 200 MB for premium supporters). After the file loads, a purple waveform renders in the left column showing the full duration of the audio.

Step 2: Set your trim points

Two methods are available:

Drag the selection region — A shaded purple region covers the entire waveform at first. Drag either edge inward to set your start and end times. The region updates in real time and syncs to the timestamp fields.

Type exact timestamps — The Start Time and End Time fields accept text in M:SS or H:MM:SS format. For example, type 1:30 for one minute and thirty seconds. The waveform region updates to match. The tool prevents invalid ranges: the start time is clamped to at least 0.1 seconds before the end time.

The Selected Duration and Total Duration values display below the waveform so you can confirm your selection length.

Step 3: Configure fade effects and output format

In the Trim Settings panel on the right:

  • Choose a Fade In duration: None, 0.5s, 1s, 2s, or 3s
  • Choose a Fade Out duration: None, 0.5s, 1s, 2s, or 3s
  • Select an Output Format: MP3, WAV, OGG, FLAC, or M4A
  • For MP3, OGG, and M4A, a Bitrate selector appears with options of 64, 128, 192, 256, and 320 kbps (defaults to 192 kbps)

WAV outputs use pcm_s16le codec (16-bit PCM). FLAC uses lossless FLAC encoding. Neither shows a bitrate selector.

Step 4: Trim and download

Click the Trim button. FFmpeg loads on first use (a one-time initialization), then processes the file. A progress overlay shows the FFmpeg processing percentage. When complete, an audio player appears so you can preview the result before saving.

Click Download to save the file. The output filename follows the pattern originalname_trimmed.mp3 (or whatever format you chose).

Practical Examples

Extracting a chorus from a song

You have a 3-minute pop track and want only the chorus from 1:05 to 1:35. Type 1:05 in Start Time and 1:35 in End Time. Add a 0.5s fade in and 0.5s fade out to avoid abrupt cuts. Choose MP3 at 192 kbps and click Trim. The result is a 30-second clip that fades in smoothly and ends cleanly — useful as a notification sound or video background music.

Removing silence from the start of a recording

You recorded a voice memo but the first 8 seconds are silent. Drag the left edge of the waveform region to the point where speech begins. The waveform makes the silence visually obvious as a flat line. Leave the end marker in place to keep the full recording. Export as WAV for lossless quality.

Creating a ringtone

Ringtones typically need to be under 30 seconds. Load an MP3, identify a memorable hook in the waveform, set Start Time to 0:45 and End Time to 1:10, add a 1s fade in and 1s fade out, and export as M4A at 128 kbps. The resulting file is ready to use as a ringtone on most smartphones.

Tips and Best Practices

Use the waveform to find loud sections — Peaks in the waveform correspond to louder moments. If you are looking for the beat drop or a vocal entry, scan visually for the first tall cluster of bars after a quiet section.

Always preview before exporting — The Preview button plays only the selected region from start to end. Use this to check that your fade effects sound right and that no unintended content is included.

WAV preserves full quality — If you plan to edit the trimmed clip further in another application, choose WAV output. It uses PCM encoding with no quality loss. For final distribution, MP3 or M4A at 192 kbps is usually sufficient.

FFmpeg loads once per session — The first time you click Trim, FFmpeg initializes. Subsequent trims in the same session are faster because the engine is already loaded.

Keep fade durations shorter than your selection — A 3-second fade out on a 2-second clip will produce silence. The FFmpeg afade filter applies the fade relative to the clip duration, so check that your fade durations fit within the selected segment length.

Common Issues and Troubleshooting

The Trim button appears grayed out — The button is disabled when no file is loaded or when FFmpeg is initializing. Wait for the loading indicator to clear, or reload the page and try again.

The waveform does not appear after upload — This can happen if the browser's AudioContext is blocked. Click anywhere on the page to trigger user interaction, which allows the AudioContext to initialize, then re-upload the file.

The output sounds clipped or distorted at the fade point — Check that your fade duration does not exceed the selection length. For a 5-second clip, a 3-second fade out starts at 2 seconds and occupies most of the clip. Reduce the fade to 0.5s or 1s.

File too large error — The tool enforces a 50 MB maximum for free users (200 MB for supporters). Files larger than the limit will not be accepted by the dropzone. Split the file in another application or use a lower-bitrate version.

Wrong format codec error — Some files use unusual codec configurations despite having a standard extension. If FFmpeg reports an error, try re-encoding the source file to standard MP3 or WAV and upload again.

Privacy and Security

Audio Trimmer processes your files entirely within your browser. Your audio data is never transmitted to a server. FFmpeg runs as a WebAssembly module loaded from the Glyph Widgets CDN, but the audio content itself stays on your device throughout the entire trim and encode process. This makes the tool safe for use with confidential recordings, unreleased music, or private voice memos. It also works offline once the page has loaded.

Frequently Asked Questions

Is Audio Trimmer free to use?

Yes, Audio Trimmer is completely free. There are no usage limits, no account required, and no watermarks added to the output files. Premium supporters gain access to the notes panel and usage tracking features, but the core trim functionality is available to everyone.

Does Audio Trimmer work offline?

Once the page has loaded and FFmpeg has initialized (which requires an internet connection on first use), subsequent trims within the same session work without an active connection. Reloading the page requires reconnecting to fetch the WebAssembly module again.

Is my data safe with Audio Trimmer?

All processing occurs in your browser using WebAssembly. Your audio file is never uploaded to any server. The tool reads the file locally, processes it in memory, and delivers the output as a downloadable blob URL. Your audio content is never transmitted over the network.

What audio formats can I trim?

Audio Trimmer accepts MP3, WAV, OGG, FLAC, M4A, and AAC input files. The output format can be set independently to MP3, WAV, OGG, FLAC, or M4A. This means you can, for example, trim a FLAC file and output it as MP3.

How precise is the trimming?

Timestamps are entered in seconds to three decimal places internally. The waveform region can be dragged or typed for accuracy. FFmpeg processes the cut using the -ss and -to flags, which are accurate to the millisecond level for most formats. For sample-accurate cutting of WAV files, FFmpeg's PCM encoder preserves the full precision of the source.

Can I add fade effects to the trimmed audio?

Yes. The Trim Settings panel includes Fade In and Fade Out selectors with options of 0, 0.5, 1, 2, and 3 seconds. The tool uses FFmpeg's afade filter applied during the encoding pass, so the fades are baked into the exported file.

What bitrate options are available for MP3 output?

The bitrate selector for lossy formats (MP3, OGG, M4A) offers five options: 64, 128, 192, 256, and 320 kbps. The default is 192 kbps. This covers standard quality ranges from lower bitrates for small file sizes up to higher bitrates for better fidelity.

Can I trim multiple files at once?

Audio Trimmer processes one file at a time. The dropzone accepts a single file. For batch trimming, use the Audio Converter or process files one at a time and use the Audio Joiner to combine them afterward.

Why does the first trim take longer?

FFmpeg must initialize as a WebAssembly module on first use. This typically takes a few seconds depending on your connection speed. Once loaded, the engine stays active for the duration of your session and subsequent trims complete much faster.

What happens to the output file if I close the browser?

The output file exists as a blob URL in browser memory. Closing the tab or browser will discard it. Download the file before closing the page. If you accidentally close the browser, you can re-upload the original file and re-trim it.

Related Tools

  • Audio Converter — Convert audio files between MP3, WAV, OGG, FLAC, and M4A without trimming.
  • Audio Joiner — Combine multiple trimmed clips into a single audio file.
  • Volume Adjuster — Increase or decrease the volume of an audio file after trimming.

Try Audio Trimmer now: Glyph Widgets Audio Trimmer

Dernière mise à jour : 27 février 2026

Continuer la lecture

Plus d'articlesEssayer Audio Trimmer