# UUID to Integer

## Description

This operation converts a valid UUID identifier into its corresponding integer representation.

UUIDs are 128-bit identifiers that are generated to be unique, typically represented as 32 hexadecimal digits, displayed in 5 groups separated by hyphens.

***

## Data types

These are the input/output expected data types for this operation:

### Input data

<img src="https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2F6GuAnpV6Z0PLg1eBmANb%2Fimage.png?alt=media&#x26;token=65feda0c-8dc9-44af-87f3-ec0fc3b2090a" alt="" data-size="line"> - UUID values you want to transform.&#x20;

Accepts standard UUID format with hyphens (e.g., `9adaaf21-565a-4a62-95a3-aeda20797bb5`). The input is case-insensitive (uppercase and lowercase hex characters are supported) and must contain exactly 32 hexadecimal characters (excluding hyphens).

### Output data

<img src="https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2FUAfIIacPcQhMREihQ918%2Fimage.png?alt=media&#x26;token=d1a3c98b-14a7-41d8-9b16-5c5fafbc4b3c" alt="" data-size="line"> - Integer representation of the input UUIDs.

It returns a string to handle large values. The value represents the UUID as a base-10 integer.

***

## Example

Suppose you want to **transform** a series of **UUIDs** into their corresponding **integer** values.To do it:

1. In your Pipeline, open the required [Action](https://docs.onum.com/the-workspace/pipelines/actions) configuration and select the input **Field**.
2. In the **Operation** field, choose **UUID to Integer**.
3. Give your **Output field** a name and click **Save**. The values in your input field will be transformed. For example:

```
Input data - "00000000-0000-0000-0000-0000013a14ea"

Output data - "20583658"
```

{% hint style="info" %}
You can try out operations with specific values using the **Input** field above the operation. You can enter the value in the example above and check the result in the **Output** field.
{% endhint %}
