KSUID Generator
Generate KSUIDs: 27-character IDs with a timestamp in seconds followed by 16 random bytes, so they sort by creation time.
How to generate a KSUID
Choose how many
Set how many KSUIDs you want.
Generate
They appear straight away. Press the button for a fresh set.
Copy
Copy them for time-sortable keys.
When to use KSUID Generator
You want time-sortable IDs with more random bits than a ULID.
A service needs 27-character keys that are safe in URLs and file names.
Tips for a better KSUID Generator result
Generate a batch and copy them for time-sortable keys.
Use the ID decoder to read the time back from a KSUID.
KSUID Generator: limits and what to check
The time is counted in seconds since 14 May 2014, so only second precision is kept.
Compared with a ULID, a KSUID has more random bits but a coarser timestamp.
About KSUID Generator
A KSUID is a 27-character ID that begins with a timestamp in seconds and ends with 128 random bits, written in Base62. They sort by creation time and are safe in URLs and file names.
FAQs
What is the time based on?
Seconds since 14 May 2014, so the timestamp field lasts well into the next century.
How does it compare with ULID?
It has more random bits but only second precision.
Can I read the time back?
Use Unique ID Decoder.