Online Audio Cutting Tool
Trim and Cut Audio Online
Keep only the part of an audio file you need without opening a full desktop editor. CyberTools lets you choose precise start and end times, preview the selected range, and export the trimmed segment as MP3, WAV or OGG using FFmpeg WebAssembly in your browser.
Trim MP3
Cut WAV
Trim OGG
Start & End Times
Audio Preview
FFmpeg WebAssembly
Browser Processing
Quick Answer
How do I trim audio online?
Upload a supported audio file, choose the start and end times, select MP3, WAV or OGG as the output format, then start trimming. The current workflow passes the selected start time and duration to FFmpeg and encodes only that segment into the chosen audio format.
Common Tasks
Common Online Audio Trimming Tasks
Audio trimming is useful when you need only part of a recording, song, podcast, voice note, interview or sound effect.
Trim an MP3 File
Keep a selected section of an MP3 and export the result as a new MP3 file.
Cut a WAV Recording
Remove unwanted time before or after the useful portion of a WAV recording.
Trim OGG Audio
Select a shorter segment and encode the output using the Vorbis audio encoder.
Extract a Short Audio Segment
Keep one specific moment from a longer recording using start and end controls.
Remove Silence at the Beginning or End
Move the trim boundaries inward when unnecessary silence appears before or after the useful audio.
Create a Short Clip for Sharing
Cut a long recording down to the exact section needed for a presentation, message, sample or other short use.
Output Format Comparison
MP3 vs WAV vs OGG for Trimmed Audio
The output format affects encoding method, file size, compatibility and whether compression is lossy or uncompressed.
| Format |
Current Encoder |
Main Characteristic |
Good For |
| MP3 |
libmp3lame, quality 2 |
Lossy compressed audio |
General playback and sharing |
| WAV |
pcm_s16le |
Uncompressed 16-bit PCM audio |
Editing and workflows where larger files are acceptable |
| OGG |
libvorbis, quality 4 |
Lossy Vorbis audio |
Open-format web and application workflows |
| Short MP3 Clip |
libmp3lame |
Compact compressed output |
Voice clips and general distribution |
| Short WAV Clip |
PCM |
Large but straightforward uncompressed output |
Intermediate editing or processing |
| Short OGG Clip |
Vorbis |
Compressed open-format output |
Compatible web or software workflows |
How It Works
How CyberTools Trims Audio
The current Audio Trimmer writes the selected source file into FFmpeg WebAssembly, passes the selected start time with -ss and the selected segment length with -t, then encodes that range into MP3, WAV or OGG.
Load the Source Audio
The selected file is written to FFmpeg’s virtual filesystem inside the browser.
Set the Start Position
The selected start time is passed to FFmpeg with the -ss option.
Calculate the Segment Length
The tool subtracts the start time from the end time and passes the result to FFmpeg with -t.
Encode the Selected Format
MP3 uses libmp3lame with -q:a 2, WAV uses pcm_s16le, and OGG uses libvorbis with -q:a 4.
Read the Trimmed Output
The encoded file is read back from the FFmpeg virtual filesystem after processing finishes.
Create the Download
The browser creates an object URL for previewing and downloading the trimmed audio.
Choose Your Settings
Which Audio Trim and Output Settings Should You Use?
Choose the trim range based on the content you want to keep and the output format based on how you plan to use the result.
General sharing
MP3
MP3 is widely supported and produces compressed files suitable for common playback and sharing.
Further audio editing
WAV
The current WAV path uses uncompressed 16-bit PCM, avoiding another lossy compression step.
Open-format compressed audio
OGG
The current OGG path uses the Vorbis encoder for compressed audio output.
Remove unwanted beginning
Move the start time forward
Everything before the selected start position is excluded from the resulting segment.
Remove unwanted ending
Move the end time backward
The selected duration ends at the chosen end position.
Create a short sample
Use a narrow start/end range
A shorter selected duration creates a shorter output and generally reduces the amount of audio that must be encoded.
Quality and File Size
How Format and Duration Affect Trimmed Audio
The selected duration controls how much audio is encoded, while the chosen output format determines the encoder and compression method used by the current implementation.
Shorter Segments Usually Need Less Data
Reducing the selected duration means FFmpeg encodes less audio into the resulting file.
MP3 Uses Lossy Compression
The current MP3 output uses libmp3lame with quality level 2, so the audio is re-encoded rather than copied bit for bit.
WAV Uses Uncompressed PCM
The current WAV output uses pcm_s16le, which generally creates larger files than compressed MP3 or OGG output.
OGG Uses Vorbis Compression
The current OGG output uses libvorbis with quality setting 4.
Trimming Does Not Restore Missing Detail
Choosing WAV output cannot recreate frequencies, detail or fidelity that were already absent from the source audio.
Changing Format Means Re-Encoding
The current implementation explicitly selects an audio encoder for MP3, WAV and OGG rather than performing a stream-copy trim.
Processing and Privacy
Where Is Your Audio Processed?
The current CyberTools Audio Trimmer performs its main FFmpeg workflow in your browser with FFmpeg WebAssembly.
- The selected source file is written to FFmpeg’s browser-side virtual filesystem during processing.
- Seeking, decoding and audio encoding use your device’s CPU and memory.
- The generated audio file is read from FFmpeg memory and exposed through a browser object URL for preview and download.
- Browser-side processing is still limited by available memory, processor performance, browser support and FFmpeg codec support.
Limitations
What an Online Audio Trimmer Cannot Do
Trimming changes which time range is kept. It does not automatically repair, clean, master or enhance the source recording.
- Trimming cannot restore audio detail that is missing from the source recording.
- The current tool does not automatically detect silence, speech, beats or ideal edit points.
- It does not remove background noise, echo, clipping or distortion automatically.
- The current implementation exports only MP3, WAV or OGG even if another source format can be decoded.
- Some source codecs or containers may not be readable by the browser FFmpeg build.
- Very large or long files can exceed available browser or device memory during decoding and encoding.
Audio Concepts
Audio Trimming, MP3, WAV, OGG and Encoding Explained
These concepts explain what happens when an audio segment is selected and why the output format affects file size and encoding behavior.
- Audio Trimming
- Keeping only a selected time range from a longer audio source.
- Start Time
- The point in the source audio where the retained segment begins.
- Duration
- The length of the selected segment; the current tool calculates it as end time minus start time.
- MP3
- A widely supported lossy audio format encoded here with libmp3lame.
- WAV
- An audio container used here with uncompressed signed 16-bit little-endian PCM audio.
- OGG
- A container used here with Vorbis-compressed audio.
- libmp3lame
- The FFmpeg MP3 encoder used by the current Audio Trimmer.
- pcm_s16le
- Signed 16-bit little-endian PCM audio used for the current WAV output.
- libvorbis
- The FFmpeg Vorbis audio encoder used for current OGG output.
- FFmpeg WebAssembly
- A browser-executable FFmpeg build used to decode, trim and encode audio without the normal desktop FFmpeg application.
Frequently Asked Questions
Audio Trimmer FAQ
Answers about MP3, WAV, OGG, start and end times, encoding, audio quality and browser processing.
How do I trim an MP3 online?
+
Upload the audio, select the start and end times, choose MP3 and begin trimming. The current tool sends the selected start position and duration to FFmpeg and encodes the result with libmp3lame.
Can I trim WAV audio?
+
Yes. Select WAV as the output format and the current implementation encodes the selected segment using pcm_s16le.
Can I trim OGG audio?
+
Yes. Select OGG output and the current implementation uses libvorbis with quality setting 4.
How precise are the trim controls?
+
The timeline and manual start and end controls use 0.1-second steps in the current interface.
Does trimming audio reduce quality?
+
The current workflow re-encodes the selected segment. MP3 and OGG use lossy encoders, while WAV output uses uncompressed 16-bit PCM.
Is WAV always better quality than MP3?
+
WAV avoids another lossy compression step in the current tool, but it cannot restore detail already missing from the source audio.
Does the Audio Trimmer use stream-copy trimming?
+
No. The current implementation explicitly selects libmp3lame for MP3, pcm_s16le for WAV or libvorbis for OGG, so the selected segment is encoded into the chosen format.
Is my audio uploaded to a conversion server?
+
The main trimming workflow currently runs in the browser using FFmpeg WebAssembly. The source is written to FFmpeg’s browser-side virtual filesystem during processing.
Why can a large audio file fail in the browser?
+
FFmpeg needs memory and processor resources to decode and encode the selected audio. Large files, long recordings or unsupported codecs can exceed available browser resources.
Can trimming remove noise or improve audio quality?
+
No. Trimming changes the retained time range. It does not automatically remove noise, repair clipping, restore missing frequencies or master the recording.