Генератор UUID v4 онлайн — бесплатно и пачкой
Создавайте криптографически случайные идентификаторы UUID v4 в браузере. Удобно для первичных ключей, идемпотентных токенов и уникальных ID.
Нажмите Сгенерировать, чтобы создать новый UUID v4 через crypto.randomUUID(). Сколько угодно — ничего не логируется.
- Введите или вставьте что-нибудь
Распространённые сценарии
- 1Pre-generate IDs for database records before you have an INSERT round-trip.
- 2Create idempotency keys for retry-safe API calls.
- 3Stamp upload filenames so two simultaneous uploads cannot collide.
Часто задаваемые вопросы
Is this UUID v4 or v7?+
v4 — fully random with 122 bits of entropy. It does NOT sort by time. If you need time-ordered IDs use UUID v7 or ULID instead.
How unlikely is a collision?+
Generating 1 billion UUIDs per second for 100 years still leaves less than a one-in-a-billion collision chance. Practically zero for any sensible workload.
Are these UUIDs cryptographically random?+
Yes. crypto.randomUUID() uses the OS CSPRNG (/dev/urandom on Linux, BCryptGenRandom on Windows, SecRandomCopyBytes on macOS).