Skip to content

Sibelius Music - Score file magic bytes (.sib)

.sib file signature: 0F 53 49 42 45 4C 49 55 53 | application/x-sibelius

Category: Audio

Sibelius Music score files are proprietary notation documents used by the Sibelius application, originally developed by Sibelius Software and later maintained by Avid. They store sheet music, instrument parts, lyrics, layout, and playback data for composing, editing, printing, and sharing musical scores. The format is generally safe, though files from untrusted sources should still be opened with current software because they may contain embedded data or exploit application bugs.

Safe

Magic Bytes

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

Sources: Apache Tika, Wikipedia, Gary Kessler

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. Sibelius Music score files are proprietary notation documents used by the Sibelius application, originally developed by Sibelius Software and later maintained by Avid. They store sheet music, instrument parts, lyrics, layout, and playback data for composing, editing, printing, and sharing musical scores. The format is generally safe, though files from untrusted sources should still be opened with current software because they may contain embedded data or exploit application bugs.

What are the magic bytes for .sib files?

The magic bytes for Sibelius Music - Score file (.sib) files are 0F 53 49 42 45 4C 49 55 53 at byte offset 0. These bytes identify the file format more reliably than the extension alone.

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.