Décoder et construire un ID Snowflake
Résultat décodé
Construit

Decodeur et Constructeur de Snowflake ID

A Snowflake is Twitter's 64-bit distributed ID: 41 bits of millisecond timestamp, 10 bits of machine and 12 bits of sequence. Paste one to reveal its creation time and machine/sequence fields.

Pick Twitter, Discord or a custom epoch, and on the right you can also build a Snowflake from a given time — handy for "ID at a moment" boundary checks.

Features

How to use

  1. Choose Twitter, Discord or Custom in the preset.
  2. Paste the Snowflake ID on the left; the right side shows timestamp, machine and sequence.
  3. Fill time, node and sequence on the right and click "Build ID" to generate one.

FAQ

Why are the IDs so long?

A Snowflake is a 63-bit unsigned integer, typically 18-19 decimal digits; it is parsed as a string to avoid JavaScript number precision loss.

What epoch do I enter for custom?

Enter your system's epoch in milliseconds (Twitter is 1288834974657), keeping the common 41/10/12 bit layout.

Does this page collect my data?

No. The content is either baked into the HTML at build time or every calculation runs locally in your browser, so your input is never sent to any server. Apart from the footer traffic counters (Baidu Analytics and our self-hosted visitor counter, see the privacy policy), this site collects nothing about your visit.

Related tools & reading

Commentaires

Ce site est uniquement frontal : pas de backend ni de compte. Les commentaires vont sur GitHub Issues, Discussions ou par e-mail.

Collez ceci dans l'issue ou l'e-mail pour m'aider à localiser le problème ; cela n'inclut rien de ce que vous avez saisi

Aussi :Voir les commentaires existants · Commentaires par e-mail (sans compte GitHub) :278975598@qq.com