What you can do
- Random UUID v4 and time-ordered UUID v7, monotonic even within the same millisecond.
- Bulk generation, uppercase or without hyphens.
- Inspection of an existing UUID: version, variant and canonical form.
- Creation date extracted from UUID v1, v6 and v7.
Frequently asked questions
Should I use UUID v4 or v7 as a primary key?
v7 starts with a timestamp, so new values land at the end of the index: inserts are more efficient than with the fully random v4.
Are the generated UUIDs really random?
Yes. The random part comes from the browser's Web Crypto API (crypto.randomUUID and crypto.getRandomValues), a cryptographically secure generator.
Can I tell when a UUID was created?
Only for versions that embed a timestamp: v1, v6 and v7. A v4 is fully random, so there's no date to extract.
More developer tools
- JSON formatter and validator โ Format, minify, validate with the error's line and column, and sort keys, without losing precision on big numbers.
- XML formatter โ Format, minify and check it's well-formed (SOAP included, unfortunately).
- Base64 encode and decode โ Encode and decode UTF-8 text, URL-safe variant, files and binary content.
- JWT decoder โ Read header and payload, with issue and expiry dates in plain language.
- URL encode, decode and parser โ Encode and decode, and break a URL down into its parameters.
- JSON, YAML and CSV converter โ Conversion to and from JSON, with automatic, comma or semicolon delimiter.
- SHA-256 and HMAC hash generator โ SHA-1/256/384/512 and HMAC of text and files, with checksum verification.
- Diff checker for text and JSON โ Compare two texts or JSON documents with word-level highlighting and patch export.
- Regex tester โ Live testing with named groups, replacement and protection from catastrophic backtracking.
- Unix epoch timestamp converter โ Unix epoch in seconds, milliseconds, micro and nano, time zones and ISO week.
- Cron expression explainer โ Plain-English explanation of crontab, Spring and Quartz expressions with the next runs.
- Working days calculator โ Man-days and hours between two dates or a deadline N days out, with holidays, patron saint and time off.