Pass1234 Generator

Free Token & UUID Generator for Developers

Generate UUIDs, tokens, and keys that follow the actual standards. Everything runs in your browser — nothing is sent anywhere.

1
RFC 4122 · 128-bit · 122 bits of entropy

Developer Tokens — What and Why

Every backend service needs unique identifiers and random secrets. Database rows need IDs. APIs need keys. JWT auth needs signing secrets. Most developers reach for whatever is easiest: an auto-increment integer, Math.random(), or copying a token from Stack Overflow. All of those are mistakes in production. This tool generates tokens that follow the actual specifications, using the same cryptographic randomness your production code should use.

UUID v4 vs v7 — Which One?

UUID v4 has been the default since 2005. It works. 122 random bits, near-zero collision probability, no coordination needed between servers. The problem: v4 values have no natural order. Insert a million rows with v4 primary keys and your B-tree index fragments because new values land at random positions.

UUID v7 fixes this. Ratified as RFC 9562 in 2024, it puts a millisecond timestamp in the first 48 bits. Values sort chronologically. Your database index stays compact, range queries work, and you can extract a rough creation time from the ID itself. The remaining 74 bits are random, so uniqueness holds. If you're starting a new project, v7 is the better default.

How Long Should an API Key Be?

128 bits (16 bytes) is the bare minimum for a secret that protects anything. 256 bits is the standard recommendation. The encoding you pick changes the string length but not the security: 32 random bytes become 64 hex characters or 43 base64url characters. Same entropy, different representation. For JWT HMAC secrets, RFC 7518 sets the floor: the key must be at least as long as the hash output. That means 32 bytes for HS256, 48 for HS384, 64 for HS512.

How This Generator Works

Every value starts with crypto.getRandomValues(), the Web Crypto API built into all modern browsers. It draws entropy from the operating system, the same source that /dev/urandom on Linux or CryptGenRandom on Windows uses. For structured identifiers (UUID, ULID, ObjectId, KSUID), random bytes are combined with timestamps and version bits per each specification. Nothing is sent to any server. Nothing is logged.

Token Generator FAQ