UUID Generator
Generate random UUID v4 or time-ordered UUID v7, up to 10,000 at once. Check any UUID or GUID and see its version and creation time.
Your UUID…
0 UUIDs (v4)
Check or decode a UUID
v4 or v7?
- UUID v4 is 122 random bits. Use it when the ID must not reveal anything, such as tokens in URLs.
- UUID v7 starts with the creation time in milliseconds, then random bits. New IDs sort after old ones, which keeps database indexes (PostgreSQL, MySQL, SQL Server) compact and fast. Use it for primary keys. It is defined in RFC 9562 (2024).
UUIDs are made with your browser's secure random generator (crypto.getRandomValues). Nothing is sent to a server. A GUID is the same thing as a UUID; Microsoft tools often show it in uppercase with braces.
Generate a UUID in code
JavaScript crypto.randomUUID() // v4, browsers and Node.js
Python str(uuid.uuid4()) # import uuid; uuid.uuid7() in Python 3.14+
Go uuid.NewString() // github.com/google/uuid; uuid.NewV7() for v7
Java UUID.randomUUID().toString()
C# Guid.NewGuid() // Guid.CreateVersion7() in .NET 9+
PostgreSQL SELECT gen_random_uuid(); -- uuidv7() in PostgreSQL 18+
Bash uuidgenMore free tools
Unix TimestampEpoch ⇄ date in any time zone.Hash GeneratorMD5 / SHA / HMAC of text and files.JSON ViewerTree view, search, copy path. Handles huge files.JSON FormatterBeautify or minify JSON in one click.JSON ValidatorClear errors with exact line and column.JSONL ViewerFind broken lines in JSON Lines / NDJSON logs.JSON RepairFix broken JSON in one click.JSON to CSVFlatten nested JSON into a spreadsheet.