# UUID generator > How do you make a new UUID? Random UUIDs, version 4 or time-ordered version 7, made on your device. Generate UUIDs in your browser: random version 4 or time-ordered version 7 as in RFC 9562, one or up to 100 at a time, with upper case or braces as needed. - Page: https://how.box/uuid/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/uuid/?ver={ver}&n={n}&upper={upper}&braces={braces} - `ver` (v4 or v7): v4 (random) or v7 (time-ordered). Example: `v4`. - `n` (whole number 1 to 100): How many UUIDs, 1–100. Example: `1`. - `upper` (boolean): Upper-case hex digits: 1 or 0. Example: `false`. - `braces` (boolean): Wrap each UUID in braces: 1 or 0. Example: `false`. Example answer: https://how.box/uuid/?ver=v4&n=1&upper=0&braces=0 The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `uuid_generate`: Generates UUIDs as in RFC 9562 with the browser's cryptographically secure random generator: version 4 (122 random bits) or version 7 (Unix millisecond timestamp plus random bits, sortable by creation time). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"uuid_generate","arguments":{"version":"v4","count":1,"uppercase":false,"braces":false}}}` - GET: https://how.box/mcp/run/uuid_generate?version=v4&count=1&uppercase=false&braces=false ## How it works A UUID is a 128-bit label written as 32 hexadecimal digits in five groups, such as 919108f7-52d1-4320-9bac-f847db4148a8. It is made to be unique without asking anyone: two computers can create UUIDs at the same moment and still not clash, for any practical purpose. That makes them a popular key for database rows, files and messages. A version 4 UUID is random apart from six fixed bits that mark the version and the variant, leaving 122 random bits. The chance of two matching is so small that it can be ignored. A version 7 UUID starts with the Unix time in milliseconds (48 bits) and fills the rest with random bits, so newer ones sort after older ones, which keeps database indexes tidy. Within one millisecond this tool counts up so the order holds (RFC 9562, sections 5.4, 5.7 and 6.2). The randomness comes from your device's secure generator, never a simple formula, and the UUIDs are made in your browser and not sent anywhere. A version 7 UUID shows when it was made, so do not use it where that should stay private. ## FAQ **Can two UUIDs ever be the same?** In theory yes, in practice no. With 122 random bits a repeat is astronomically unlikely, so programs treat a new version 4 UUID as unique. **Should I use version 4 or version 7?** Use version 4 when you only need a unique label. Use version 7 for database keys, where sorting by creation time helps, and when showing the creation time is not a problem. **Is a UUID the same as a GUID?** Yes. GUID is the name Microsoft uses. Windows often writes it in upper case and in braces, which are the two extra options here. **Do uppercase letters or braces change the UUID?** No. They change only how the same identifier is written. **Can I recover a creation time from a version 4 UUID?** No. Version 4 contains random bits, not a timestamp. Version 7 includes a creation timestamp. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)