# UUID generator

> Generate UUIDs online: random version 4 or time-ordered version 7, one or a hundred at a time, upper or lower case. Free, copy in a click.

Free tool by Orkosi. Page: https://orkosi.com/tools/uuid-generator

Need IDs for test data, a migration or a new table? Generate them in bulk. Version 4 is fully random; version 7 starts with the time, so rows sort in the order they were created.

1. Choose the version.
2. Set how many you need.
3. Press Generate and copy the list.

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `version` | "v4" \| "v7" | no | Version. Default: "v4". |
| `count` | integer | no | How many. Default: 5. |
| `uppercase` | true \| false | no | Upper case. Default: false. |

## Example

Input:

```json
{
  "version": "v7",
  "count": 5
}
```

Result:

```json
{
  "uuids": "01a2124b-4026-76b0-9111-f02c0bef5d06\n01a2124b-4026-7c3b-9dae-95ca24c14e4a\n01a2124b-4026-790a-8568-16a86680aead\n01a2124b-4026-7a3a-92f6-4acb96c88410\n01a2124b-4026-7dfa-be81-56182dda31b6",
  "count": 5,
  "version": "v7"
}
```

## Run it

It needs a free Orkosi account, nothing else. No credits are used.

- **A person**: open the page, enter an e-mail once, use the tool.
- **Claude or ChatGPT**: add the Orkosi connector `https://orkosi.com/api/v1/public/mcp` and sign in, or create the free account on the sign-in page. Then call `orkosi_run_free_tool` with `{ "tool": "uuid-generator", "input": { … } }`.
- **Any agent or program that can make an HTTP request**:

  1. Once, create the account: `POST https://orkosi.com/api/v1/public/signup` with `{ "name": "…", "email": "…", "terms_accepted": true }` and no key. Ask the person for the e-mail and their agreement to the terms first. The answer carries `data.api_key`, shown once.
  2. Run the tool:

```bash
curl -X POST https://orkosi.com/api/v1/public/tools/uuid-generator/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"version":"v7","count":5}}'
```

The answer is `{ "data": { "tool": "…", "result": { … } } }`. A call without a key is answered 401 with the signup steps as data.

## Questions

**UUID v4 or v7: which should I use?**

v7 for database primary keys: it sorts by creation time, which keeps indexes compact. v4 when the ID must reveal nothing, not even when it was made.

**Can two UUIDs collide?**

In practice, no. A v4 UUID has 122 random bits; you would need to generate billions per second for decades to expect one repeat.

**Are they generated securely?**

Yes, from the operating system's cryptographic random source.

All free tools: https://orkosi.com/tools.md
