SLOB (.slob)
.slob file signature | application/octet-stream
SLOB (Sorted List of Object Storages) is a read-only, compressed data storage format used by the LibreOffice and Apache OpenOffice projects. It is primarily used to package dictionaries and other structured content for integration with office-suite features such as spell checking and language tools. The format is generally considered safe to open, though it is a niche, project-specific container rather than a general-purpose document format.
Magic Bytes
Offset 0
21 2D 31 53 4C 4F 42 1F
Sources: Wikipedia
Extension
.slob
MIME Type
application/octet-stream
Byte Offset
0
Risk Level
Safe
Validation Code
How to validate .slob files in Python
def is_slob(file_path: str) -> bool:
"""Check if file is a valid SLOB by magic bytes."""
signature = bytes([0x21, 0x2D, 0x31, 0x53, 0x4C, 0x4F, 0x42, 0x1F])
with open(file_path, "rb") as f:
return f.read(8) == signature
How to validate .slob files in Node.js
function isSLOB(buffer: Buffer): boolean {
const signature = Buffer.from([0x21, 0x2D, 0x31, 0x53, 0x4C, 0x4F, 0x42, 0x1F]);
return buffer.subarray(0, 8).equals(signature);
}
How to validate .slob files in Go
func IsSLOB(data []byte) bool {
signature := []byte{0x21, 0x2D, 0x31, 0x53, 0x4C, 0x4F, 0x42, 0x1F}
if len(data) < 8 {
return false
}
return bytes.Equal(data[:8], signature)
}
API Endpoint
/api/v1/slob
curl https://filesignature.org/api/v1/slob
See the full API documentation for all endpoints and parameters.
Frequently Asked Questions
What is a .slob file?
A .slob file is identified by the magic bytes 21 2D 31 53 4C 4F 42 1F at byte offset 0. SLOB (Sorted List of Object Storages) is a read-only, compressed data storage format used by the LibreOffice and Apache OpenOffice projects. It is primarily used to package dictionaries and other structured content for integration with office-suite features such as spell checking and language tools. The format is generally considered safe to open, though it is a niche, project-specific container rather than a general-purpose document format.
What are the magic bytes for .slob files?
The magic bytes for SLOB files are 21 2D 31 53 4C 4F 42 1F at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.
How do I validate a .slob file?
To validate a .slob file, read the first bytes of the file and compare them against the known magic bytes (21 2D 31 53 4C 4F 42 1F) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.
What is the MIME type for .slob files?
There is no officially registered MIME type for .slob files. Systems typically use application/octet-stream as a generic fallback when handling this format.
Is it safe to open .slob files?
SLOB (.slob) 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.