MongoDB ObjectId Timestamp Decoder

Decode the timestamp in a 24 character MongoDB ObjectId.

Loading tool…

How the format works

The first four bytes hold unsigned Unix seconds. The rest of the identifier stores a process value and counter. The decoded time reflects ObjectId creation.

How to use this tool

  1. Paste the complete identifier.
  2. Read the result below. The date is shown in UTC.

Example

ObjectId 507f1f77bcf86cd799439011 encodes 17 October 2012 at 21:13:27 UTC.

Common questions

Which time zone is used in the result?

The result shows UTC and Unix seconds.