UUID / ID Generator
Bulk-generate UUID v4, short, numeric, and prefixed IDs for seeding test databases and unique keys. Export as list, JSON, CSV, or SQL.
Why generate test IDs?
Every database table, API response, and test fixture needs unique identifiers. Rather than making them up by hand or writing a throwaway script, this tool generates realistic UUIDs, short codes, numeric IDs, or prefixed IDs in bulk — ready to paste straight into a seed script, spreadsheet, or mock API response.
When to use each format
- UUID v4 — the standard for distributed systems and primary keys where global uniqueness matters.
- Short ID — compact 8-character codes for URLs, invite codes, or anywhere a full UUID is overkill.
- Numeric ID — random integers for testing legacy auto-increment style primary keys.
- Prefixed ID — readable, namespaced IDs like
usr_a1b2c3d4e5f6, matching the style used by many modern APIs.
Frequently asked questions
Are these IDs guaranteed to be unique?
UUID v4 values use 122 random bits, so collisions are astronomically unlikely even across billions of IDs. Short IDs, numeric IDs, and prefixed suffixes use a smaller random space, so for very large datasets or production systems, UUID v4 is the safer choice.
What's the difference between the ID formats?
UUID v4 is the standard 36-character universally unique identifier. Short ID is an 8-character lowercase alphanumeric code, handy for URLs or display. Numeric ID is a random 6-10 digit number, useful for legacy integer primary keys. Prefixed ID combines a custom prefix (like "usr_") with a 12-character random suffix, matching the readable ID style used by many APIs.
Can I generate hundreds of IDs at once?
You can generate up to 100 at a time. That cap keeps the tool fast and the output manageable to copy, paste, or download in one go.
What export formats are supported?
Copy or download your IDs as a plain newline-separated list, a JSON array, a CSV file with an "id" column, or a ready-to-run SQL INSERT VALUES list for seeding a database table.
Can I customize the UUID output?
Yes — toggle uppercase letters and whether hyphens are included, so the format matches whatever system you're testing against.