HTTPREF
← Back to MIME types

MIME Type

audio/flac

Audio

MIME type for FLAC lossless audio files.

MIME type reference, HTTP example, browser usage, common mistakes, and related content.

What is the audio/flac MIME type?

The MIME type audio/flac is used to tell browsers, APIs, and servers how a file or response body should be interpreted.

MIME stands for Multipurpose Internet Mail Extensions, and MIME types are now a standard part of HTTP responses and web content delivery.

When a browser or client receives a response with audio/flac, it uses that information to decide how the content should be processed, rendered, downloaded, or executed.

Example

Content-Type: audio/flac

HTTP example

HTTP/1.1 200 OK
Content-Type: audio/flac
Content-Length: 1256

Common file extensions

.flac

Common use cases

  • High-quality audio downloads
  • Lossless music delivery
  • Audio archiving and editing workflows

Common mistakes

  • Using the wrong MIME type for the file being served
  • Returning text/plain instead of audio/flac
  • Forgetting required parameters like charset when relevant
  • Using a deprecated MIME type in older server configurations
  • Serving assets with a mismatched Content-Type header, causing browser parsing issues

How browsers use it

Browsers use the Content-Type response header to decide how a response should be handled. For example, HTML is rendered as a page, CSS is parsed as styles, JavaScript is executed as script, and images are displayed visually. If the MIME type is incorrect, the browser may refuse to load the file correctly or may treat it as plain text or a download instead.

Browser support

Supported in most modern browsers, but check compatibility if targeting older environments or Safari versions.

Practical developer insight

FLAC provides lossless compression, meaning no audio quality is lost. File sizes are significantly larger than MP3 or AAC. Best suited for download workflows rather than streaming.

Related MIME types