UUID-Generator

Zufällige UUID/GUID-Werte in Stapeln erstellen.

// about

Über dieses Tool

Eine UUID (oder GUID) ist eine eindeutige, 36-stellige ID aus Zahlen und Buchstaben. Sie sorgt dafür, dass sich Dateien oder Datenbankeinträge nie überschneiden.

So verwenden Sie es

  1. Wählen Sie die Anzahl der UUIDs (1 bis 100).
  2. Wählen Sie Groß- oder Kleinschreibung.
  3. Klicken Sie auf 'Generieren' und kopieren Sie die Ergebnisse.

Warum dieses Tool genutzt wird

  • Generiert garantiert einzigartige IDs ohne Überschneidungen.
  • Erstellt bis zu 100 IDs gleichzeitig mit nur einem Klick.
  • Wahlweise in Groß- oder Kleinschreibung.

Häufig gestellte Fragen (FAQ)

Wie sieht eine UUID aus?

Sie sieht aus wie 123e4567-e89b-12d3-a456-426614174000, getrennt durch Bindestriche.

Können zwei UUIDs identisch sein?

Mathematisch gesehen ist die Wahrscheinlichkeit für zwei gleiche UUIDs praktisch null.

Welche UUID-Version wird hier erstellt?

Dieses Tool erzeugt Version-4-UUIDs, die auf Zufallszahlen basieren.

Ratgeber · Daten · 7 Min. Lesezeit

UUID-Leitfaden: v4 oder v7 und UUIDs als Primärschlüssel in Datenbanken

Zeichenketten wie 550e8400-e29b-41d4-a716-446655440000 kennzeichnen überall Bestellungen, Dateien und API-Anfragen. Erfahren Sie, wie UUIDs erzeugt werden und welche Version Sie wählen sollten.

Eine UUID (Universally Unique Identifier) ist ein 128-Bit-Bezeichner, mit dem jeder kollisionsfreie IDs erzeugen kann, ohne einen zentralen Server zu fragen. Microsoft nennt sie GUID. Der aktuelle Standard ist RFC 9562 aus dem Jahr 2024.

Aufbau einer UUID, Unterschiede der Versionen, warum Kollisionen praktisch ausgeschlossen sind und warum v7 bei Primärschlüsseln v4 ablöst.
Ratgeber lesen →
Mit KI bauen

Dieses Tool selbst mit KI bauen

Sie möchten eine eigene Version? Kopieren Sie den Arbeitsauftrag in einen KI-Chat oder speichern Sie die Skill-Datei für einen KI-Coding-Agenten. Beide enthalten die Funktionen, Sonderfälle und Testfälle, die wir verwendet haben.

Prompt und Skill sind auf Englisch, das KI-Tools in jeder Sprache gut verstehen.

KI-Arbeitsauftrag (Prompt)

Unverändert in Claude, ChatGPT oder Gemini einfügen.

You are an experienced full-stack web developer. Build a web tool called "UUID-Generator" that meets the requirements below.

## Goal

Build a generator for UUID v4 (random) and v7 (time-ordered).

## Core features

- Choose version v4 or v7
- Generate 1 to 1,000 at once
- Upper/lower case and with/without hyphens
- Output as lines, comma-separated or a JSON array
- Copy all

## Inputs

- Version, count, format options

## Outputs

- List of UUIDs
- Text in the chosen format

## Edge cases and handling rules

- Keep v7 values sortable even within the same millisecond
- Prevent counts above the limit
- Fallback for browsers without crypto.randomUUID
- Set version and variant bits according to RFC 9562

## Implementation requirements

- Build it as a single page (HTML, CSS, JavaScript) that runs entirely in the browser, and never send the user's input to a server.
- Make the UI responsive and easy to use on mobile; label every input and keep everything keyboard accessible.
- Add a Copy button for results and show clear, friendly error messages for invalid input.
- Keep the core logic in functions separate from the UI so it can be unit-tested.

## Definition of done (test cases)

- The third group of a v4 UUID starts with '4'
- Several v7 values sort in creation order
- Removing hyphens yields 32 characters

First outline your implementation plan in at most five lines, then write the complete code, and finally explain how to check the test cases above.

Skill (SKILL.md)

Als .claude/skills/build-uuid-generator/SKILL.md speichern, damit Agenten wie Claude Code es bei jeder Änderung am Tool wiederverwenden.

---
name: build-uuid-generator
description: Use when building or changing a UUID-Generator tool. Build a generator for UUID v4 (random) and v7 (time-ordered).
---

# Build: UUID-Generator

## Goal

Build a generator for UUID v4 (random) and v7 (time-ordered).

## Workflow

1. Review the required features, inputs and outputs below and ask about anything missing first.
2. Implement the core logic as pure functions separate from the UI.
3. Check the logic against the test cases in the verification list.
4. Build a responsive UI with an input form, a result area and a Copy button.
5. Reproduce each edge case listed under Rules and refine the error messages.

## Core features

- Choose version v4 or v7
- Generate 1 to 1,000 at once
- Upper/lower case and with/without hyphens
- Output as lines, comma-separated or a JSON array
- Copy all

## Inputs

- Version, count, format options

## Outputs

- List of UUIDs
- Text in the chosen format

## Rules

- Keep v7 values sortable even within the same millisecond
- Prevent counts above the limit
- Fallback for browsers without crypto.randomUUID
- Set version and variant bits according to RFC 9562
- Build it as a single page (HTML, CSS, JavaScript) that runs entirely in the browser, and never send the user's input to a server.

## Verification

- [ ] The third group of a v4 UUID starts with '4'
- [ ] Several v7 values sort in creation order
- [ ] Removing hyphens yields 32 characters

Tipps für die Arbeit mit KI

  • Nennen Sie in der ersten Zeile Ihren Stack (React, Vue oder reines HTML), damit der Code passt.
  • Lassen Sie die KI die Testfälle ausführen und die Ergebnisse zeigen, bevor Sie den Code übernehmen.
  • Fügen Sie keine echten Passwörter, Kundendaten oder API-Schlüssel ein; nutzen Sie Beispielwerte.