Recording Voice Memos That Never Touch a Server
August 28, 2026 · DevTools
Voice memo apps and browser-based recorders both end up at the same Web API: MediaRecorder, which takes a getUserMedia audio stream and encodes it into a downloadable file without any server involvement at all. The Voice & Audio Recorder is a thin, honest wrapper around exactly that — record, stop, download — with nothing hidden in between.
Where the audio actually lives mid-recording
MediaRecorder fires ondataavailable events as it encodes, and each chunk gets pushed into an in-memory array — never written to disk, never sent anywhere, and cleared the moment you start a new recording. When you stop, the chunks are assembled into a single Blob typed audio/webm, and a click on "Download" creates a temporary object URL just long enough to trigger the browser's save dialog before it's revoked.
Why WebM and not MP3
MediaRecorder's supported output formats depend on what the browser ships built in — WebM (Opus codec) is the format every major browser supports natively without a bundled encoder library, which is why it's the default here. If you need MP3 or WAV afterward, that's a job for a dedicated audio converter rather than something worth adding client-side encoding weight for a quick voice memo tool.
What happens if you close the tab mid-recording
Since nothing is persisted until you explicitly download it, closing the tab or navigating away discards whatever was recorded — there's no draft auto-save, by design, since the entire privacy pitch rests on nothing sticking around that you didn't choose to keep. Check your mic levels first with the Sound & Decibel Meter if you're not sure the input is working, or reach for the Metronome & Instrument Tuner if what you're actually recording is a music practice session.