Skip to content

SND (.snd)

.snd file signature | audio/basic

Audio Interchange File Format

Safe

Magic Bytes

Offset 0
2E 73 6E 64

Sources: Apache Tika, Wikipedia

All Known Signatures

4 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 38 53 56 58 0 Wikipedia
46 4F 52 4D 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.

Frequently Asked Questions

What is a .snd file?

A .snd file is a SND file. Audio Interchange File Format

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.