How to use the UUID Generator
- Choose how many UUIDs you need
- Pick the format options
- Copy or download them
Version 4 and version 7 UUIDs
Choose v4 (random) or v7 (time-ordered), how many you need (up to 10,000), and options for UPPERCASE, no hyphens or {braces} (GUID style). Copy them all or download a .txt file. UUIDs are made with your browser's cryptographically secure random generator.
Which version?
Version 4 contains 122 random bits, so the chance of a duplicate is effectively zero. Version 7 puts a millisecond timestamp first, so new IDs sort in the order they were created, which keeps database indexes fast. Use v7 for primary keys and v4 for everything else. Every UUID has the form 8-4-4-4-12 hex digits, such as f47ac10b-58cc-4372-a567-0e02b2c3d479 โ the โ4โ at the start of the third group marks version 4.
Minecraft
Minecraft Bedrock add-ons need unique v4 UUIDs in every manifest.json โ one for the header and one for each module. Generate a few here and paste them in. A Minecraft Java player UUID is different: it comes from the player's account and can't be generated.
In code
- Python โ
import uuid; uuid.uuid4(). - JavaScript and React โ
crypto.randomUUID()in modern browsers and Node.js. - Java โ
UUID.randomUUID(). - PostgreSQL โ
gen_random_uuid()(version 13+);uuidv7()arrives in PostgreSQL 18. - Postman โ the
{{$guid}}or{{$randomUUID}}variable. - Excel โ generate a list here and paste it into a column.