audio/aac

All MIME types
Audio · Standards tree.aac

Media type / audio

audio/aac

Raw AAC audio streams, which sound better than MP3 at the same bitrate.

Served inline: Browsers display this in the tab without granting it script access to the page. Safe to serve inline, provided the bytes really are what the header claims.

Browser behaviour

Renders inertly

Charset

no charset

Compression

Already compressed

Send it like this

Content-Type: audio/aac

A binary payload has no character encoding. A charset parameter here is meaningless and occasionally confuses strict parsers.

Handling verdict

InlineRenders inertly

Browsers display this in the tab without granting it script access to the page. Safe to serve inline, provided the bytes really are what the header claims.

Charsetno charset

A binary payload has no character encoding. A charset parameter here is meaningless and occasionally confuses strict parsers.

CompressionAlready compressed

The format compresses internally. Another transport encoding costs CPU on both ends and typically changes the size by less than a percent — sometimes upward.

NameStandards tree

Registered with IANA through a public review process, so the name is stable and every implementation can rely on it meaning the same thing.

Anatomy of the name

RFC 6838

Top-level type

audio

Audio

Subtype

aac

Registered in the standards tree.

Structured syntax

none

No suffix, so the payload format is defined entirely by the subtype itself.

Parameters

none

Beyond the charset rule above, this type defines no parameters of its own.

Response headers

Content-Type: audio/aac
X-Content-Type-Options: nosniff
Content-Disposition: inline

nosniff stops the browser second-guessing the type you declared, which is what makes the rest of this reliable. Serving it inline is safe here because the browser renders it without granting it script access.

Server configuration

extension mapping

nginx

types {
    audio/aac  aac;
}

Apache

AddType audio/aac .aac

Caddy

@type path *.aac
header @type Content-Type "audio/aac"

Extensions and other spellings

declared

File extensions

File signature

No fixed signature — this format has no reliable magic number, so identify it by parsing rather than by the first few bytes.

Related media types

7
Familyaudio
Treestandards
Suffix
Inlinepassive