← Developer & Data
Developer & Data · runs locally

KSUID Generator and Inspector

Generate 27-character KSUIDs or decode their four-byte timestamp offset and sixteen-byte random payload without sending identifiers to an API.

Ready. Your working data stays in this browser.

Why this tool is useful

Use this tool to create time-sortable 160-bit test identifiers or verify the date encoded in an existing KSUID before using it in logs and migrations.

How it works

Generation stores seconds since the fixed KSUID epoch in four big-endian bytes, appends 128 Web Crypto random bits and encodes the 20-byte value as fixed-width Base62; inspection reverses those exact steps.

Practical example

Inspecting 0ujtsYcgvSTl8PAuAdqWYSMnLOv reports the embedded UTC creation second and the hexadecimal random payload while leaving the pasted value local.

Validation

The calculation is deterministic and explains validation errors instead of silently changing invalid input.

Privacy boundary

Input and output remain in this tab. Copy and download happen through browser APIs without a server upload.

Result passport

Every run reports its tool mode, timestamp and input/output size so transformed data can be audited.