SLOB

application/octet-stream

Safe

Magic Bytes

Offset: 0
21 2D 31 53 4C 4F 42 1F

Sorted List of Blobs (SLOB) is an open-source, read-only data container format developed and maintained by the Aard 2 project. This format is primarily utilized for storing large, indexed datasets such as offline dictionaries, encyclopedias, and wikis for mobile or desktop reference applications. Because SLOB files are designed as static, compressed archives of text and media, they are generally considered safe and lack the executable functionality often associated with programmable script-based containers.

Extension

.slob

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .slob files in Python

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

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);
}
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

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

Related Formats