Skip to content
Veltoryx Technologies

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.

Runs in your browser. Nothing is uploaded.
Format:
Samples:
Generated Time (UTC)Jan 26, 2023, 4:05:09 PM UTC2023-01-26T16:05:09.260Z
Generated Time (IST)26 Jan 2023, 9:35:09 pm ISTAsia/Kolkata timezone
Epoch Timestamp1674749109260 msUnix epoch milliseconds
Datacenter ID295 bits (0–31)
Worker / Machine ID35 bits (0–31)
Sequence Number012 bits (0–4095/ms)
Binary Bit Allocation Structure:
00101100111011010010001100110000001001011· 11101· 00011· 000000000000
Timestamp Datacenter Machine Sequence

How to use this tool

1
Paste Snowflake or ULID

Enter any numeric Snowflake ID (e.g. from Twitter or Discord) or a 26-character Crockford Base32 ULID.

2
Select format epoch

Choose Twitter Epoch (Nov 2010), Discord Epoch (Jan 2015), or ULID.

3
Inspect binary bit breakdown

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.

📖 Related Lessons on Veltoryx Learn

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.

🛡 Safe for confidential enterprise payloads