Article
Converting, Cutting, and Merging Audio Locally
Audio editing once required dedicated desktop software or uploading files to remote servers. Every tool covered here runs entirely inside your browser using WebAssembly. Your files never leave your device, work offline once loaded, and require zero sign-ups.
Converting, Cutting, and Merging Audio Locally
- Cutting and trimming: the audio cutter
- Merging and mixing: the audio merger
- Converting between formats and extracting from video
- Privacy: what actually happens to your file
- Codecs, bitrates, sample rates, and containers
- How FFmpeg.wasm handles in-browser transcoding
- ID3 tag structure and byte-level editing
- Tools in this article
- Frequently asked questions
Cutting and trimming: the audio cutter
The audio cutter lets you select a section of a track, keep it or remove it, and add fade-in and fade-out. Drop a file, drag the handles on the waveform to the segment you want, and click cut. A ringtone preset applies a 30-second window with an automatic fade-out in one click. Use it to trim silences from a voice recording, cut the intro off a podcast episode, or clip the chorus of a song for a ringtone. By default the cutter keeps the same format as the input, and its output format selector also lets you export directly to MP3, WAV, or M4A.
| Feature | WAV PCM | FLAC | MP3 / AAC | Opus / OGG |
|---|---|---|---|---|
| Browser Decode | 100% (Native Web Audio) | Chrome 56+, FF 51+, Safari 11+ | 100% (HTML5 Audio / Web Audio) | 100% (RFC 6716 / WebCodecs) |
| Typical Web Encoder | Native AudioBuffer export | WASM libflac (Ecosystem) | WASM LAME / WebCodecs (Ecosystem) | MediaRecorder (audio/webm) |
| Sunasty FFmpeg Export | WAV (/audio-converter & /audio-cutter) | Input decode (/mp4-to-mp3 extracts FLAC) | MP3, AAC, M4A (/audio-converter & /audio-cutter) | OGG (/audio-merge & /mp4-to-mp3) |
| Bitrate / Quality | 1411.2 kbps (16-bit / 44.1 kHz) | 700 - 900 kbps (Lossless) | 128 - 320 kbps (Lossy) | 64 - 160 kbps (Lossy VBR) |
| Algorithmic Latency | 0 ms (Sample-accurate) | 10 - 20 ms frames | 576 / 1152 samples | 2.5 - 20 ms |

Merging and mixing: the audio merger
The audio merger joins multiple tracks into a single file. You can stack them end to end with a hard cut, or smooth each join with an optional crossfade instead. There is no option to overlay two tracks so they play at the same time, such as background music under a voice recording; the merger always plays clips one after another. Add a fade-in at the start and a fade-out at the end of the combined result. All the source files are processed in one browser session; the combined output is a single download.
| Feature | Desktop 64-bit Tab | Mobile Safari (iOS) | Cloud Audio Converters |
|---|---|---|---|
| AudioBuffer 32-bit Float RAM | 2 GB - 4 GB Web Worker | ~250 MB - 350 MB Tab Limit | Server Upload Queue |
| Max Audio Duration | ~2.5 hours uncompressed | ~20 - 30 minutes safe cap | 50 - 100 MB File Limit |
| Execution Engine | Web Audio API + WASM SIMD | OfflineAudioContext | Remote Server Worker |
| File retention & verification | F12 -> Network (0 B Upload) | Web Inspector (0 B Upload) | Uploaded and stored temporarily on remote servers |
| Works offline | After the required downloads, while the browser retains them | After the required downloads, while the browser retains them | No |
Converting between formats and extracting from video
The audio converter reads MP3, WAV, OGG, FLAC or AAC, and even the audio track inside an MP4, WebM or MOV video, then converts it to MP3, WAV or AAC at a bitrate you choose from 96 to 320 kbps. For an MKV or AVI source, or when you need OGG, M4A, or FLAC output, use the audio extractor instead: it reads more video containers and offers six output formats. Both tools are backed by the same FFmpeg engine. The audio tags editor lets you set the ID3 metadata on MP3 files (title, artist, album, track number, cover art) without re-encoding the audio, so audio quality does not change (the file grows slightly if you attach cover art).
Privacy: what actually happens to your file
Every audio tool on this site runs in a Web Worker inside your browser tab. When you drop a file, it is read into browser memory. The FFmpeg WebAssembly engine processes it there and the output is written back to memory, then offered as a download. No byte of your audio file is transmitted to any server at any point. The only network activity is the one-time download of the FFmpeg engine itself (about 30 MB, cached locally). You can verify this by opening your browser Network tab during any job: no outgoing request will carry your file data.
Codecs, bitrates, sample rates, and containers
An audio file extension such as .m4a or .mp4 indicates the container format, not the codec. The container interleaves audio data, video data, and metadata; the actual audio is encoded by a codec such as AAC (Advanced Audio Coding) or MP3 (MPEG-1 Audio Layer III). Lossy codecs use psychoacoustic models and the Modified Discrete Cosine Transform (MDCT) to discard audio information that human hearing cannot perceive, for example frequencies masked by louder adjacent sounds. When converting, two parameters matter most: sample rate (typically 44.1 kHz for CD quality or 48 kHz for video) sets frequency resolution per the Nyquist-Shannon theorem, and bitrate (e.g. 128 kbps or 320 kbps) sets how much data is allocated per second. Converting a 128 kbps file to 320 kbps does not restore discarded frequencies; it only spends more bits describing the same already-degraded signal.

How FFmpeg.wasm handles in-browser transcoding
In-browser audio conversion uses FFmpeg.wasm, a WebAssembly port of the FFmpeg library. It does not use the Web Audio API, which is designed for real-time synthesis and playback, not format transcoding. Instead, the browser instantiates the FFmpeg WASM binary inside a Web Worker. Because FFmpeg was built for POSIX operating systems, the WebAssembly environment provides a virtual Memory File System (MEMFS). Your local file is read into a Uint8Array and written to ffmpeg's in-memory virtual file system. FFmpeg then runs its transcoding algorithms, reading and writing entirely within the browser's allocated RAM. The resulting binary array is then extracted and offered as a local download. No data is sent to any server at any point.
ID3 tag structure and byte-level editing
Editing audio metadata (artist name, album art, track title) means working with ID3 tags. ID3v1 appended a fixed 128-byte block to the end of an MP3 file. ID3v2, the current standard, prepends variable-length frames to the beginning of the file, so the audio stream starts at a dynamic byte offset. When a tool updates ID3v2 tags, such as embedding a high-resolution PNG cover image, it does not re-encode the audio frames. Instead, it reads the file header to locate the start of the MPEG audio data, builds a new ID3v2 header with the updated metadata, and concatenates that header with the original audio stream. This byte-level operation preserves the audio exactly as encoded and adds no generation loss, regardless of the bitrate or codec used.
Tools in this article
- Audio cutterTrim or remove sections of MP3, WAV, M4A, FLAC, and OGG files with tenth-second precision, fade in/out, and ringtone preset.
- Merge audio filesJoin MP3, WAV, M4A, FLAC & OGG files in any order with crossfade, silence gaps, volume normalization, and chapter timestamps.
- Audio converterConvert audio or video files to MP3, WAV, or AAC (M4A) with custom bitrate, channels, trim, and normalization.
- MP3 tag editor (ID3)Edit MP3 title, artist, album, lyrics, BPM, and cover art without re-encoding the audio.
- Extract audio from MP4Extract MP3, WAV, AAC, OGG, or M4A audio from video files locally.
- Audio volumeBoost or lower audio volume in dB with a peak limiter, or normalize loudness to -14, -16, or -24 LUFS.
- Reverse audioReverse MP3, WAV, M4A, AAC, OGG or FLAC files to play audio backwards with optional trim, riser fades, and speed control.
- Audio Cover Art Extractor · MP3 & FLAC ArtworkExtract embedded cover art from MP3 ID3v2 APIC frames and FLAC picture blocks in original binary quality locally.
Frequently asked questions
Do all these tools work offline?
Yes, after the first use. The FFmpeg WebAssembly engine downloads once and the browser caches it. After that, the cutter, converter, merger, extractor and tags editor all work without any internet connection. The vocal remover uses the same engine and also works offline after the first load.
Which audio formats are supported?
The converter, cutter and merger all accept MP3, WAV, OGG, FLAC and AAC (M4A) as input; the converter can also take a video file (MP4, WebM, MOV) and pull out just the audio. The audio extractor works from video containers (MP4, MOV, MKV, WebM, AVI). Output format choices differ per tool: the converter saves to MP3, WAV or AAC; the merger saves to MP3, WAV or OGG; the extractor saves to MP3, WAV, AAC, OGG, M4A or FLAC. By default the cutter keeps the input format, and its output format selector can also export to MP3, WAV or M4A. The tags editor works on MP3 files only, since ID3 tags are an MP3-specific standard.