Discord Snowflake Id Decoder
Discord Snowflake ID Decoder is a free online tool that decodes Discord Snowflake IDs into creation time, timestamp, Snowflake components, and 64-bit binary data.
What Is a Discord Snowflake ID?
A Discord Snowflake ID is a unique numeric identifier used by Discord for objects such as users, messages, channels, and servers. Unlike a simple random ID, a Discord Snowflake contains several pieces of information within its 64-bit structure.
What Does This Discord Snowflake Decoder Show?
After entering a valid Snowflake ID, the tool provides several details:
Creation Timestamp: Shows when the Discord Snowflake was generated as a readable date and time, along with the ISO 8601 timestamp.
Snowflake ID: Displays the original numeric Discord ID entered into the decoder.
Discord Epoch: Shows the epoch value used as the starting point for Discord Snowflake timestamps.
Timestamp: Displays the extracted timestamp in milliseconds.
Unix Seconds: Converts the extracted timestamp into Unix time measured in seconds.
Worker ID: Shows the worker identifier stored within the Snowflake.
Process ID: Shows the process identifier contained in the Snowflake.
Increment: Displays the increment value used as part of the Snowflake structure.
64-bit Binary Representation: Converts the complete Snowflake ID into its 64-bit binary representation, making its underlying bit structure easier to inspect.
How to Decode a Discord Snowflake ID
Copy the Discord ID you want to examine. Discord Developer Mode can be used to copy IDs for supported users, messages, channels, and servers.
Paste the numeric Discord Snowflake into the Discord Snowflake ID field. The tool accepts a valid Snowflake ID containing 17–20 digits.
Click Decode to process the ID. The decoder reads the Snowflake structure and extracts the available timestamp and component values.
The results show the creation timestamp, Discord epoch, Unix seconds, Snowflake components, and 64-bit binary representation.
How Does a Discord Snowflake ID Work?
A Discord Snowflake is structured as a 64-bit value. Its components contain information that Discord can use to generate unique IDs while also encoding a timestamp.
The timestamp occupies the upper portion of the Snowflake and is calculated relative to Discord's custom epoch. The remaining sections contain the worker ID, process ID, and increment.
The general structure is:
42 bits: Timestamp
5 bits: Worker ID
5 bits: Process ID
12 bits: Increment
The timestamp can be extracted from the Snowflake and combined with Discord's epoch to determine the corresponding creation time.
For Example:
Input: 175737466469296128
Output:
Creation timestamp: 4/30/2016, 3:37:57 AM
ISO timestamp: 2016-04-29T22:37:57.050Z
Discord epoch: 1420070400000
Timestamp: 1461969477050
Unix seconds: 1461969477
Worker ID: 16
Process ID: 18
Increment: 2048
What Is the Discord Snowflake Epoch?
The Discord Snowflake epoch is the starting point used for calculating timestamps inside Discord Snowflake IDs. It is: January 1, 2015, 00:00:00 UTC
Its Unix timestamp in milliseconds is: 1420070400000
Discord uses this custom epoch rather than the standard Unix epoch of January 1, 1970. This allows the timestamp portion of a Snowflake to represent the time an ID was generated.
What Are Worker ID, Process ID, and Increment?
A Discord Snowflake contains more than its timestamp.
Worker ID identifies the worker portion of the Snowflake structure.
Process ID identifies the process portion.
Increment is a sequential value used to distinguish IDs generated within the same millisecond by the same process.
These values are primarily useful when inspecting or understanding the internal structure of Discord Snowflakes.
What Is the 64-bit Binary Representation?
The 64-bit binary representation shows the Discord Snowflake as a sequence of zeros and ones.