Toolivaro

UUID-Generator kostenlos

Erzeuge RFC-4122-Version-4-UUIDs aus kryptographisch sicherer Zufälligkeit — einzeln oder in Stapeln, komplett lokal.

Der UUID-Generator erzeugt Version-4-UUIDs nach RFC 4122 (universell eindeutige Identifikatoren) aus kryptographisch sicherer Zufälligkeit — getRandomValues der Plattform, dieselbe Quelle, die deine Laufzeit für sichere Identifier nutzt. Erzeuge eine UUID mit einem Klick oder bis zu 100 auf einmal für Fixtures, Seed-Daten oder Test-Suites; schalte zwischen Klein- und Großschreibung sowie zwischen Formen mit und ohne Bindestriche um, und kopiere einen einzelnen Wert oder den ganzen Stapel. Jeder erzeugte Wert wird vor der Anzeige gegen die Versions- und Varianten-Bits validiert, und der Generator validiert auch jede eingefügte UUID — er prüft Form, das Version-4-Nibble und die RFC-Varianten-Bits statt nur des Bindestrich-Musters. Die Methode wird offen gezeigt: 122 zufällige Bits mit festgelegten Versions- und Variantenfeldern, genau wie RFC 4122 Abschnitt 4.4 es festlegt. Alles läuft lokal: kein Wert, den du erzeugst oder validierst, wird hochgeladen, protokolliert oder gespeichert. Nutze dieses Tool für Testdaten, Datenbank-Keys, Ereignis-Identifier oder überall dort, wo eine v4-UUID gebraucht wird und die Zufälligkeit aus der kryptographischen Quelle der Plattform kommen soll statt aus einem geteilten Webdienst.

Wird lokal in deinem Browser verarbeitet

1–100 pro Stapel.

Format

So verwenden Sie diesen Rechner

What a UUID is for, and what version 4 means

A universally unique identifier is a 128-bit value designed for one job: naming things without a central registry. Databases, message queues, event systems, and test suites all use them because a value can be generated anywhere — on any machine, offline, in a script — and still be treated as unique without asking a server for the next number. Version 4 is the random variant: of the 128 bits, 122 come from a random source and 6 are fixed by the format — the version nibble (hex 4) in the third group and the variant bits (the first hex digit of the fourth group, always 8, 9, a, or b). That is why every v4 UUID shows the same tell-tale pattern, 8-4-4-4-12: 7f3a9c21-4d2e-4b8a-9c1e-2f3a4b5c6d7e. The fixed bits are not a bug; they are how a reader can tell a v4 from a time-based v1 or a name-based v3 without any extra information.

The randomness is not from a generic random function but from the platform’s cryptographically secure source, getRandomValues — the same generator your runtime uses for secure tokens and TLS session keys. That matters because identifier collisions are most likely when the random source is weak or predictable: Math.random(), the classic offender, is not designed for this job and is never used here.

Generating identifiers for fixtures and test data

The generator produces one UUID per click or a batch of up to 100 in a single action — enough for a seed-data file, a test fixture, or a set of event ids in a staging run. Output can be lowercase or uppercase (hex is case-insensitive; the choice is purely cosmetic) and hyphenated or hyphenless. Hyphenless forms are convenient when a value is embedded in a filename or a context that treats hyphens specially; hyphenated is the conventional form that matches RFC 4122 and most documentation. Because the version and variant digits are always visible, a hand-typed fake — one where someone edited a real id — is usually easy to spot: the 4 in the third group and the 8/9/a/b start of the fourth group are the first things to check.

The page validates every generated value against the format before showing it, so a batch cannot silently contain a malformed entry. For test fixtures, generate once and reuse the values; there is no need to regenerate per run, and deterministic fixtures are easier to debug than fresh values on every execution.

Using the validator on values from elsewhere

The same page validates any UUID you paste. The check is stricter than a glance at the dash pattern: it verifies the shape (8-4-4-4-12 hex groups), the version nibble (a 4 in the third group), and the RFC variant bits (8, 9, a, or b at the start of the fourth group). A string with the right dashes but the wrong version — a v1 or v3 UUID, or a value that merely looks the part — is correctly rejected. This matters more than it sounds: many systems accept any 8-4-4-4-12 string as a v4 UUID, and subtle bugs follow when a time-based id is later treated as random.

What the validator does not do is check whether a UUID exists anywhere — it cannot, and no tool can: uniqueness is probabilistic, not registered. If your system needs to know whether an id is already in use, the database is the authority, not the format check.

Uniqueness, randomness, and the honest limits

No generator can guarantee uniqueness. Version 4 provides 122 random bits, so the probability of a collision is astronomically small — roughly one in 2^61 for a batch of two billion values — but it is not zero, and the tool says so rather than promising certainty. For practical purposes the guarantee comes from the random source: with getRandomValues, consecutive values share no predictable pattern, which is the property that makes v4 useful in the first place.

One distinction worth keeping straight: a UUID is an identifier, not a secret. Its structure is public, it is not designed for authenticated access, and the RFC does not treat it as a credential. If you need a value that protects access — a reset token, an API key, a password — use a dedicated secret generator instead, and store it where secrets belong.

Wie wird das Ergebnis berechnet?

Drei Test-Fixtures

Erzeuge drei UUIDs für Seed-Daten. Jeder Wert hat das Version-4-Nibble (eine 4 in der dritten Gruppe) und die Varianten-Bits (8, 9, a oder b am Anfang der vierten Gruppe), z. B. 7f3a9c21-4d2e-4b8a-9c1e-2f3a4b5c6d7e — das Muster ist auf einen Blick sichtbar, sodass eine von Hand getippte Fälschung leicht zu erkennen ist.

Beispieleingabe und -ausgabe
Eingabe Wert
count 3
format lowercase, hyphenated
Ergebnis 3 gültige RFC-4122-v4-UUIDs, jede gegen Versions- und Varianten-Bits geprüft

Wie lautet die Formel und ihre Annahmen?

Konstruktion der Version 4

uuid = 122 random bits, with version = 0100 and variant = 10 fixed

Formelbegriffe
Symbol Bedeutung
version das hohe Nibble der dritten Gruppe, gesetzt auf 4
variant die beiden hohen Bits der vierten Gruppe, gesetzt auf 10

Die Zufälligkeit stammt aus dem kryptographisch sicheren getRandomValues der Plattform.

Welche Fehler sind am häufigsten?

  • Math.random() für Identifier zu verwenden — es ist nicht kryptographisch sicher; dieses Tool nutzt getRandomValues.
  • Jeden 8-4-4-4-12-String als v4-UUID zu akzeptieren — die Versions- und Varianten-Bits müssen ebenfalls stimmen.
  • UUIDs für Fixtures von Hand zu tippen — ein falsches Zeichen und der Wert ist ungültig.
  • Identifier auf einem Server zu erzeugen, der sie protokolliert — dieses Tool ist vollständig lokal.

Welche Annahmen und Grenzen gelten?

  • Nur Version 4: Das Tool erzeugt und validiert v4; v1, v3, v5 und die zeitgeordnete v7 werden nicht unterstützt.
  • Die Stapelerzeugung ist auf 100 Werte pro Stapel begrenzt, damit die Seite reaktionsfähig bleibt.
  • Eindeutigkeit ist probabilistisch, nicht garantiert — das Tool nennt die Wahrscheinlichkeiten, statt absolute Eindeutigkeit zu versprechen.

Woher stammen die Zahlen?

Zuletzt geprüft 5. August 2026 · Version 1.0.0 · Toolivaro garantiert keine externen Inhalte.

Häufig gestellte Fragen

Warum hat meine erzeugte UUID immer eine 4 in der dritten Gruppe?

Das ist das Versionsfeld: RFC-4122-Version 4 setzt das hohe Nibble dieses Bytes auf 0100 (hex 4). Jede gültige v4-UUID zeigt das — es ist kein Bug, sondern das Format.

Ist garantiert, dass zwei erzeugte UUIDs unterschiedlich sind?

Kein Generator kann Eindeutigkeit garantieren — v4 bietet 122 zufällige Bits, daher sind Kollisionen astronomisch unwahrscheinlich (etwa 1 zu 2^61 bei zwei Milliarden Werten), aber nicht unmöglich. Das Tool nutzt die kryptographische Zufälligkeit der Plattform, die stärkste im Browser verfügbare Quelle.

Was prüft der Validator?

Die Form (8-4-4-4-12 Hex-Gruppen), das Version-4-Nibble und die RFC-Varianten-Bits. Ein String mit dem richtigen Bindestrich-Muster, aber der falschen Version — etwa eine v1- oder v3-UUID — wird korrekt abgelehnt.

Can I use a v4 UUID as a password or access token?

No — treat UUIDs as identifiers, not secrets. The format is public, the value is not stored as a credential, and the RFC does not define it for authentication. Use a dedicated secret generator (like the password generator) for anything that gates access.

Are uppercase and lowercase UUIDs different values?

No. Hex digits are case-insensitive, so 7F3A9C21-… and 7f3a9c21-… are the same value. The tool normalizes output to whichever case you pick so the choice is a formatting preference, not a data difference.

Teil von Passwort-, Hash- und Sicherheits-Tools

Fehler gefunden oder eine Korrektur? Melde ihn — jede Korrektur wird geprüft.

War dieses Werkzeug hilfreich?

Überprüft vom Toolivaro-Redaktionsteam gemäß unserer Methodik Methodik · Redaktionsrichtlinie