sm-uuid

Zero-dependency UUID v7 and v4 generators that pack full 128-bit UUIDs into compact, URL-safe Base62 strings. The safe generators filter profanity and keep v7 IDs compact and profanity-free.

Live Demo

Safe UUID v7

UUID V7 based small UUID.

Safe UUID v4

UUID V4 based small UUID.

Encode a UUID

Turn a standard UUID into a fixed 22-character Base62 string.

Decode a Base62 ID

Expand a 22-character Base62 string back into a standard UUID.

Profanity check

Inspect any string with the same targeted filter used by the safe generators.