Skip to content

AIFC (.aifc)

.aifc file signature | audio/x-aiff

Audio Interchange File Format Compressed (AIFC) is a variant of the Audio Interchange File Format developed by Apple as part of its digital audio standards. It is used to store sampled sound data, including compressed audio, and is supported by many audio editors, media players, and multimedia authoring tools. AIFC is a legacy format from the early Macintosh era; it is generally safe to open, though untrusted files may still be malformed or damaged.

Safe

Magic Bytes

Offset 0
46 4F 52 4D 2E 2E 2E 2E 41 49 46 46

Sources: Apache Tika

All Known Signatures

6 signature variants are documented for .aifc files across multiple sources.

Hex Signature Offset Sources
46 4F 52 4D 2E 2E 2E 2E 41 49 46 46 0 Apache Tika
46 4F 52 4D 2E 2E 2E 2E 41 49 46 43 0 Apache Tika
46 4F 52 4D 2E 2E 2E 2E 38 53 56 58 0 Apache Tika
46 4F 52 4D 00 0 Apache Tika
46 4F 52 4D 0 Wikipedia
41 49 46 46 0 Wikipedia

Extension

.aifc

MIME Type

audio/x-aiff

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .aifc files in Python

Python
def is_aifc(file_path: str) -> bool:
    """Check if file is a valid AIFC by magic bytes."""
    signature = bytes([0x46, 0x4F, 0x52, 0x4D, 0x2E, 0x2E, 0x2E, 0x2E, 0x41, 0x49, 0x46, 0x46])
    with open(file_path, "rb") as f:
        return f.read(12) == signature

How to validate .aifc files in Node.js

Node.js
function isAIFC(buffer: Buffer): boolean {
  const signature = Buffer.from([0x46, 0x4F, 0x52, 0x4D, 0x2E, 0x2E, 0x2E, 0x2E, 0x41, 0x49, 0x46, 0x46]);
  return buffer.subarray(0, 12).equals(signature);
}

How to validate .aifc files in Go

Go
func IsAIFC(data []byte) bool {
    signature := []byte{0x46, 0x4F, 0x52, 0x4D, 0x2E, 0x2E, 0x2E, 0x2E, 0x41, 0x49, 0x46, 0x46}
    if len(data) < 12 {
        return false
    }
    return bytes.Equal(data[:12], signature)
}

API Endpoint

GET /api/v1/aifc
curl https://filesignature.org/api/v1/aifc

See the full API documentation for all endpoints and parameters.

Related Formats

Frequently Asked Questions

What is a .aifc file?

A .aifc file is identified by the magic bytes 46 4F 52 4D 2E 2E 2E 2E 41 49 46 46 at byte offset 0. Audio Interchange File Format Compressed (AIFC) is a variant of the Audio Interchange File Format developed by Apple as part of its digital audio standards. It is used to store sampled sound data, including compressed audio, and is supported by many audio editors, media players, and multimedia authoring tools. AIFC is a legacy format from the early Macintosh era; it is generally safe to open, though untrusted files may still be malformed or damaged.

What are the magic bytes for .aifc files?

The magic bytes for AIFC files are 46 4F 52 4D 2E 2E 2E 2E 41 49 46 46 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.

How do I validate a .aifc file?

To validate a .aifc file, read the first bytes of the file and compare them against the known magic bytes (46 4F 52 4D 2E 2E 2E 2E 41 49 46 46) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.

What is the MIME type for .aifc files?

The primary MIME type for .aifc files is audio/x-aiff.

Is it safe to open .aifc files?

AIFC (.aifc) files are generally safe to open. They are classified as low risk because they primarily contain data rather than executable code. However, always ensure files come from a trusted source.