Developer Tool

TikTok Video ID Decoder

TikTok video IDs embed a creation timestamp directly in the number itself, using a structure similar to Twitter's Snowflake IDs — paste one to decode it.

Found in a TikTok video's URL, right after /video/.

Enter a TikTok video ID

How the ID is structured

Like Discord and Twitter Snowflake IDs, a TikTok video ID is a single 64-bit integer with the seconds-since-Unix-epoch timestamp packed into its highest bits (the top 32 bits specifically), followed by lower bits used for uniqueness. Shifting the ID right by 32 bits recovers a plain Unix timestamp directly — no separate custom epoch offset is needed, unlike Discord's Snowflake format.

Why this matters for research and moderation work

Because the timestamp is baked directly into the ID rather than requiring an API call, this decoding trick lets researchers, journalists, and moderation teams establish a video's approximate upload time from the URL alone — useful when the platform's own displayed date is relative ("3d ago") or when doing offline analysis of a large batch of IDs.

Related

Related tools