# UUID & ULID tool

Generate UUID v4, time-ordered UUID v7 and ULID identifiers, and read the time inside one.

## How it works

Random values come from your browser’s secure random generator. UUID v7 and ULID start with the creation time in milliseconds.

## Questions

### Which should I use for database keys?

UUID v7 or ULID: they sort by time, which keeps indexes compact and inserts fast.

### Can two IDs collide?

In practice no: each has at least 74 random bits.

## Related tools

- [JWT decoder](https://powertraces.com/tools/jwt-decoder)
- [Hash generator](https://powertraces.com/tools/hash-generator)
- [Base64 & URL encoder](https://powertraces.com/tools/base64-url)
- [SLO & error budget calculator](https://powertraces.com/tools/slo-error-budget)

[All tools](https://powertraces.com/tools)
