Seeding test data
Generate a hundred at once and paste them straight into fixtures or a seed script, rather than writing a loop to produce them.
Generate one or a thousand version 4 UUIDs in your browser using a cryptographic random source.
Maintained by Roshan.
Version 4 UUIDs generated on this device using browser cryptography. Collisions are extremely unlikely, not impossible; keep uniqueness checks in your application.
Find related browser-local tools for nearby tasks without starting another search.
Browse all generatorsGenerate random version 4 UUIDs for test records, request tracing and application identifiers. Each result is 36 characters: 32 hexadecimal digits separated by four hyphens in an 8-4-4-4-12 layout. The tool creates five identifiers when it opens; choose a batch size from 1 to 1000 and press Generate to replace them. Copy all places one UUID per line on your clipboard, with no JSON array or SQL syntax added. Generation uses your browser's cryptographic random source, not identifiers fetched from a server. Independent systems can generate v4 UUIDs without coordinating a counter, but randomness makes collisions extremely unlikely rather than impossible. Keep database uniqueness checks and handle conflicts in production.
Generate a hundred at once and paste them straight into fixtures or a seed script, rather than writing a loop to produce them.
A single UUID attached to a request lets you follow it across services in logs, without revealing anything about the request itself.
The illustrative value 550e8400-e29b-41d4-a716-446655440000 has five groups with lengths 8, 4, 4, 4 and 12. The third group starts with 4 for version 4; the fourth starts with 8, 9, a or b for the variant. Do not reuse this published example as a fresh identifier.
No. They are produced in your browser. No network request is made when you generate, and the identifiers exist only in this tab until you copy them.
In practice yes. GUID is the name Microsoft uses for the same 128-bit identifier. Tooling in that ecosystem often displays them in uppercase or inside braces, but the value is the same.
The bits are random rather than derived from a timestamp or hardware address. The version digit is fixed to 4 and two variant bits are set, which is why those positions never look random.
It works, but random keys scatter writes across an index and can hurt insert performance at scale. Many teams use a time-ordered identifier for the key and keep a UUID as the externally visible reference.
A repeat is possible, although the probability is extremely small with a functioning cryptographic random source. The page does not compare a new value against every UUID ever generated. Enforce uniqueness in storage and retry a conflicting insert instead of treating generation as an absolute guarantee.
Generate strong passwords in your browser using crypto.getRandomValues, with entropy shown in bits. Nothing is transmitted, logged, or stored.
Produce SHA-1, SHA-256, SHA-384, or SHA-512 digests from text in your browser using Web Crypto. Nothing is uploaded, so pasting sensitive text is safe.
Decode a JSON Web Token and inspect claims and expiry in your browser. Your token is never transmitted.
Turn a JSON array into SQL INSERT statements in your browser, with quotes escaped correctly.