GUID Generator
Generate random GUIDs (UUID v4) instantly, or bulk generate up to 1,000 at once. Copy them for database keys, test data and config files in one click.
Generated GUIDs (0)
Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Online GUID / UUID Generator
A GUID (or UUID v4) is a randomly generated 128-bit identifier used to uniquely tag database rows, API resources, session tokens, and file names without needing a central authority to hand out IDs. Generate one or up to 1,000 at once, in upper- or lowercase, with or without hyphens — generation happens locally in your browser via the Web Crypto API, so nothing is sent to a server. It helps developers create collision-resistant identifiers for records, tests, URLs, and local fixtures without a server round trip.
What is a GUID / UUID?
A GUID (Globally Unique Identifier), more commonly called a UUID (Universally Unique Identifier) outside Microsoft ecosystems, is a 128-bit value used to uniquely tag something — a database row, an API resource, a session token, a file name — without needing a central authority to hand out sequential IDs. Version 4 UUIDs, the kind this tool generates, are built from 122 random bits, which makes accidental collisions astronomically unlikely even across billions of generated values.
How to generate a GUID online
Set how many you need (up to 1,000 at once), choose whether you want uppercase or lowercase letters and whether to include the standard hyphens, then click Generate. Copy a single value with its own Copy button, or copy the entire list at once with Copy All — each value lands on its own line, ready to paste into a spreadsheet, test fixture, or script.
Common use cases
- Generating primary keys for database records that need to be unique across multiple systems or services
- Creating unique session tokens or request correlation IDs for debugging distributed systems
- Populating test fixtures or seed data with realistic-looking unique identifiers
- Naming uploaded files or temporary resources without risking a collision
Generation uses the browser's built-in Web Crypto API (crypto.randomUUID(), with a cryptographically secure fallback for older browsers) — everything happens locally, so nothing is sent to a server.
Which type should I pick?
- UUID v4: fully random. The safe default when order does not matter.
- UUID v7: starts with the creation time, so IDs sort in the order they were made. Good for database keys, because new rows land at the end of the index.
- ULID: 26 characters, also sorts by time, and is easier to read aloud or put in a URL.
- NanoID: short and URL-safe (21 characters by default). Choose a length from 8 to 64, or give your own characters.
Worked example
A freshly generated UUID v4 looks like fa03b10f-68b5-49a8-9828-9e229e312df1. The 14th character is always 4 (the version marker) and the 17th is always 8, 9, a, or b (the variant marker) — every other character is random. With Uppercase and Include hyphens off, that same value becomes FA03B10F68B549A898289E229E312DF1: hyphens are stripped first, then the result is uppercased, so the letters end up uppercase either way regardless of which order you toggle the two options in.
Common mistakes and edge cases
- The count field doesn't silently clamp out-of-range values — in testing, entering 0, a negative number, or anything over 1,000 shows an error toast and generates nothing, rather than falling back to the nearest valid count.
- A fractional count like 5.5 is accepted and rounded down to 5, not rejected.