Date & time · Discord
Discord snowflake to date.
Paste a user, server, channel or message ID to see exactly when it was created, plus the worker, process and increment bits inside it. Or go the other way from a date. Nothing leaves your browser.
Input
Result
Enter a snowflake ID and press Convert.
What is inside a Discord snowflake
Discord IDs are 64-bit numbers that pack in the moment they were created. Reading from the left: 42 bits of milliseconds since the Discord Epoch (the first second of 2015, or 1420070400000 in Unix milliseconds), 5 bits of internal worker ID, 5 bits of internal process ID and a 12-bit increment that counts IDs generated on that process.
The formulas from Discord's documentation, all done here with exact BigInt arithmetic because these IDs are too large for ordinary JavaScript numbers: timestamp = (id >> 22) + 1420070400000; worker = (id & 0x3E0000) >> 17; process = (id & 0x1F000) >> 12; increment = id & 0xFFF.
The reverse direction returns the minimum snowflake for an instant: the date shifted left 22 bits, with worker, process and increment at zero. That is the value to use with the before and after parameters when paging through Discord API results by time.
Source: Discord Developer Documentation, Reference, Snowflakes.
Frequently asked questions
How do I find when a Discord account or server was created?
Enable Developer Mode in Discord's advanced settings, right-click the user, server or channel, choose Copy ID and paste it here. The date shown is when Discord generated that ID, which for an account is its creation time.
Does this work for message, channel and role IDs too?
Yes. Every Discord object ID is a snowflake, so the same decoding applies to users, guilds, channels, messages, roles and more.
Why do the worker and process IDs matter?
They identify which internal Discord worker and process generated the ID. They are mostly useful for curiosity or debugging; the increment separates IDs created in the same millisecond on one process.
Why is a date only turned into an approximate ID?
An ID also carries worker, process and increment bits that a date cannot know, so the tool gives the lowest possible ID for that millisecond. Any real ID created at that instant is equal to or greater than it.
Creation time, not activity
The date is decoded from the ID itself. It shows when the ID was issued, not when an account was last active or when a person joined a server.