Snowflake ID & UUID v1 Timestamp Decoder

Distributed ID schemes embed timestamps: Twitter/X Snowflake (41-bit ms since 2010-11-04), Discord snowflakes (42-bit ms since 2015-01-01), UUID v1 (100ns since 1582-10-15) and MongoDB ObjectId (4-byte seconds since epoch). Decoding them reveals creation time and sort order.

This converter takes your date-time and renders the corresponding snowflake ID, UUID v1 timestamp component, and ObjectId hex — or paste an ID to decode it back to a timestamp.

Timezone:
Enter a date-time above to see the conversion results.

Snowflake ID & UUID v1 Timestamp Decoder Quick Reference

FormatPattern / DescriptionExample 1Example 2
Twitter SnowflakeID generated from time20879095380018462722006515713438646272
Discord SnowflakeID generated from time15374682685440000001456074443980800000
UUID v1 TimestampTime-based UUID1f1972376eba4001f0e6a4d0c3c000
MongoDB ObjectIdGenerated from timestamp6a7dd4e8507f1f77bcf86955b900507f1f77bcf8

* Examples are rendered in UTC for the fixed sample instants above.

When to Use Snowflake ID & UUID v1 Timestamp Decoder

Event ordering forensics

Sort Discord messages or X posts by decoding snowflake timestamps when API metadata is unavailable.

Distributed ID design

Generate snowflake IDs from a chosen instant to test ordering, collision and epoch behavior before deploying.

Database key inspection

Extract creation time from MongoDB ObjectIds to profile data age without a `created_at` column.

Frequently Asked Questions

What is a Twitter/X Snowflake ID?

A 64-bit ID: 41 bits ms timestamp (epoch 2010-11-04) + 10 bits machine + 12 bits sequence. Decoding the top 41 bits gives creation time.

What is a Discord snowflake?

Same structure as Twitter snowflakes but with a 2015-01-01 epoch and 42-bit timestamp. Bigger IDs = later messages.

How is time encoded in a UUID v1?

UUID v1 stores a 60-bit count of 100ns intervals since 1582-10-15 in a shuffled byte order (time-low, time-mid, time-high).

How is time encoded in a MongoDB ObjectId?

The first 4 bytes (8 hex chars) are seconds since the Unix epoch, giving creation time at second resolution.

Related Time Format Converters

All Format Guides

Need to Convert Between All Formats?

Use the main Time Format Converter for instant conversion across 100+ formats — epoch, ISO 8601, RFC 3339, SQL datetime, military time and more in one click.

Open Time Format Converter