LazyTools

Snowflake ID Generator & Decoder

Generate and decode customizable 64-bit Snowflake IDs.

Configuration
Configure bit allocation and metadata values.

Layout Bit Scheme:

Timestamp Epoch:
2010-11-04 01:42:54.657 UTC
Timestamp Bits:
41 bits
Datacenter ID:
5 bits
Worker ID:
5 bits
Sequence Bits:
12 bits

Parameter Values

Datacenter ID:0
Range: 0 - 31 (5 bits)
Worker ID:0
Range: 0 - 31 (5 bits)
Start Sequence:0
Range: 0 - 4095 (12 bits)

Use Current Time

Set Snowflake timestamp to Date.now()

Generated IDs
Generated Snowflake strings.

No Snowflake IDs generated yet.

Adjust configuration on the left and click Generate.