KSUID Generator

Generate one or many KSUIDs, or paste an existing KSUID to see its embedded creation timestamp.

Generate

Decode a KSUID

Generate a KSUID or paste one to decode it

Copied!

Summary

Generate one or many KSUIDs, or paste an existing KSUID to see its embedded creation timestamp.

How it works

  1. Click "Generate" to create a new KSUID, or set a quantity and click "Generate Bulk" for a list.
  2. Copy a single ID or copy the whole bulk list at once.
  3. Switch to the Decode panel and paste any 27-character KSUID.
  4. The decoder shows the embedded UTC timestamp, local time, and the random payload in hex.

Use cases

  • Generate primary keys that sort chronologically by creation time without a database sequence.
  • Create sample IDs for seeding test data or fixtures.
  • Find out exactly when a KSUID stored in your database or logs was created.
  • Compare two KSUIDs to confirm which one was generated first.
  • Replace UUIDv4 with a sortable, timestamp-carrying identifier for new services.
  • Verify a third-party library's KSUID output during development.

Frequently Asked Questions

Last updated: 2026-07-23 · Reviewed by Nham Vu