UUID Generator
Generate UUID v4 and v7 in bulk
Create random (v4) or time-ordered (v7) UUIDs, one or thousands at a time, and validate or inspect any UUID.
- UUID
- v4
- v7
- GUID
How to use UUID Generator
- Choose a Version: v4 · random or v7 · time-ordered. Switching version makes a new batch.
- Enter How many (1 to 1,000), then click Generate or press Enter.
- Format the list with Uppercase, Hyphens and Braces. This changes how the same UUIDs are shown; it doesn’t make new ones.
- Use Copy all, Download .txt or Send to… to take the list (one UUID per line) elsewhere.
- To check an existing UUID, paste it under Inspect a UUID to see its version, variant and, for v1, v6 and v7, when it was created.
How it works
Version 4 UUIDs are 122 random bits with the version and variant bits set as in RFC 9562. They come from the browser’s crypto.randomUUID() where available, or from crypto.getRandomValues otherwise.
Version 7 UUIDs start with the current Unix time in milliseconds (48 bits), so they sort in creation order. The next 12 bits are a counter, seeded randomly each millisecond and incremented for every UUID made in the same millisecond, so a batch is strictly increasing (RFC 9562 section 6.2, method 1). If the counter runs out, or the clock goes backwards, the timestamp is moved forward by one millisecond instead. The remaining 62 bits are random from crypto.getRandomValues.
The inspector reads the version from the 13th hex digit and the variant from the 17th. For v7 it decodes the millisecond timestamp; for v1 and v6 it converts the 60-bit count of 100-nanosecond intervals since 15 October 1582 to a date. The nil UUID (all zeros) and max UUID (all f) are recognised by name.
Limits
- Only versions 4 and 7 can be generated; v1, v3, v5, v6 and v8 can be inspected but not created.
- Up to 1,000 UUIDs per batch. Values outside 1 to 1,000 are clamped, with a note.
- The inspector accepts 32 hex digits with or without hyphens, optionally wrapped in braces or prefixed with
urn:uuid:. Hyphens must be in the standard 8-4-4-4-12 positions. - Creation times are only shown for v1, v6 and v7, and are only as accurate as the clock of the machine that made the UUID.
Privacy
UUIDs are generated and inspected in your browser; nothing is uploaded or stored, and this tool doesn’t create share links. Send to… passes the list to the other tool through this tab’s session storage, where it is removed as soon as that tool reads it.
Frequently asked questions
Should I use v4 or v7?
Use v7 for database keys and anything you sort or index, because new values are close together and in order. Use v4 when the ID shouldn’t reveal when it was created.
Does a v7 UUID reveal when it was made?
Yes. Its first 48 bits are the creation time in milliseconds, which the inspector shows as a date. Anyone with the UUID can read it.
Can two generated UUIDs collide?
In practice, no. v4 has 122 random bits, and v7 has 62 random bits plus a randomly seeded counter within each millisecond, so a collision is astronomically unlikely.
Is a GUID the same as a UUID?
Yes, GUID is Microsoft’s name for the same 128-bit format. Turn on Uppercase and Braces to get the {XXXXXXXX-…} style many Windows tools use.
More tools
- Clean Image: Inspect and remove hidden image metadata
- JWT Decoder: Decode and verify JSON Web Tokens
- Diff Checker: Compare two texts line by line
- JS Runner: Run JavaScript and TypeScript in your browser
- JSON Formatter: Format, validate and minify JSON
- Encode / Decode: Base64, URL, HTML entity and hex
- Hash Generator: MD5, SHA and HMAC of any text
- Timestamp Converter: Unix time ↔ human dates
- Regex Tester: Test regular expressions live
- URL Parser: Break a URL into its parts
- HTTP Status Codes: Look up any HTTP status code
- MIME Type Lookup: File extension ↔ MIME type
- Password Generator: Strong random passwords and passphrases
- Random String Generator: Random tokens, IDs and keys
- Slug Generator: Turn titles into URL slugs
- Case Converter: camelCase, snake_case, Title Case and more
- Word Counter: Count words, characters and reading time
- JSON to TypeScript: Generate TypeScript types from JSON
- JSON Diff: Compare two JSON documents structurally
- JSON to SQL: Turn JSON arrays into SQL inserts
- YAML ↔ JSON: Convert between YAML and JSON
- XML ↔ JSON: Convert between XML and JSON
- CSV ↔ JSON: Convert between CSV and JSON
- CSV Viewer: View, sort and filter CSV files
- SQL Formatter: Format and beautify SQL queries
- cURL ↔ Fetch: Convert cURL commands to fetch and back
- Markdown Editor: Write Markdown with a live preview
- Text Cleaner: Remove duplicate lines, empty lines and extra spaces
- Find & Replace: Find and replace in any text
- Cron Expression Builder: Build and explain cron schedules
- User-Agent Parser: Identify browser, OS and device from a user agent
- HTTP Headers Inspector: Paste response headers and get them explained
- JWT Generator: Create and sign test JSON Web Tokens
- Certificate Inspector: Decode PEM certificates and keys
- Meta Tag Inspector: Check a page's SEO and social tags
- UTM Builder: Build campaign URLs with UTM parameters
- URL Cleaner: Strip tracking parameters from links
- Robots.txt Generator: Create and test a robots.txt file
- Sitemap Generator: Create an XML sitemap from a list of URLs
- Image Compressor: Shrink JPEG, WebP and AVIF images in your browser
- Image Resizer: Resize images by pixels, percentage or to fit a box
- Image Converter: Convert between PNG, JPEG, WebP and AVIF
- Image to Base64: Encode images as Base64 data URIs and decode them back
- SVG Optimizer: Minify and sanitize SVG files
- Favicon Generator: Make favicon.ico, Apple and Android icons from an image or emoji
- Color Converter: HEX, RGB, HSL, OKLCH and contrast checks
- Number Base Converter: Binary, octal, decimal, hex and float bits
- IP / CIDR Calculator: Subnets, masks and IP ranges for IPv4 and IPv6
- JSONPath Query: Query JSON with JSONPath expressions
- JSON Schema Validator: Validate JSON against a schema, or generate one
- Semver Checker: Check versions against semver ranges
- chmod Calculator: Unix permissions: rwx ↔ octal
- .env Diff: Compare and validate .env files
- TOTP Generator: Generate and verify 2FA codes
- String Escaper: Escape and unescape strings for any language
- Unicode Inspector: See every character, code point and hidden symbol
- Mock Data Generator: Generate realistic fake data
- QR Code Generator: Create QR codes for links, Wi-Fi and contacts
- Lorem Ipsum Generator: Placeholder text in paragraphs, sentences or words
- Date Calculator: Date differences, business days and durations
- Unit Converter: Convert bytes, lengths, weights, temperatures and more
- Query CSV with SQL: Run SQL queries on CSV files
- PDF Merge & Split: Merge, split, reorder and rotate PDFs
- PDF Metadata Cleaner: See and remove hidden PDF metadata
- Office Metadata Cleaner: Remove author and revision data from Word, Excel and PowerPoint
- Images to PDF: Combine images into one PDF
- Image Editor: Crop, rotate, resize and adjust images
- Encrypt / Decrypt Text: Encrypt text with a passphrase (AES-GCM)
- SSH Key Generator: Generate Ed25519 and RSA SSH keys locally
- Email Header Analyzer: Trace an email's path and check SPF, DKIM and DMARC
- JSON to Code: Generate Go, Python, Rust, Java, C# and Kotlin models from JSON
- docker run ↔ Compose: Convert docker run commands to docker-compose and back
- Color Palette Extractor: Pull the dominant colours out of any image
- Password Strength Checker: How long would your password take to crack?
- SPF / DKIM / DMARC Checker: Validate and explain email DNS records
- Kubernetes YAML Checker: Validate and explain Kubernetes manifests
- .gitignore Generator: Build a .gitignore from presets
- CSP Builder: Build and check a Content-Security-Policy
- JSON-LD Generator: Create schema.org structured data
- Open Graph Image Generator: Make 1200×630 social preview images
- CSS Generator: Gradients, shadows, clamp() and more
- Time Zone Meeting Planner: Find meeting times across time zones