Tool guide
About this tool.
Inspect reads one ID per line and detects the format by shape. A UUID has 32 hex digits, with hyphens, braces or a urn:uuid: prefix. A ULID has 26 Crockford base32 characters in any case. A KSUID has 27 base62 characters. A Snowflake has 1 to 20 decimal digits and fits in 64 bits. Every other line is listed as unrecognized, not as an error, because Nano IDs and other random IDs carry no data.
Blank lines are skipped, and each result keeps the line number of its input.
A UUID shows its version, its variant and whether it is the nil or max UUID. Versions 1 and 6 show the timestamp, the clock sequence and the node. Version 7 shows its Unix millisecond timestamp. Other versions, such as the random version 4, hold no time.
A ULID shows its millisecond timestamp and 80 bits of randomness in hex. A KSUID shows its timestamp (seconds since 2014-05-13, epoch 1400000000) and its 128-bit payload in hex. A Snowflake shows its timestamp, the two 5-bit IDs (worker and process) and the 12-bit sequence.
A Snowflake stores milliseconds since an epoch that depends on the platform. Discord counts from 2015-01-01 and Twitter from 2010-11-04. Choose Custom and enter the epoch in milliseconds for other platforms. A wrong epoch still decodes, but to the wrong date.
Generate makes Nano IDs, UUID v7 and KSUIDs from the browser random generator. Nano ID picks characters by rejection sampling, so every character of the alphabet is equally likely. UUID v7 has no counter, so two IDs from the same millisecond are not ordered.
Choose Inspect to decode IDs, or Generate to make new ones.
For Inspect, paste one ID per line as the main input. UUIDs may have hyphens, braces or a urn:uuid: prefix. For a Snowflake, choose the Discord or Twitter epoch, or Custom with an epoch in milliseconds.
For Generate, choose Nano ID, UUID v7 or KSUID and the count. A Nano ID also takes a size and an alphabet.
Run the tool. Inspect returns a JSON array with one entry per line, and Generate returns one ID per line. Copy the result or save it as ids.json or ids.txt.
- 017F22E2-79B0-7CC3-98C4-DC0C0C07398F → UUID v7 from 2022-02-22T19:22:22.000Z
- C232AB00-9414-11EC-B3C8-9F6BDECED846 → UUID v1 with clock sequence 13256
- 01ARZ3NDEKTSV4RRFFQ69G5FAV → ULID from 2016-07-30T23:54:10.259Z
- 0ujtsYcgvSTl8PAuAdqWYSMnLOv → KSUID from 2017-10-10T04:00:47.000Z
- 175928847299117063 with the Discord epoch → 2016-04-30T11:18:25.796Z
- V1StGXR8_Z5jdHi6B-myT → unrecognized, a Nano ID holds no data
- Processing is local; nothing is uploaded.
- Limits: inspect reads 1,000 lines of at most 100 characters; generate makes 1-100 IDs, a Nano ID size of 2-256 and an alphabet of 2-256 characters.
- Unrecognized lines are reported with a reason, not as an error.
- UUID v7 has no counter, so IDs made in the same millisecond are not ordered.