Skip to content

SND (.snd)

.snd file signature | audio/basic

SND is a legacy audio file format originally associated with Sun Microsystems and NeXT, and it is now supported by many audio tools and operating systems. It was used for storing simple digital audio, including voice recordings, sound effects, and early multimedia content, and is commonly encountered in older Unix-based systems. The format is generally safe, but because it is obsolete, some modern applications may have limited support or require conversion.

Safe

Magic Bytes

Offset 0
2E 73 6E 64

Sources: Apache Tika, Wikipedia

All Known Signatures

5 signature variants are documented for .snd files across multiple sources.

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

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);
}

How to validate .snd files in Go

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

See the full API documentation for all endpoints and parameters.

Related Formats

Frequently Asked Questions

What is a .snd file?

A .snd file is identified by the magic bytes 2E 73 6E 64 at byte offset 0. SND is a legacy audio file format originally associated with Sun Microsystems and NeXT, and it is now supported by many audio tools and operating systems. It was used for storing simple digital audio, including voice recordings, sound effects, and early multimedia content, and is commonly encountered in older Unix-based systems. The format is generally safe, but because it is obsolete, some modern applications may have limited support or require conversion.

What are the magic bytes for .snd files?

The magic bytes for SND files are 2E 73 6E 64 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.

How do I validate a .snd file?

To validate a .snd file, read the first bytes of the file and compare them against the known magic bytes (2E 73 6E 64) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.

What is the MIME type for .snd files?

The primary MIME type for .snd files is audio/basic.

Is it safe to open .snd files?

SND (.snd) 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.