LW IT Solutions logo LW IT Solutions logo LW IT Solutions

Audio Codec Support in the Browser: which formats this browser plays, streams and records

Toolbox feedback

Bug, idea or suggestion

Feedback is stored on this server together with the tool page and language. No confidential data, please. Telegram receives only a notification without the feedback text.

Save tool

Which audio formats a browser plays decides what arrives on a page and which format an audio sample needs. The check asks this browser directly: the audio element through canPlayType, Media Source Extensions for streaming and MediaRecorder for recordings. Nothing is loaded or sent, these are plain queries.

Playback
FormatMIME typeAudio elementMediaSource

“Probably” means, according to the HTML Standard, that the browser is confident; “maybe” is the careful answer the standard recommends as long as support can be neither confirmed nor ruled out.

Recording in the browser
FormatMIME typeMediaRecorder

MediaRecorder concerns recordings in the browser, for example a voice memo on a page. Without that interface every row reads “unknown”.

What the answers mean

According to the HTML Standard, canPlayType on the audio element answers with an empty string when the browser knows it cannot render the type, with “maybe” when it can neither confirm nor rule out support, and with “probably” when it is confident.

MediaSource.isTypeSupported only states that a SourceBuffer can be created for this type; the specification points out that a later addSourceBuffer can still fail when the resources are missing.

MediaRecorder.isTypeSupported names the containers and codecs this browser can record into. That list often differs from the list of formats it plays.

Articles on this

Which codecs the streaming services deliver and how much AAC, MP3, Ogg Vorbis and Opus raise the peaks of a master is measured in the article “True Peak After Encoding”.

How much encoder delay and padding MP3, AAC, Opus and FLAC bring along is measured in the article “Gapless Playback”.

Sources: HTML Standard, 4.8.11.3 MIME types · Media Source Extensions

The answers apply to this browser on this device, including the operating system and its hardware decoders; another device can answer differently. What is checked are the browser's own statements, not the playback itself.

Other tools

All 144 tools

Related articles