Skip to content

HighEdit document (.hed)

.hed file signature | application/octet-stream

HighEdit document

Safe

Magic Bytes

Offset 0
01 C0 0C

Sources: Gary Kessler

All Known Signatures

4 signature variants are documented for .hed files across multiple sources.

Hex Signature Offset Sources
01 C0 0C 0 Gary Kessler
A1 B2 C3 D4 0 Gary Kessler
A1 B2 CD 34 0 Gary Kessler
A3 DE B0 0 Gary Kessler

Extension

.hed

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .hed files in Python

Python
def is_hed(file_path: str) -> bool:
    """Check if file is a valid HED by magic bytes."""
    signature = bytes([0x01, 0xC0, 0x0C])
    with open(file_path, "rb") as f:
        return f.read(3) == signature

How to validate .hed files in Node.js

Node.js
function isHED(buffer: Buffer): boolean {
  const signature = Buffer.from([0x01, 0xC0, 0x0C]);
  return buffer.subarray(0, 3).equals(signature);
}

How to validate .hed files in Go

Go
func IsHED(data []byte) bool {
    signature := []byte{0x01, 0xC0, 0x0C}
    if len(data) < 3 {
        return false
    }
    return bytes.Equal(data[:3], signature)
}

API Endpoint

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

See the full API documentation for all endpoints and parameters.

Frequently Asked Questions

What is a .hed file?

A .hed file is a HighEdit document file. HighEdit document

What are the magic bytes for .hed files?

The magic bytes for HighEdit document files are 01 C0 0C at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.

How do I validate a .hed file?

To validate a .hed file, read the first bytes of the file and compare them against the known magic bytes (01 C0 0C) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.

What is the MIME type for .hed files?

There is no officially registered MIME type for .hed files. Systems typically use application/octet-stream as a generic fallback when handling this format.

Is it safe to open .hed files?

HighEdit document (.hed) 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.