Skip to content

Dwg (.ac10)

.ac10 file signature | image/vnd.dwg

Dwg is a proprietary image and drawing file format associated with Autodesk and its AutoCAD ecosystem, used to store two-dimensional and three-dimensional design data. It is used in computer-aided design workflows for architectural plans, engineering schematics, construction documentation, and technical illustrations, and is commonly opened by CAD applications and viewers. The format is generally safe to inspect, though files from untrusted sources can contain malformed data or embedded objects that may affect unsupported software.

Safe

Magic Bytes

Offset 0
41 43 31 30

Sources: Neil Harvey FileSignatures

Extension

.ac10

MIME Type

image/vnd.dwg

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .ac10 files in Python

Python
def is_ac10(file_path: str) -> bool:
    """Check if file is a valid AC10 by magic bytes."""
    signature = bytes([0x41, 0x43, 0x31, 0x30])
    with open(file_path, "rb") as f:
        return f.read(4) == signature

How to validate .ac10 files in Node.js

Node.js
function isAC10(buffer: Buffer): boolean {
  const signature = Buffer.from([0x41, 0x43, 0x31, 0x30]);
  return buffer.subarray(0, 4).equals(signature);
}

How to validate .ac10 files in Go

Go
func IsAC10(data []byte) bool {
    signature := []byte{0x41, 0x43, 0x31, 0x30}
    if len(data) < 4 {
        return false
    }
    return bytes.Equal(data[:4], signature)
}

API Endpoint

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

See the full API documentation for all endpoints and parameters.

Related Formats

Frequently Asked Questions

What is a .ac10 file?

A .ac10 file is a Dwg file. Dwg is a proprietary image and drawing file format associated with Autodesk and its AutoCAD ecosystem, used to store two-dimensional and three-dimensional design data. It is used in computer-aided design workflows for architectural plans, engineering schematics, construction documentation, and technical illustrations, and is commonly opened by CAD applications and viewers. The format is generally safe to inspect, though files from untrusted sources can contain malformed data or embedded objects that may affect unsupported software.

What are the magic bytes for .ac10 files?

The magic bytes for Dwg files are 41 43 31 30 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.

How do I validate a .ac10 file?

To validate a .ac10 file, read the first bytes of the file and compare them against the known magic bytes (41 43 31 30) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.

What is the MIME type for .ac10 files?

The primary MIME type for .ac10 files is image/vnd.dwg.

Is it safe to open .ac10 files?

Dwg (.ac10) 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.