Twitter User ID Decoder

Enter User ID to Decode

Decoded Successfully

User ID
Full Date & Time (UTC)
Unix Timestamp
Account Age

Quick Examples - Click to Decode

User ID: 12
📅 Very Early Account (2006)
User ID: 783214
📅 Twitter Co-founder (2007)
User ID: 1234567890
📅 Example Account (2013)
User ID: 1529877576591609861
📅 Recent Account (2022)

How the Decoding Process Works

1 Extract Timestamp Bits
Right shift the user ID by 22 bits to isolate the timestamp portion. This removes the datacenter, worker, and sequence bits.
2 Add Twitter Epoch
Add Twitter's custom epoch (1288834974657 milliseconds = November 4, 2010) to get the Unix timestamp.
3 Convert to Date
Convert the Unix timestamp to a human-readable date and time. This gives you the exact moment the account was created.

Why Decode Twitter User IDs?

Decoding Twitter user IDs to creation dates is useful for:

  • Account verification: Check if an account is genuinely old or recently created
  • Bot detection: Many bot accounts are created in batches with sequential IDs
  • Historical research: Understand when accounts became active on Twitter
  • Data analysis: Correlate account age with follower count, activity, etc.
  • Security: Identify suspicious accounts created during specific time periods

Understanding Twitter User IDs

Twitter user IDs are 64-bit snowflake IDs that encode several pieces of information:

User ID Structure

Bits 0-41 (42 bits): Timestamp in milliseconds since Twitter epoch

Bits 42-46 (5 bits): Datacenter ID

Bits 47-51 (5 bits): Worker ID

Bits 52-63 (12 bits): Sequence number

The timestamp portion allows us to decode the exact creation date, which is why this tool works!

Frequently Asked Questions

Is this the same as converting user ID to join date?

Yes! "Decode" and "convert" mean the same thing here. Both extract the creation date from the user ID.

Can I decode tweet IDs the same way?

Absolutely! Tweet IDs use the same snowflake format. The decoding process is identical for user IDs, tweet IDs, and any other Twitter snowflake ID.

Why do some user IDs give dates before 2010?

Very old accounts (created before November 2010) may not use the snowflake format. Twitter switched to snowflake IDs in late 2010.

Is the decoded date accurate?

Yes! The timestamp is encoded directly in the ID by Twitter's servers. It's accurate to the millisecond.

Last updated

How Twitter User IDs Encode Timestamps

Twitter Snowflake IDs are 64-bit integers. The top 41 bits store milliseconds elapsed since Twitter's epoch: November 4, 2010 at 01:42:54 UTC. To extract the timestamp:

timestamp_ms = (user_id >> 22) + 1288834974657
creation_date = new Date(timestamp_ms)

Key Facts About Twitter User ID Decoding

Use TechConverter's decoder tool to paste any Twitter user ID and instantly see the account creation date without writing any code.

Examples

Example 1: Decoding a Well-Known Account

Twitter's own account (@Twitter) has user ID 783214. This is a pre-Snowflake ID (created before November 2010), so the timestamp cannot be extracted from the ID itself. The account was created in February 2006.

A more recent example — user ID 2244994945 (Twitter Dev account):

User ID:    2244994945
Binary:     0000000000000000000000000000000010000101110001000001001000000001
Timestamp bits (top 41): extracted via right-shift by 22
Timestamp ms: (2244994945 >> 22) + 1288834974657 = 1305216000000
Creation date: May 12, 2011 at 16:00:00 UTC

Example 2: JavaScript Decoder

function decodeTwitterUserId(userId) {
  const TWITTER_EPOCH = 1288834974657n;
  const id = BigInt(userId);
  const timestampMs = (id >> 22n) + TWITTER_EPOCH;
  return new Date(Number(timestampMs));
}

// Usage
const date = decodeTwitterUserId("2244994945");
console.log(date.toISOString()); // 2011-05-12T16:00:00.000Z

Example 3: Python Decoder

from datetime import datetime, timezone

TWITTER_EPOCH = 1288834974657  # milliseconds

def decode_twitter_user_id(user_id: int) -> datetime:
    timestamp_ms = (user_id >> 22) + TWITTER_EPOCH
    return datetime.fromtimestamp(timestamp_ms / 1000, tz=timezone.utc)

# Example
user_id = 2244994945
created_at = decode_twitter_user_id(user_id)
print(created_at)  # 2011-05-12 16:00:00+00:00

Frequently Asked Questions

Yes, our Decode Twitter User Id To Creation Date is completely free with no registration required. Use it unlimited times without any restrictions.

Yes, all processing happens locally in your browser. Your data never leaves your device and is not stored on our servers.

No installation needed. The tool works directly in your web browser on any device.

The tool supports all standard formats. Simply paste your input and the conversion happens instantly.

Yes, you can process multiple conversions by using the tool repeatedly. Each conversion is instant.