Developer Tool
ObjectId Inspector
Decode MongoDB BSON ObjectIds into their constituent parts.
Standard MongoDB BSON ObjectId format required (24 hex characters)
Anatomy of an ObjectId
A MongoDB ObjectId is a 12-byte (24-character hex) identifier composed of 4 parts:
Timestamp (4 bytes)
Unix epoch seconds when the ObjectId was created. Provides temporal ordering.
Machine Hash (3 bytes)
MD5 hash of the machine hostname. Identifies the originating host.
Process ID (2 bytes)
PID of the process that generated the ObjectId. Prevents collisions on the same host.
Counter (3 bytes)
Auto-incrementing counter for uniqueness within the same second on the same process.