SND

audio/basic

Safe

Magic Bytes

Offset: 0
2E 73 6E 64

The SND file format, also known as the Au file format, is an audio container introduced by Sun Microsystems for use on their NeXT and Sun workstations. It was primarily used for storing simple monaural audio data, often encoded with pulse-code modulation or ยต-law algorithms, within early Unix systems. Although largely obsolete today in favor of more efficient compressed formats, this legacy container remains natively supported by many media players and is considered low risk.

Extension

.snd

MIME Type

audio/basic

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .snd files in Python

Python
def is_snd(file_path: str) -> bool:
    """Check if file is a valid SND by magic bytes."""
    signature = bytes([0x2E, 0x73, 0x6E, 0x64])
    with open(file_path, "rb") as f:
        return f.read(4) == signature

How to validate .snd files in Node.js

Node.js
function isSND(buffer: Buffer): boolean {
  const signature = Buffer.from([0x2E, 0x73, 0x6E, 0x64]);
  return buffer.subarray(0, 4).equals(signature);
}
Go
func IsSND(data []byte) bool {
    signature := []byte{0x2E, 0x73, 0x6E, 0x64}
    if len(data) < 4 {
        return false
    }
    return bytes.Equal(data[:4], signature)
}

API Endpoint

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

Related Formats