Real Snowflake IDs from Twitter, Discord, and Instagram with detailed breakdowns
Snowflake IDs are 64-bit integers used by Twitter, Discord, Instagram, and other platforms to generate unique, time-ordered identifiers. Each example above demonstrates how these IDs encode creation timestamps and other metadata.
| Component | Bits | Range | Purpose |
|---|---|---|---|
| Timestamp | 41 bits | ~69 years | Milliseconds since custom epoch |
| Worker/Datacenter | 10 bits | 0-1023 | Identifies generating machine |
| Sequence | 12 bits | 0-4095 | IDs per millisecond per worker |
| Platform | Epoch Date | Epoch (ms) | Example ID |
|---|---|---|---|
| November 4, 2010 | 1288834974657 | 1382350606417817604 | |
| Discord | January 1, 2015 | 1420070400000 | 175928847299117063 |
| November 4, 2010 | 1288834974657 | 2792188468659568875 |
// Universal Snowflake Decoder
function decodeSnowflake(id, epoch) {
const snowflake = BigInt(id);
const timestamp = Number((snowflake >> 22n) + BigInt(epoch));
const workerId = Number((snowflake >> 17n) & 0x1Fn);
const datacenterId = Number((snowflake >> 12n) & 0x1Fn);
const sequence = Number(snowflake & 0xFFFn);
return {
id: id,
timestamp: timestamp,
date: new Date(timestamp),
workerId: workerId,
datacenterId: datacenterId,
sequence: sequence
};
}
// Examples
const TWITTER_EPOCH = 1288834974657;
const DISCORD_EPOCH = 1420070400000;
// Decode Twitter ID
const twitter = decodeSnowflake('1382350606417817604', TWITTER_EPOCH);
console.log('Twitter:', twitter.date.toUTCString());
// Output: Wed, 14 Apr 2021 15:30:06 GMT
// Decode Discord ID
const discord = decodeSnowflake('175928847299117063', DISCORD_EPOCH);
console.log('Discord:', discord.date.toUTCString());
// Output: Sat, 30 Apr 2016 11:18:25 GMT
# Python Snowflake Decoder
from datetime import datetime
def decode_snowflake(snowflake_id, epoch):
snowflake = int(snowflake_id)
timestamp = ((snowflake >> 22) + epoch) / 1000
worker_id = (snowflake >> 17) & 0x1F
datacenter_id = (snowflake >> 12) & 0x1F
sequence = snowflake & 0xFFF
return {
'id': snowflake_id,
'timestamp': timestamp,
'date': datetime.fromtimestamp(timestamp),
'worker_id': worker_id,
'datacenter_id': datacenter_id,
'sequence': sequence
}
# Examples
TWITTER_EPOCH = 1288834974657
DISCORD_EPOCH = 1420070400000
# Decode Twitter ID
twitter = decode_snowflake('1382350606417817604', TWITTER_EPOCH)
print(f"Twitter: {twitter['date']}")
# Output: 2021-04-14 15:30:06.657000
# Decode Discord ID
discord = decode_snowflake('175928847299117063', DISCORD_EPOCH)
print(f"Discord: {discord['date']}")
# Output: 2016-04-30 11:18:25.796000
Use example IDs to verify timestamps in legal cases or investigations
Analyze posting patterns and activity timelines using ID timestamps
Test ID generation and decoding logic with known examples
Understand distributed ID systems through real-world examples
Q: Are these real Snowflake IDs?
A: Yes! All examples on this page are real IDs from Twitter, Discord, and Instagram that you can decode and verify.
Q: Can I use these IDs in my application?
A: These are examples for learning. Generate your own IDs using our Snowflake ID generator for production use.
Q: How do I generate my own Snowflake IDs?
A: Use our Twitter Snowflake ID Generator tool to create unique IDs following the same format as these examples.