Unique ID Decoder
Paste a MongoDB ObjectId, ULID, KSUID, UUID v1 or v7, or a Snowflake ID and see what kind it is and the time hidden inside it.
How to find the time inside an ID
Paste your identifiers
Paste or type it into the box, or press Try an example. UUIDs, ULIDs, KSUIDs and more.
Read the table
The type and creation time are shown for each.
Copy or download
Copy the table.
Worked example
This is what Unique ID Decoder gives for its own sample values. Open the tool above and change anything to try your own.
Identifiers (one per line)
507f1f77bcf86cd799439011 01HF7YAT00A1B2C3D4E5F6G7H8 018f3c2a-7b1e-7000-8000-000000000000 175928847299117063
| Identifier | Type | Created | More |
|---|---|---|---|
| 507f1f77bcf86cd799439011 | MongoDB ObjectId | 2012-10-17T21:13:27.000Z | Random value: bcf86cd799; Counter: 4427793 |
| 01HF7YAT00A1B2C3D4E5F6G7H8 | ULID | 2023-11-14T22:13:20.000Z | Random part: A1B2C3D4E5F6G7H8 |
| 018f3c2a-7b1e-7000-8000-000000000000 | UUID version 7 | 2024-05-03T01:56:08.094Z | |
| 175928847299117063 | Snowflake ID (Twitter / X, Discord and similar) | 2012-03-03T13:01:20.453Z | As a Twitter / X ID: 2012-03-03T13:01:20.453Z; As a Discord ID: 2016-04-30T11:18:25.796Z; Note: The epoch differs by service, so only the matching one is right. |
About Unique ID Decoder
Paste identifiers and find out what each one is and when it was made. It recognises MongoDB ObjectIds, ULIDs, KSUIDs, UUID versions 1 and 7, and Snowflake IDs such as those used by X and Discord.
FAQs
What is a Snowflake ID?
A 64-bit number with the time in its top bits. Twitter and Discord use it, with different starting dates, so both readings are shown.
Is the time always the save time?
No. It is when the ID was generated, which may be earlier than when a record was stored.
Can it read a plain UUID v4?
It recognises it, but a random UUID holds no time.