FH9

image/x-freehand

Safe

Magic Bytes

Offset: 0
41 47 44 32

Macromedia FreeHand 9 (FH9) is a proprietary vector graphics format developed by Macromedia, a company later acquired by Adobe Systems. This format was primarily utilized by graphic designers for creating scalable vector illustrations, multi-page layouts, and commercial print materials. Although FreeHand was officially discontinued in 2007, FH9 files remain accessible through legacy software and specific versions of Adobe Illustrator that support migration from this obsolete standard.

Extension

.fh9

MIME Type

image/x-freehand

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .fh9 files in Python

Python
def is_fh9(file_path: str) -> bool:
    """Check if file is a valid FH9 by magic bytes."""
    signature = bytes([0x41, 0x47, 0x44, 0x32])
    with open(file_path, "rb") as f:
        return f.read(4) == signature

How to validate .fh9 files in Node.js

Node.js
function isFH9(buffer: Buffer): boolean {
  const signature = Buffer.from([0x41, 0x47, 0x44, 0x32]);
  return buffer.subarray(0, 4).equals(signature);
}
Go
func IsFH9(data []byte) bool {
    signature := []byte{0x41, 0x47, 0x44, 0x32}
    if len(data) < 4 {
        return false
    }
    return bytes.Equal(data[:4], signature)
}

API Endpoint

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

Related Formats