---
title: "generate uuid · RUAL Documentation"
description: "Generates a random universally unique identifier according to the RFC 4122"
canonical: https://docs.rual.nl/block-types/value/value_uuid
language: en
---

# generate uuid

This block is part of the [`value`](https://docs.rual.nl/block-types/value) group and was last modified in core [`v12.0.4`](https://docs.rual.nl/core-versions/120004).

Generates a random universally unique identifier according to the RFC 4122

- uuid `value`

Outputs a random version 4 UUID in canonical lowercase hyphenated form (36 characters); a new value on every execution. Not deterministic and not derived from any input.

A typical wiring for [generate uuid](https://docs.rual.nl/block-types/value/value_uuid): the `value` out pin feeds [rename](https://docs.rual.nl/block-types/files/file_rename).

![Studio canvas example for the generate uuid block: typical wiring for generate uuid.](https://docs.rual.nl/canvas-examples/value_uuid.png)

### Commonly used with

In production blueprints, this block is most often wired together with:

- [rename](https://docs.rual.nl/block-types/files/file_rename): this block feeds into it. Renames the given files.

- [concatenate values](https://docs.rual.nl/block-types/value/value_concatenate): this block feeds into it.

- [replace](https://docs.rual.nl/block-types/value/value_replace): this block feeds into it. Returns a new value with one, some, or all matches of a pattern replaced by a replacement.

- [set fields](https://docs.rual.nl/block-types/mutations/mutations_set_bp_field_multiple): this block feeds into it. Generates an array of mutations based on the given filled fields.

### Version history

Introduced in [`v12.0.4`](https://docs.rual.nl/core-versions/120004).
