Distributed ID (Snowflake & ULID) Decoder & Inspector
Decode Twitter Snowflake, Discord ID, and ULID 64-bit unique identifiers into exact epoch timestamps (UTC & IST), datacenter IDs, worker IDs, and sequence numbers.
How to use this tool
Enter any numeric Snowflake ID (e.g. from Twitter or Discord) or a 26-character Crockford Base32 ULID.
Choose Twitter Epoch (Nov 2010), Discord Epoch (Jan 2015), or ULID.
View the extracted timestamp in your local timezone, worker node ID, and 41-bit binary representation.
Frequently Asked Questions
What is a Twitter Snowflake ID?
Snowflake is a 64-bit integer ID generation scheme that creates time-ordered, globally unique IDs without central database coordination: 41 bits timestamp, 5 bits datacenter ID, 5 bits worker ID, 12 bits sequence number.
What is the difference between Twitter and Discord Snowflake IDs?
Twitter uses custom epoch 1288834974657 (Nov 4, 2010), whereas Discord uses custom epoch 1420070400000 (Jan 1, 2015). The bit shifts (22 bits for timestamp) are identical.
What is a ULID?
ULID (Universally Unique Lexicographically Sortable Identifier) is a 128-bit identifier represented as a 26-character Crockford Base32 string. The first 48 bits encode millisecond timestamp, followed by 80 bits of cryptographic randomness.
Why use time-ordered IDs instead of random UUID v4 in databases?
Random UUID v4 causes random B-Tree page splits and severe write amplification in databases like PostgreSQL and MySQL InnoDB. Time-ordered IDs (Snowflake, ULID, UUID v7) append sequentially at the end of the B-Tree index.
Deepen your architecture knowledge with practical, production-tested guides:
Client-Side Privacy Guarantee
This tool never transmits your payloads to any server. Open DevTools (F12) → Network tab to verify that zero HTTP requests are sent while using this page.