Skip to content

Sibelius Music - Score file (.sib)

.sib file signature | application/x-sibelius

Sibelius Music - Score file

Safe

Magic Bytes

Offset 0
0F 53 49 42 45 4C 49 55 53

Sources: Apache Tika, Wikipedia, Gary Kessler

Extension

.sib

MIME Type

application/x-sibelius

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .sib files in Python

Python
def is_sib(file_path: str) -> bool:
    """Check if file is a valid SIB by magic bytes."""
    signature = bytes([0x0F, 0x53, 0x49, 0x42, 0x45, 0x4C, 0x49, 0x55, 0x53])
    with open(file_path, "rb") as f:
        return f.read(9) == signature

How to validate .sib files in Node.js

Node.js
function isSIB(buffer: Buffer): boolean {
  const signature = Buffer.from([0x0F, 0x53, 0x49, 0x42, 0x45, 0x4C, 0x49, 0x55, 0x53]);
  return buffer.subarray(0, 9).equals(signature);
}

How to validate .sib files in Go

Go
func IsSIB(data []byte) bool {
    signature := []byte{0x0F, 0x53, 0x49, 0x42, 0x45, 0x4C, 0x49, 0x55, 0x53}
    if len(data) < 9 {
        return false
    }
    return bytes.Equal(data[:9], signature)
}

API Endpoint

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

See the full API documentation for all endpoints and parameters.

Frequently Asked Questions

What is a .sib file?

A .sib file is a Sibelius Music - Score file file. Sibelius Music - Score file

What are the magic bytes for .sib files?

The magic bytes for Sibelius Music - Score file files are 0F 53 49 42 45 4C 49 55 53 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.

How do I validate a .sib file?

To validate a .sib file, read the first bytes of the file and compare them against the known magic bytes (0F 53 49 42 45 4C 49 55 53) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.

What is the MIME type for .sib files?

The primary MIME type for .sib files is application/x-sibelius.

Is it safe to open .sib files?

Sibelius Music - Score file (.sib) 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.