> ## Documentation Index
> Fetch the complete documentation index at: https://docs.condotta.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# UUID Tools

> Generate UUIDs, NanoIDs, ULIDs, and custom format IDs.

The UUID Tools connector generates unique identifiers in various formats: UUID v4, UUID v7, NanoID, ULID, and custom patterns.

> [!NOTE]
>
> No connection required; this utility connector works out of the box.

## Tools

> [accordion] generate: Generate UUID v4
>
> Generate random UUID v4 identifiers.
>
> **count** `number` (default: 1)
>
> Number of UUIDs to generate.
>
> **uppercase** `boolean` (default: false)
>
> Use uppercase characters.
>
> **Example request:**
>
> ```json theme={null}
> { "count": 3 }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "items": [
>     "f47ac10b-58cc-4372-a567-0e02b2c3d479",
>     "7c9e6679-7425-40de-944b-e07fc1f90ae7",
>     "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d"
>   ],
>   "count": 3,
>   "version": 4
> }
> ```

> [accordion] generate-v7: Generate UUID v7
>
> Generate time-ordered UUID v7 identifiers (sortable by creation time).
>
> **count** `number` (default: 1)
>
> Number of UUIDs to generate.
>
> **uppercase** `boolean` (default: false)
>
> Use uppercase characters.
>
> **Example request:**
>
> ```json theme={null}
> { "count": 1, "uppercase": true }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "items": [
>     "019049E6-3B8A-7D4F-9C2E-1A5B3D7F8E0C"
>   ],
>   "count": 1,
>   "version": 7
> }
> ```

> [accordion] validate: Validate UUID
>
> Check if a string is a valid UUID.
>
> **uuid** `string` *required*
>
> String to validate.
>
> **Example request:**
>
> ```json theme={null}
> { "uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479" }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": true,
>   "version": 4
> }
> ```

> [accordion] parse: Parse UUID
>
> Extract version, variant, and other components from a UUID.
>
> **uuid** `string` *required*
>
> UUID to parse.
>
> **Example request:**
>
> ```json theme={null}
> { "uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479" }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "valid": true,
>   "version": 4,
>   "variant": "RFC 4122",
>   "hex": "f47ac10b58cc4372a5670e02b2c3d479",
>   "parts": {
>     "timeLow": "f47ac10b",
>     "timeMid": "58cc",
>     "timeHighAndVersion": "4372",
>     "clockSeqAndReserved": "a5",
>     "clockSeqLow": "67",
>     "node": "0e02b2c3d479"
>   }
> }
> ```

> [accordion] nanoid: Generate NanoID
>
> Generate compact, URL-safe unique identifiers.
>
> **size** `number` (default: 21)
>
> Length of the ID.
>
> **count** `number` (default: 1)
>
> Number of IDs to generate.
>
> **alphabet** `string`
>
> Custom alphabet characters.
>
> **Example request:**
>
> ```json theme={null}
> { "size": 12, "count": 2 }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "items": [
>     "V1StGXR8_Z5j",
>     "kP3mQ7xW9yLn"
>   ],
>   "count": 2
> }
> ```

> [accordion] ulid: Generate ULID
>
> Generate Universally Unique Lexicographically Sortable Identifiers.
>
> **count** `number` (default: 1)
>
> Number of ULIDs to generate.
>
> **lowercase** `boolean` (default: false)
>
> Use lowercase characters.
>
> **Example request:**
>
> ```json theme={null}
> { "count": 1 }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "items": [
>     "01HY5E3QVNXKJ2R8GZMTPB4WFC"
>   ],
>   "count": 1
> }
> ```

> [accordion] ulid-timestamp: Extract ULID timestamp
>
> Extract the timestamp encoded in a ULID.
>
> **ulid** `string` *required*
>
> ULID to extract timestamp from.
>
> **Example request:**
>
> ```json theme={null}
> { "ulid": "01HY5E3QVNXKJ2R8GZMTPB4WFC" }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "timestamp": 1716480000000,
>   "iso": "2024-05-23T17:20:00.000Z"
> }
> ```

> [accordion] custom: Generate custom format ID
>
> Generate an ID with a custom format, prefix, and character set.
>
> **prefix** `string`
>
> ID prefix (e.g., `usr_`, `ord_`).
>
> **length** `number` (default: 12)
>
> Length of the random part.
>
> **charset** `string` (default: alphanumeric)
>
> Character set: `alphanumeric`, `numeric`, `hex`, `alpha`, or `custom`.
>
> **customChars** `string`
>
> Custom character set (when `charset` is `custom`).
>
> **separator** `string`
>
> Separator character to insert.
>
> **separatorEvery** `number` (default: 4)
>
> Insert separator every N characters.
>
> **uppercase** `boolean` (default: false)
>
> Use uppercase characters.
>
> **count** `number` (default: 1)
>
> Number of IDs to generate.
>
> **Example request:**
>
> ```json theme={null}
> {
>   "prefix": "ord_",
>   "length": 16,
>   "charset": "hex",
>   "separator": "-",
>   "separatorEvery": 4,
>   "uppercase": true
> }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "items": [
>     "ord_A3F1-B7C2-D9E4-F506"
>   ],
>   "count": 1
> }
> ```

> [card] [Try this free for 14 days](https://preview.condotta.ai/signup)
>
> Start a 14-day trial on Band 1. At day 14, choose your band, or stop.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.