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

# __unescapeHtml

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

Function to unescape a string containing HTML entity escapes
to a string containing the actual Unicode characters corresponding to the escapes.
Supports HTML 4.0 entities.

For example, the string

```bash
\${__unescapeHtml(&lt;Fran&ccedil;ais&gt;)}
```

will return `&lt;Français&gt;`.

If an entity is unrecognized, it is left alone, and inserted verbatim into the result string.
e.g. `\${__unescapeHtml(&gt;&zzzz;x)}` will return `&gt;&zzzz;x`.

Uses `StringEscapeUtils#unescapeHtml(String)` from Commons Lang.

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

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