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

# __char

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

The char function returns the result of evaluating a list of numbers as Unicode characters.
See also `__unescape()`, below.

This allows one to add arbitrary character values into fields.

| Name | Required | Description |
| --- | --- | --- |
| Unicode character number (decimal or 0xhex) | Yes | The decimal number (or hex number, if prefixed by `0x`, or octal, if prefixed by `0`) to be converted to a Unicode character. |

Examples:

`\${__char(13,10)}` = `\${__char(0xD,0xA)}` = `\${__char(015,012)}` = `CRLF`

`\${__char(165)}` = `¥` (yen)

## 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/)
