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.
About 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. 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 converter work?
Drop or pick an audio file. We decode it locally with the Web Audio API (decodeAudioData), then re-encode to your selected format. WAV output uses a pure-JS 44-byte RIFF PCM 16-bit encoder. WebM and OGG use the MediaRecorder API. MP3 uses MediaRecorder where supported and gracefully falls back to WAV with a warning toast if not.
What output formats are supported?
Five formats: WAV (always available, pure-JS encoder), WebM (Chrome/Firefox/Edge), OGG (Firefox), MP3 (where MediaRecorder supports audio/mpeg), and M4A (where supported). Unsupported formats are disabled in the dropdown based on runtime detection.
Can I change the bitrate, sample rate, and channels?
Yes. 4 bitrate presets (64/128/192/320 kbps for lossy codecs), 6 sample-rate presets (8k/16k/22.05k/44.1k/48k/96k), and mono/stereo channel selection. We render the decoded buffer through an OfflineAudioContext at the target sample rate and channel count, then encode the result.
What extra features does this tool have compared to others?
(1) Multi-format output (WAV, MP3, WebM, OGG, M4A). (2) 4 bitrate presets. (3) 6 sample-rate presets. (4) Mono/stereo channel selection. (5) Pure-JS WAV header builder. (6) Float32 to 16-bit PCM converter. (7) File-size estimator. (8) Quality score calculator (0-100). (9) Lossless-vs-lossy compatibility checker. (10) Smart filename generator. (11) Conversion history (localStorage, last 20). (12) Shareable URL settings. (13) Drag-and-drop file input. (14) Summary stats (original size, output size, % change, duration).
Is my data sent anywhere?
No. Audio decoding and encoding all happen locally in your browser via the Web Audio API and MediaRecorder. Your file is never uploaded. Conversion 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 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.
Audio Fade Generator
Apply professional fade in / fade out to audio files entirely in the browser. Drag-and-drop or pick a file, decode with Web Audio API, choose a fade curve (linear, logarithmic, exponential, or S-curve), set fade in / fade out durations (6 presets from 100 ms to 5 s), and re-encode as a 16-bit PCM WAV (pure-JS encoder — no library). Fade gain array generator, per-sample fade applier, fade duration validator, sample-range calculator, ASCII curve visualizer, audio preview before/after, history (localStorage), shareable URL, and summary stats. 100% client-side.