UUID / GUID Generator

tag

What is a UUID?

A UUID (Universally Unique Identifier) is a 128-bit label used for information in computer systems. They are extremely useful for assigning unique keys to database rows, files, or sessions without needing a central coordinator to ensure the keys aren't duplicated.

The total number of possible UUIDs is 2^122 (or 5.3 × 10^36). This number is so astronomically large that the probability of randomly generating two identical UUIDs (a collision) is essentially zero.

compare_arrows

UUID v4 vs UUID v7

Not all UUIDs are created equal. Different versions are optimized for different tasks:

  • UUID v4: Purely random. It uses cryptographically secure random numbers to generate the identifier. This is the most common version in legacy systems.
  • UUID v7: Time-ordered. The first 48 bits represent a Unix timestamp, followed by random data. Because v7 UUIDs are sortable by creation time, they are significantly more efficient as primary keys in modern databases (like PostgreSQL) because they reduce index fragmentation.
security

Are these securely random?

Yes. This tool uses your browser's native Web Crypto API (crypto.randomUUID() and crypto.getRandomValues()) to generate cryptographically secure entropy.

Furthermore, OmniTools operates on a strict "Zero Server Upload" architecture. Your generated UUIDs are never tracked, logged, or sent to a server. They are generated 100% locally on your device.