Skip to content
Simple Tools

Practical guide

How to generate UUID and GUID v4

A record identifier need not contain time or a device name. This guide shows how to generate a UUIDv4 list and check its spelling without confusing correct format with guaranteed uniqueness or access control.

Simple Tools editorial teamReviewed: 2 October 2026

Choose count and letter case

Open the generator, enter a whole number from 1 to 100, choose lower or upper case and select “Process”. Output contains one identifier per line. Copy the whole list and split on line breaks when importing. Running again requests fresh randomness rather than reproducing an earlier list.

UUID and GUID share one workflow and the same textual UUIDv4 format here. Uppercase changes only hexadecimal spelling, not version or identifier value. Braces, a urn:uuid: prefix and binary representation are not added. Check destination documentation if it requires one of these representations.

Check version, variant and hyphens

The spelling contains 32 hexadecimal digits in groups of 8-4-4-4-12, or 36 characters including hyphens. The third group starts with 4. The fourth starts with 8, 9, a or b, using A or B for uppercase output. This checks format, not randomness.

The table uses synthetic bytes only to illustrate version and variant bits. All-zero and all-ff bytes are not the user-facing randomness source or a production identifier list. Real output will differ; compare layout and settings instead of expecting the identical identifier.

Synthetic source: bit-layout illustration only
16 input bytesUUIDv4
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000000000-0000-4000-8000-000000000000
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffffffffff-ffff-4fff-bfff-ffffffffffff

Randomness and uniqueness limits

The generator uses browser Web Crypto. It obtains 16 bytes per identifier and sets six version and variant bits, leaving 122 random bits. An unavailable API produces an error rather than falling back to Math.random. Output embeds neither a timestamp nor the device MAC address.

Random selection cannot guarantee zero collisions. The tool checks no global registry and does not deduplicate the list. When saving records, apply a uniqueness constraint, handle conflicts and regenerate under your application’s logic. Do not judge randomness quality from the appearance of a few outputs.

An identifier is not access control

A UUID can identify a test record or event. A hard-to-guess address alone does not replace authentication or authorization for a particular object. Do not use this list as passwords, API keys, session tokens or signatures. Those purposes need a separate security design.

This tool does not create time-ordered identifiers, support namespaces or convert platform-specific byte order. If an integration needs version 5, version 7 or a particular database column type, do not manually alter UUIDv4 digits. Match generation and storage to the system contract.

Recognize errors and check importing

Zero, fractional counts and values above 100 are unsupported. If Web Crypto is unavailable, use a compatible browser rather than substituting the fixed table example. Reset restores one identifier and lowercase. Select your options again before producing another larger list.

Before importing, count the lines and check whether an editor added spaces, quotes or empty records. Store identifiers as text or the destination’s appropriate UUID type. Regeneration creates another list; if IDs have already been assigned to records, do not replace them without a migration plan.

Privacy, copying and reset

For conversions and schemas, use short anonymized samples instead of production exports. Input and output are processed in the browser without sending them to analytics or keeping history in localStorage or sessionStorage. Page loading still connects your device to hosting. Extensions and clipboard contents remain outside this protection.

Editing clears the old result; select “Process” again. Copying is a separate action. “Clear” restores the form and initial options but cannot remove earlier copies, saved files or printouts. When reporting an issue, include a short synthetic example, selected options and expected output. Do not include secrets or customer data.

Frequently asked questions

Does GUID need a separate generator?

No. Both labels use the same textual UUIDv4 format here.

Is output always unique?

There is no such guarantee. Apply uniqueness checks and conflict handling in the destination system.

Can I generate UUIDv7?

No. This page supports UUIDv4 only, without timestamps or sequences.

Does clearing remove the clipboard copy?

No. The form is reset; earlier clipboard copies, files or printouts need separate removal.

Sources and scope

Examples are synthetic. Limits and supported options describe this site’s tools, not the full standards. Check output in its destination system. This guide does not establish API-contract compliance, configuration security or business-rule correctness.

Tools covered by this guide

Generator

UUID and GUID generator

Generate 1–100 UUIDv4 identifiers using Web Crypto randomness, locally and without a timestamp.

Generator

JSON to YAML converter

Convert JSON into readable YAML with quoted strings, no anchors and unchanged number tokens.

Generator

YAML to JSON converter

Read a single YAML 1.2 document and produce JSON without alias expansion or lost large numbers.

Generator

JSON Schema generator

Create a working JSON Schema 2020-12 from a sample with an explicit additional-object-members policy.