3
0

UUID v4 Generator

Egor VolchenkoEgor Volchenko
CreatedOct 28, 2026
UpdatedOct 28, 2026

This UUID v4 generator creates batches of random identifiers with optional hyphens and uppercase letters. Use it for test records and random correlation IDs, then copy the newline-separated list. The initial browser result and the API response used by Generate are separate generation paths.

1
Quantity (UUIDs)

How to use UUID v4 Generator

Set a batch size and the required text representation before copying identifiers.

Generate a UUID v4 batch

  1. Choose Quantity (UUIDs) from 1 to 500. The initial value is 5.
  2. Keep Hyphens (standard) enabled for the usual grouped form. Turn on Uppercase (A-F) if the receiving system expects uppercase Hex.
  3. Click Generate UUID v4 and wait for the output to settle. The shared API request can replace the list first produced in the browser.
  4. Check UUID v4 Generator Output, then click Copy to copy the newline-separated list. Check the count and required text format before using it.
  5. Use Clear where shown or the output clear control to remove the list. Generation settings remain separate from the output text.

Set Quantity (UUIDs) to 3 and keep Hyphens (standard) on. The output contains three separate UUID-shaped lines. Each hyphenated UUID has 4 as the first character of its third group; the generated values will vary.

Recognize a random UUID

A standard UUID v4 contains 122 random bits plus version and variant bits. The browser uses crypto.randomUUID when available and otherwise fills bytes with crypto.getRandomValues. The version marker is 4 in the third group of the hyphenated form.

Keep identifiers separate from secrets

Random UUIDs are useful for test records and correlation IDs, but the page can submit displayed values to its API. Use a dedicated secret-generation workflow for authentication tokens. No generator can promise that random identifiers will never collide, even though collisions are extremely unlikely with a sound implementation.

Frequently asked questions

GUID is a common name for this style of identifier. Systems may use different letter case or wrappers, but the underlying 128-bit value can be the same. This form offers case and hyphen controls, without braces or a GUID-specific wrapper.

API — Bulk UUID v4 Values

Automate this tool directly from your scripts, CI/CD pipelines, or backend applications via HTTP POST.

No API Key Required 60 req/min
https://million.tools/api/v1/run/uuid-v4

Request Parameters (JSON / Form Data)

  • uuid_count

    Quantity (UUIDs)

    Type: number Default: 5
  • uuid_hyphens

    Hyphens (standard)

    Type: boolean Default: true
  • uuid_uppercase

    Uppercase (A-F)

    Type: boolean Default: false
bash — cURL
curl -X POST https://million.tools/api/v1/run/uuid-v4 \
  -H "Content-Type: application/json" \
  -d '{"uuid_count":1}'
const response = await fetch('https://million.tools/api/v1/run/uuid-v4', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
      "uuid_count": 1
  }),
});

const data = await response.json();
console.log(data.result);
import requests

response = requests.post(
    'https://million.tools/api/v1/run/uuid-v4',
    json={
        "uuid_count": 1,
    },
    timeout=15,
)

data = response.json()
print(data['result'])
$ch = curl_init('https://million.tools/api/v1/run/uuid-v4');
curl_setopt_array($ch, [
    CURLOPT_POST           => true,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER     => ['Content-Type: application/json'],
    CURLOPT_POSTFIELDS     => json_encode([
        'uuid_count' => 1,
    ]),
]);

$response = json_decode(curl_exec($ch), true);
curl_close($ch);

echo $response['result'] ?? '';
{
    "status": "success",
    "tool": "uuid-v4",
    "service": "generator_uuid_v4",
    "result": "c8189c8a-2f9a-4946-aaad-aaee4859aa99",
    "results": {
        "result": "c8189c8a-2f9a-4946-aaad-aaee4859aa99"
    }
}
Egor Volchenko
Egor Volchenko Developer & Author

Hi! I’m a WordPress developer with over 10 years of experience. I love Tailwind CSS, clean code, and intuitive interfaces. I’m currently working on million.tools — a service with convenient online tools for everyday tasks. I’m building it from scratch with great attention to detail and user experience.

Published:
Updated:

Ratings & feedback 0

Share your experience with this tool.

Leave feedback

Your rating (optional)

Select a rating

Write a review, leave a rating, or do both.

Your email stays private.

No feedback yet

Be the first to leave a review or rating.