Audio to Base64
Embed a short sound directly in HTML, CSS, JSON or code.
Drop your audio file here
MP3, WAV, M4A, AAC, OGG, FLAC, WebM…
—Original size
—Base64 size
● Your audio is processed locally in your browser and never uploaded.
How it works
Base64 turns the file's bytes into text so it can be embedded where only text is allowed: an HTML attribute, a JSON API payload or a single-file web page. The result is about 33% larger than the file, so it's best for short sounds (notification beeps, UI clicks). The MIME type is detected from the file so browsers know how to play it.