# Discord ID Lookup: ID to Date (Snowflake) | DiscordSuite

https://discordsuite.io/tools/discord-id-to-date/

# Discord ID lookup and snowflake decoder

**Short answer** Every Discord ID contains the time it was created. Paste an ID below to see when that account, message, channel or server was created, in UTC to the millisecond and in your own time zone. This is a lookup of the date inside the ID, not of the person: it does not show a name, avatar or profile. The math is (ID >> 22) + 1420070400000, which gives the Unix time in milliseconds.

## Convert IDs and dates

This tool runs in your browser and needs JavaScript.

Discord ID

Date and time

Time zone of that date

UTC

My time zone

A column of IDs, one per line

### What to do with the date

- Export the chat up to or from that date with [Chat Exporter](https://discordsuite.io/features/chat-exporter/), using the From and To dates. Chat export uses the Discord session already open in your browser.
- Remove your own older messages in a chat with [Message Cleaner](https://discordsuite.io/features/message-cleaner/). Deleted messages cannot be brought back, so export a copy first.
- Save a server's member list, with each member's ID and account creation date, with [Member Exporter](https://discordsuite.io/features/member-list-export/).

## How to use it

1. In Discord, turn on **Developer Mode** (User Settings, then Advanced), then right-click a user, message, channel or server and choose its **Copy ... ID** item, such as **Copy User ID**.
2. Paste the ID into **Discord ID** and click **Convert ID**.
3. Read the UTC time, your local time, the Unix time in milliseconds, the age and the worker, process and increment bits.
4. To go the other way, type a date and time and click **Get ID range** for the first and last ID of that moment.
5. For many IDs, paste a column (one ID per line) and click **Convert column**.

## Which ID gives which date?

| You copied | The date you get |
| --- | --- |
| A user ID | When that Discord account was created |
| A message ID | When that message was sent |
| A channel ID (a DM, thread or channel) | When the channel was created |
| A server ID | When the server was created |
| An emoji or sticker ID | When it was uploaded |

The page shows the account age, too. It reads the date only. It does not tell you whether the account, message or server still exists.

## Worked example

Discord's own documentation uses the ID 175928847299117063. Converted:

| Field | Result |
| --- | --- |
| UTC | 2016-04-30 11:18:25.796 UTC |
| Unix time (ms) | 1462015105796 |
| Worker ID | 1 |
| Process ID | 0 |
| Increment | 7 |

Date to ID: 2024-01-01 00:00 in UTC covers the whole minute, from 00:00:00.000 to 00:00:59.999. Every ID created in that minute is between 1191168914227200000 and 1191169165885439999. Type seconds or milliseconds to narrow the range to one second or one millisecond.

Column: pasting `AuthorId`, `175928847299117063`, a blank line, `1000000000000000000` and `not-an-id` gives 2016-04-30 11:18:25.796 UTC for the first ID and 2022-07-22 11:22:59.101 UTC for the second. The header and the blank line are skipped, and `not-an-id` gets the error "Not a Discord ID: an ID is digits only." Click **Try the sample** above to run it.

## How the conversion works

A Discord ID, also called a snowflake, is a number of up to 64 bits. Discord's API reference splits it into four parts: the first 42 bits are milliseconds since the Discord epoch (the first second of 2015, Unix time 1420070400000), then 5 bits of internal worker ID, 5 bits of internal process ID and a 12-bit increment.

That is why an ID looks like 1234567890123456789 and not like a date, and why a converter that treats it as plain Unix time lands near 1970 or far in the future. This page uses BigInt arithmetic, so 19-digit IDs keep every digit; a spreadsheet or a plain JavaScript number would round off the last ones.

More in the glossary: [Snowflake ID](https://discordsuite.io/glossary/snowflake-id/), [Message ID](https://discordsuite.io/glossary/message-id/), [Channel](https://discordsuite.io/glossary/channel/) and [Server (guild)](https://discordsuite.io/glossary/server/).

## Using it with a DiscordSuite export

DiscordSuite's CSV and Excel exports have a MessageId and an AuthorId column, and ReplyTo holds the ID of the message being answered. Message times are already in the Timestamp column, so you do not need this page for them. Use it for AuthorId (the date the author's account was created) and other IDs, or for IDs copied from elsewhere.

DiscordSuite exports a channel, thread or DM to HTML, PDF, Excel (XLSX), CSV, JSON and TXT. See [export formats](https://discordsuite.io/features/export-formats/) for the columns, and [How to export part of a Discord chat](https://discordsuite.io/guides/export-part-of-a-discord-chat/) to export only a date range.

## What it can't do

- It does not look up a user, server or message by ID, so it shows no name, avatar, banner or profile. That needs Discord's API and a login or bot token, and this page uses neither. Never share a token with any website or person.
- It cannot tell whether a message, user or server still exists, or show what a message said.
- It cannot recover deleted messages.
- A date gives a range of possible IDs, not a real message.
- It reads Discord IDs only. Numbers from other services use other layouts.

## Privacy

The IDs you paste stay in this tab. Nothing you paste is sent anywhere, and nothing is stored. The converter runs in your browser and keeps working if you go offline after the page has loaded.

## Use the date in a DiscordSuite export

- [Chat Exporter](https://discordsuite.io/features/chat-exporter/) saves a channel, thread or DM in any of the six formats, and you can set From and To dates. Chat export uses the Discord session already open in your browser.
- [Message Cleaner](https://discordsuite.io/features/message-cleaner/) deletes your own messages in the chat you have open, optionally between two dates. Deleted messages are gone, so export a copy first.
- [Member Exporter](https://discordsuite.io/features/member-list-export/) saves a server's member list, with each member's ID and account creation date, through the server owner's own bot.

Export a channel with every message ID using [Chat Exporter](https://discordsuite.io/features/chat-exporter/). Add DiscordSuite to [Chrome](https://chromewebstore.google.com/detail/meibejmoeciaepbhjffdkacpbhiolooe?utm_source=discordsuite.io&utm_medium=freetool&utm_content=discord-id-to-date), [Firefox](https://addons.mozilla.org/en-US/firefox/addon/discordsuite/?utm_source=discordsuite.io&utm_medium=freetool&utm_content=discord-id-to-date) or [Edge](https://microsoftedge.microsoft.com/addons/detail/abefogfhmciijmkncenbbogkfhdbogig?utm_source=discordsuite.io&utm_medium=freetool&utm_content=discord-id-to-date), then [compare plans](https://discordsuite.io/pricing/).

[See Chat Exporter](https://discordsuite.io/features/chat-exporter/)

## Frequently asked questions

**How do I find out when a Discord account, server or message was created?**

Copy its ID (Developer Mode, then right-click and choose the Copy ID item) and paste it above. The creation time is built into the ID, so no lookup is needed.

**Can I look up a Discord user, server or message by its ID?**

Not here. This page never contacts Discord, so it cannot show who an ID belongs to, what a message said or whether it still exists. It only reads the date and the internal bits inside the number.

**How do I find a Discord ID?**

Turn on Developer Mode in User Settings, then Advanced. After that, right-click a user, message, channel or server and choose its Copy ID item.

**Why does my Discord ID convert to 1970 in other converters?**

A Discord ID is not plain Unix time. Shift it right by 22 bits and add 1420070400000, the Discord epoch, to get Unix milliseconds. This page does that with BigInt, so no digits are lost.

**Can I convert many IDs at once, or get an ID for a date?**

Yes to both. Paste a column of IDs, one per line, and click Convert column; a header row and blank lines are skipped, and each invalid line gets its own error. To go the other way, type a date and time and click Get ID range for the first and last ID of that moment. In a DiscordSuite CSV, message times are already in the Timestamp column, so use the column box for AuthorId and other IDs.
