Audio Trimmer
Trim audio files to a start/end range entirely in the browser. Drag-and-drop or pick a file, decode with Web Audio API, set start/end timestamps (MM:SS.ms, HH:MM:SS, or seconds), apply fade in/out (5 presets), and re-encode as a 16-bit PCM WAV (pure-JS encoder — no library). Multi-format time parser, sample-range calculator, 44-byte RIFF WAV header builder, file-size estimator, trim validation, crossfade calculator, audio preview before/after, history (localStorage), shareable URL, summary stats (original duration, trimmed duration, % removed, output size). 100% client-side.
About Audio Trimmer
Trim audio files to a start/end range entirely in the browser. Drag-and-drop or pick a file, decode with Web Audio API, set start/end timestamps (MM:SS.ms, HH:MM:SS, or seconds), apply fade in/out (5 presets), and re-encode as a 16-bit PCM WAV (pure-JS encoder — no library). Multi-format time parser, sample-range calculator, 44-byte RIFF WAV header builder, file-size estimator, trim validation, crossfade calculator, audio preview before/after, history (localStorage), shareable URL, summary stats (original duration, trimmed duration, % removed, output size). 100% client-side. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
How does the audio trimmer work?
Drop or pick an audio file. We decode it with the Web Audio API into raw PCM samples, then build a new 16-bit PCM WAV file containing only the samples between your start and end timestamps. A pure-JS RIFF WAV header is written (no external library). The output downloads as a .wav file.
What time formats can I enter?
Four formats are supported: plain seconds (e.g. 12.5), MM:SS (e.g. 01:30), MM:SS.ms (e.g. 01:30.250), and HH:MM:SS (e.g. 01:02:03). The parser auto-detects which format you used.
Can I apply fade in / fade out?
Yes. Five presets are available: 0ms (off), 100ms, 500ms, 1s, and 2s. Fades apply a linear amplitude ramp on the first and last N ms of the trimmed segment to avoid clicks and pops at the cut points.
What extra features does this tool have compared to others?
(1) Multi-format time parser (4 input formats). (2) Sample range calculator (start/end × sampleRate). (3) 44-byte RIFF WAV header builder. (4) Sample-to-16-bit PCM converter. (5) File size estimator. (6) Trim validation (start < end, end ≤ duration). (7) Fade in/out generator (5 presets). (8) Crossfade calculator. (9) Timestamped filename generator. (10) History (localStorage, last 20). (11) Shareable URL settings. (12) Audio preview before & after. (13) Summary stats (original duration, trimmed duration, % removed, output size). (14) Drag-and-drop file input.
Is my data sent anywhere?
No. The audio file you load, decoded samples, and output WAV never leave your browser. There is no upload. Trim metadata in history is stored in localStorage on this device only.
Related tools
Audio Bitrate Calculator
Calculate audio bitrate, file size, duration, and quality metrics entirely in the browser. Supports PCM/WAV, FLAC, ALAC, MP3, AAC, OGG/Vorbis, and Opus. Compute bitrate from sample rate × bit depth × channels (PCM), estimate FLAC/ALAC compression (50–60% of PCM), map lossy quality presets (low/medium/high/voice/music) to typical bitrates, compute file size from bitrate × duration, calculate streaming bandwidth requirement, reverse-calculate required bitrate from target file size, and score quality 0–100. Includes 7 sample rates, 5 bit depths, 4 channel layouts, 7 formats, 5 quality presets, side-by-side format comparison, text/CSV exports, history (localStorage), shareable URL, summary stats. 100% client-side.
Audio Converter
Convert audio files between formats entirely in the browser. Decode with Web Audio API, re-encode to WAV (PCM 16-bit), WebM/OGG (via MediaRecorder), or MP3 (via MediaRecorder with WAV fallback). Multi-format output, 4 bitrate presets, 6 sample-rate presets, mono/stereo channel selection, pure-JS 44-byte RIFF WAV header builder, Float32 to 16-bit PCM converter, file-size estimator, quality score calculator (0-100), lossless-vs-lossy compatibility checker, smart filename generator, conversion history (localStorage), shareable URL, drag-and-drop, and summary stats. 100% client-side.
Audio Equalizer
Apply a 10-band graphic EQ to audio entirely in the browser. Drag-and-drop or pick a file, decode with Web Audio API, adjust the gain (-12 dB to +12 dB) on each ISO-standard band (31, 62, 125, 250, 500, 1k, 2k, 4k, 8k, 16k Hz), apply via a chain of peaking BiquadFilterNodes in an OfflineAudioContext for batch processing, and re-encode as a 16-bit PCM WAV (pure-JS encoder). 10+ preset library (flat, bass-boost, treble-boost, vocal-boost, loudness, rock, pop, jazz, classical, podcast), 3-band & 5-band simplified modes, 7 gain presets per band, default Q factor 1.41, gain validator, filter-chain config builder, file-size estimator, text + CSV report, history (localStorage), shareable URL, summary stats. 100% client-side.