UUID Generator: Random Version 4 UUIDs
Generate random version 4 UUIDs in your browser. Make one or up to 50 at once, with optional uppercase and no dashes.
Choose how many you need and press Generate. They are created by your browser’s secure random generator, so nothing is sent to this site.
When to use a UUID
Use a UUID as a database key, a file name, a request ID or a test value when you need an identifier that does not clash with others. Version 4 is random. It does not contain a time or a machine address. If you need IDs that sort by creation time, use a time-ordered format instead.
Common mistakes
- Using a UUID as a secret or a password. It is an identifier, not a key.
- Storing it as text in a database when the database has a UUID type, which is smaller and faster.
- Mixing upper and lower case. UUIDs are equal in either, but string comparisons are not.
Frequently asked questions
- What is a UUID?
- A 128-bit identifier written as 32 hex digits in five groups, such as 123e4567-e89b-42d3-a456-426614174000.
- Can two UUIDs be the same?
- A random version 4 UUID has 122 random bits, so a repeat is extremely unlikely in practice.
- Is a UUID a good secret?
- Not on its own. Use it as an ID, and use a proper token or the password generator for secrets.
More tools
Code formatters
CSS beautifier CSS minifier HTML beautifier HTML minifier JavaScript beautifier JavaScript minifier JSON formatter YAML formatter XML formatter SQL formatter Markdown preview
Converters
Base64 encoder and decoder URL encoder and decoder Unix timestamp converter CSV to JSON JSON to CSV HTML entity encoder and decoder Number base converter Time zone converter JSON to TypeScript XML to JSON HTML to Markdown Date difference calculator
Text tools
Regex tester Remove duplicate lines Lorem ipsum generator Word counter Case converter Text diff checker
Color and images
Color converter Contrast checker Image to Base64 Image resizer
Network
Subnet calculator Download time calculator Common ports list CIDR to IP range IPv6 address expander and compressor MAC address formatter curl command builder
Server and files
Cron expression explainer chmod calculator HTTP status codes
Encoding and security
Password generator Hash generator JWT decoder QR code generator Password strength checker Wi-Fi QR code generator