Security & Crypto Tools
Snowflake ID Generator / Decoder
Generate and decode Twitter/Discord-style Snowflake IDs.
Loading tool…
What is Snowflake?
A Snowflake ID tool for the 64-bit time-ordered IDs used by Twitter and Discord, with configurable epoch.
How it works
Decoding shifts the 64-bit value to extract timestamp, worker, and sequence fields; generation assembles them from your inputs using BigInt.
- Enter your input. Type or paste your input into the field above — the tool responds instantly.
- Review the result. Output updates live as you type. Everything runs entirely in your browser.
- Copy or download. Use the Copy button to grab the result, or Download to save it as a file.
Examples
Distributed ID generation
Generate a Twitter-style snowflake ID and decode its timestamp, worker, and sequence components.
Common mistakes
Mixing up the epoch
Snowflake timestamps count from a custom epoch (2010 for Twitter's), not the Unix epoch — the decoder applies the right one.
Frequently asked questions
Why are snowflake IDs useful?
They're roughly time-sortable, unique across machines (via worker ID), and fit in a 64-bit integer.
Can I decode an existing ID?
Yes — paste any snowflake-format ID to extract its timestamp, worker, and sequence parts.