Guide

How to Generate UUIDs with v1, v4, or v5

Choose v1, v4, or v5, set the count and uppercase preference, then run the generator to receive textual UUID values. Without changes, it returns one v4 value without uppercase conversion.

Tool UUID Generator

Start with the right UUID format

The UUID Generator creates UUID values as text for test records, sample data, application fields, and other tasks that need identifier-style output. You can choose v1, v4, or v5 generation, request several results in one run, and apply uppercase formatting to the returned text. The starting setup uses one value, selects v4, and leaves uppercase conversion disabled. That makes the unchanged result a useful starting point when you want a single textual UUID without changing its presentation. If a receiving field has a preferred case or your task needs a group of values, adjust those controls before running the generator.

Configure and run the generator

  1. Open the UUID Generator and locate the controls for count, version, and uppercase formatting.

  2. Set the count to the number of values you need. Leaving count out produces one UUID. A value that converts successfully to an integer is limited to a minimum of 1 and a maximum of 100. If that conversion raises a ValueError or TypeError, the tool falls back to 1; other conversion exceptions are not covered by this fallback.

  3. Select v1, v4, or v5. When version is omitted, v4 is selected. The v4 option uses a random UUID generation operation. The v5 option uses fixed generation inputs, so the exposed controls do not accept a namespace, name, or another custom generation value.

  4. Enable uppercase formatting if the destination expects capital letters. Leave it disabled when the default case is suitable.

  5. Run the generator and inspect the returned values. A normalized count greater than one produces that number of UUID values.

Read and check the returned values

Read each returned UUID as text rather than as a numeric value. The tested default textual representation has a length of 36 characters, so a displayed value can be checked as text before you place it in another field. Uppercase formatting changes the letters in each returned value, while the selected count continues to determine how many values appear.

The version selection describes how the tool generates the result: v4 is the random-generation option, while v5 uses fixed inputs within this tool. Compare the number of displayed values with the count after its conversion and limits have been applied. Then check whether the letter case matches the receiving field's requirement. If your task depends on custom v5 inputs, this generator does not expose them, so another suitable workflow is needed.

Worked example

A QA analyst needs three uppercase v4 UUID values for a test-data record.

Enter 3 as the count, select v4, enable uppercase formatting, and run the generator.

The result contains 3 UUID values as text, with uppercase formatting applied to each; the tested default textual representation has a length of 36 characters.

Limitations

  • The v5 choice uses fixed generation inputs, and the exposed controls do not accept a custom namespace or name.

Common errors

  • Expecting v5 to accept a custom namespace or name causes a setup mismatch. Use the count, version, and uppercase controls provided by the generator, or choose a method that accepts those inputs.

FAQ

How many UUIDs can I generate in one run?

Omitting count produces one UUID. A successfully converted count is constrained from 1 through 100, while a ValueError or TypeError during conversion makes the tool use 1 instead.

Which version does the generator select by default?

When version is omitted, v4 is selected. The generator provides v1, v4, and v5 choices, and the v4 selection uses a random UUID generation operation.

How do I get uppercase UUID text?

When uppercase formatting is enabled, each returned UUID text is converted to uppercase. If that option is omitted, the generated text is not converted to uppercase.

Tool

UUID Generator