---
title: "__unescape"
description: "JMeter __unescape function reference: syntax, parameters, and practical examples for parameterizing test plans with dynamic values."
url: https://docs.jmeter.ai/functions/unescape/
lastUpdated: 2026-10-01
source: docs.jmeter.ai
---

# __unescape

*Also documented in context in the [full Functions and Variables reference](/user-manual/functions/#__unescape).*

The unescape function returns the result of evaluating a Java-escaped string. See also `__char()` above.

This allows one to add characters to fields which are otherwise tricky (or impossible) to define via the GUI.

| Name | Required | Description |
| --- | --- | --- |
| String to unescape | Yes | The string to be unescaped. |

Examples:

`\${__unescape(\r\n)}` = `CRLF`

`\${__unescape(1\t2)}` = `1`[tab]`2`

## Related

- [Functions and Variables Guide](/topics/functions-and-variables/)
- [Regex Extractor Builder](/tools/regex-tester/)
- [Full Functions Reference](/user-manual/functions/)
- [Component Reference](/user-manual/component-reference/)
