Skip to content

Visual Studio Solution User Options subheader (.suo)

.suo file signature | application/octet-stream

Visual Studio Solution User Options subheader (MS Office)

Safe

Magic Bytes

Offset 0
51 20 BE FF EF FF FF FF 04

Sources: Gary Kessler

Extension

.suo

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .suo files in Python

Python
def is_suo(file_path: str) -> bool:
    """Check if file is a valid SUO by magic bytes."""
    signature = bytes([0x51, 0x20, 0xBE, 0xFF, 0xEF, 0xFF, 0xFF, 0xFF, 0x04])
    with open(file_path, "rb") as f:
        return f.read(9) == signature

How to validate .suo files in Node.js

Node.js
function isSUO(buffer: Buffer): boolean {
  const signature = Buffer.from([0x51, 0x20, 0xBE, 0xFF, 0xEF, 0xFF, 0xFF, 0xFF, 0x04]);
  return buffer.subarray(0, 9).equals(signature);
}

How to validate .suo files in Go

Go
func IsSUO(data []byte) bool {
    signature := []byte{0x51, 0x20, 0xBE, 0xFF, 0xEF, 0xFF, 0xFF, 0xFF, 0x04}
    if len(data) < 9 {
        return false
    }
    return bytes.Equal(data[:9], signature)
}

API Endpoint

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

See the full API documentation for all endpoints and parameters.

Frequently Asked Questions

What is a .suo file?

A .suo file is a Visual Studio Solution User Options subheader file. Visual Studio Solution User Options subheader (MS Office)

What are the magic bytes for .suo files?

The magic bytes for Visual Studio Solution User Options subheader files are 51 20 BE FF EF FF FF FF 04 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.

How do I validate a .suo file?

To validate a .suo file, read the first bytes of the file and compare them against the known magic bytes (51 20 BE FF EF FF FF FF 04) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.

What is the MIME type for .suo files?

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

Is it safe to open .suo files?

Visual Studio Solution User Options subheader (.suo) 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.