3DS

image/x-3ds

Safe

Magic Bytes

Offset: 0
4D 4D

The 3DS format is a legacy binary file standard originally developed by Autodesk for its 3D Studio modeling software. It facilitates the interchange of three-dimensional mesh geometry, lighting, textures, and camera data across diverse computer graphics and animation applications. Although largely superseded by the MAX format and modern standards like FBX, it remains widely supported for backward compatibility and is generally considered a safe, data-centric format for storing assets.

Extension

.3ds

MIME Type

image/x-3ds

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .3ds files in Python

Python
def is_3ds(file_path: str) -> bool:
    """Check if file is a valid 3DS by magic bytes."""
    signature = bytes([0x4D, 0x4D])
    with open(file_path, "rb") as f:
        return f.read(2) == signature

How to validate .3ds files in Node.js

Node.js
function is3DS(buffer: Buffer): boolean {
  const signature = Buffer.from([0x4D, 0x4D]);
  return buffer.subarray(0, 2).equals(signature);
}
Go
func Is3DS(data []byte) bool {
    signature := []byte{0x4D, 0x4D}
    if len(data) < 2 {
        return false
    }
    return bytes.Equal(data[:2], signature)
}

API Endpoint

GET /api/v1/3ds
curl https://filesignature.org/api/v1/3ds

Related Formats