---
title: "escape · RUAL Documentation"
description: "Converts the characters \"&\", \"\", '\"', and \"'\" in string to their corresponding HTML entities."
canonical: https://docs.rual.nl/block-types/value/value_escape
language: en
---

# escape

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

Converts the characters "&", " ", '"', and "'" in string to their corresponding HTML entities.

- Raw required `value` Value to escape

- value `value`

HTML-escapes exactly five characters - & < > " ' - into &amp; &lt; &gt; &quot; &#39;. ALL occurrences are replaced in one pass and nothing else is touched; already-escaped text is escaped again ("&amp;" becomes "&amp;amp;").

A typical wiring for [escape](https://docs.rual.nl/block-types/value/value_escape): [value](https://docs.rual.nl/block-types/value/value_default) feeds the `value` pin; the `value` out pin feeds [convert to uppercase](https://docs.rual.nl/block-types/value/value_to_uppercase).

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

### Version history

Introduced in [`v11.0.1`](https://docs.rual.nl/core-versions/110001).
