Discord Snowflake ID Decoder

Paste a Discord user, server, channel or message ID, or a whole message link, and the decoder shows when it was created, to the millisecond, and how long ago that was. For a user ID, that's the account's age. The math is (ID >> 22) + 1420070400000, which gives Unix milliseconds.

Created at

Paste a message, user, channel, or server ID, or a message link, above.

Worker ID
—
Process ID
—
Increment
—

All 9 Discord codes

Renders as Code
—
—
—
—
—
—
—
—
—

How old is this Discord account?

Discord gives an account its user ID when the account is made, so decoding the ID gives the creation date. The R row in the table above turns it into "N years ago" (or months, or days), which is the number most people mean by account age.

Mods check this during raids and giveaways: an account that's three hours old and already posting invite links tells you most of what you need. A server ID works the same way and dates the server.

One thing it isn't: Discord's age checks are about how old the person is. An ID knows nothing about that.

How to find a Discord ID

Turn on Developer Mode first.

Desktop: click the cog in the bottom-left corner to open User Settings, go to Advanced and switch on Developer Mode. Then:

  • right-click a user → Copy User ID
  • right-click a server icon → Copy Server ID
  • right-click a channel → Copy Channel ID
  • right-click a message → Copy Message Link (paste the whole link; see below)

Mobile: tap your avatar in the bottom-right corner, tap the cog in the top-right, scroll to Advanced under App Settings and switch on Developer Mode. Then:

  • tap a user, tap the three dots (top right) → Copy User ID
  • tap the server name, scroll down → Copy Server ID
  • long-press a channel → Copy Channel ID
  • long-press a message → Copy Message Link

These match Discord's help article "Where can I find my User/Server/Message ID?" as of its 23 November 2026 update. Older guides that send you to "Behavior" or tell you to click plain "Copy ID" are out of date.

The formula, checked against Discord's own example

Shift the ID right by 22 bits, which leaves the top 42 bits, then add Discord's epoch: 1420070400000, which is 1 January 2015 at 00:00 UTC in milliseconds. You get a Unix time in milliseconds.

Discord's API reference uses 175928847299117063 as its example. This decoder reads it as 30 April 2016, 11:18:25.796 UTC, internal worker 1, process 0, increment 7, the same as the reference. Divide by 1,000 and round down for the seconds that Discord's codes use: <t:1462015105:F>. For the other direction, picking a date and getting a code, use the Discord timestamp generator.

// JavaScript: IDs don't fit in a Number, so use BigInt
const ms = Number((BigInt(id) >> 22n) + 1420070400000n);

# Python
ms = (int(id) >> 22) + 1420070400000

That size problem is also why Discord's API always sends IDs as strings: they're up to 64 bits, more than some languages can hold in a plain number.

Count the digits, get the era

The timestamp sits in the top bits, so IDs grow longer as time passes. Counting digits dates an ID before you even decode it:

DigitsID was created
1728 January 2015 to 3 October 2015
183 October 2015 to 22 July 2022
1922 July 2022 to 20 July 2090
2020 July 2090 or later (nothing yet)

We worked these out from the formula, not from a sample: the first 18-digit ID decodes to 3 October 2015 at 22:44:17.910 UTC and the first 19-digit one to 22 July 2022 at 11:22:59.101 UTC. So anything made since that July day, including every new account, has 19 digits. If a guide tells you Discord IDs are "18 digits", its information predates mid-2022. And the "17 to 20 digits" line on some lookup sites is off at the top end: no real ID reaches 20 digits until 2090.

The same math sets hard limits. ID 0 is exactly 1 January 2015, so no Discord ID is older than that. The largest 64-bit ID, 18446744073709551615, decodes to 15 May 2154, when the 42 timestamp bits run out.

What an ID can't tell you

Username, avatar, badges: none of that is inside the number. Sites that show them have to ask Discord for the profile. This page doesn't ask anyone. The decoding runs in your browser and the ID you paste isn't sent anywhere.

An ID also won't tell you when someone joined your server. Their user ID dates the account, which may be years older than their membership.

A small oddity from Discord's permissions docs: a server's @everyone role has the same ID as the server. Decode either one and you get the date the server was created.

Find when a message was sent from its link

Right-click (or long-press on mobile) any message, choose Copy Message Link and paste the whole link above. A link looks like https://discord.com/channels/<server>/<channel>/<message>. The decoder reads the last number, which is the message's own ID, and gives the exact time it was posted. That's useful when Discord only shows "Yesterday", or when a report needs the real time. Links from ptb., canary. and the old discordapp.com work too.

Snowflake vs Unix timestamp

A snowflake isn't a Unix timestamp. It counts milliseconds from 2015, not 1970, and only its top 42 bits are time. Paste one into a plain Unix field and you get an error (our Unix timestamp converter rejects a number that big) or a date absurdly far in the future. If what you have is already a Unix timestamp, from an API or a log, use the converter directly.

The other three fields

Under the timestamp, every snowflake also carries an internal worker ID (5 bits), an internal process ID (5 bits) and an increment (12 bits) that goes up with each ID that process generates. The decoder shows them because they're part of the number. You'll almost never need them.

Turn the date into a Discord code

The table under the decoder already builds all nine Discord timestamp formats from the creation time. Paste "account created <t:…:R>" into a mod log and every reader sees it in their own time zone.

Frequently asked questions

What is a Discord snowflake?

It's the ID format Discord uses for users, messages, channels, servers, roles and most other objects. Each one is a 64-bit number, and its top 42 bits record when it was created.

How exact is the account age?

To the millisecond, in UTC: it's the moment Discord created the ID. The decoder then shows it in your own time zone.

Is account age the same as when someone joined my server?

No. A user ID dates the account. The day someone joined a particular server isn't stored in their ID.

Can I see a username or avatar from an ID here?

No. Those live on Discord's servers and need a request to Discord. This page only decodes the number, in your browser.

Why does my ID have 19 digits when guides say 18?

Every ID created since 22 July 2022 has 19 digits, because the timestamp inside it pushed the number past 10^18. Guides that say 18 were written, or copied, before then.

Can I make a snowflake from a date?

Not a real one. Discord creates IDs on its own servers, and the worker, process and increment bits aren't something you can invent. The decoder only reads IDs that already exist.