RBXL
application/octet-stream
Magic Bytes
Offset: 0
3C 72 6F 62 6C 6F 78 21
RBXL is a proprietary file format developed and maintained by Roblox Corporation for storing three-dimensional game environments and associated project data. Developers utilize this format primarily within the Roblox Studio integrated development environment to build, manage, and distribute interactive game places. Although the files are non-executable on their own, they contain embedded Lua scripts that run within a sandboxed engine; therefore, caution is recommended when opening files from untrusted third-party sources.
Validation Code
How to validate .rbxl files in Python
Python
def is_rbxl(file_path: str) -> bool:
"""Check if file is a valid RBXL by magic bytes."""
signature = bytes([0x3C, 0x72, 0x6F, 0x62, 0x6C, 0x6F, 0x78, 0x21])
with open(file_path, "rb") as f:
return f.read(8) == signature
How to validate .rbxl files in Node.js
Node.js
function isRBXL(buffer: Buffer): boolean {
const signature = Buffer.from([0x3C, 0x72, 0x6F, 0x62, 0x6C, 0x6F, 0x78, 0x21]);
return buffer.subarray(0, 8).equals(signature);
}
Go
func IsRBXL(data []byte) bool {
signature := []byte{0x3C, 0x72, 0x6F, 0x62, 0x6C, 0x6F, 0x78, 0x21}
if len(data) < 8 {
return false
}
return bytes.Equal(data[:8], signature)
}
API Endpoint
GET
/api/v1/rbxl
curl https://filesignature.org/api/v1/rbxl