Skip to main content
Makes a text value safe to place inside HTML by replacing special characters with their HTML entity codes, for example an ampersand (&) becomes &amp; and a less-than sign (<) becomes &lt;. Use this when you are building HTML output or sending text to a system that expects special characters to be escaped. This is the opposite of decoding HTML entities.

Fields

This mapper has no settings. It always encodes the whole value.

Sample data

FieldValue
(none)encodes special characters as HTML entities
Input:
{ "title": "Tom & Jerry <Special>" }
Output:
{ "title": "Tom &amp; Jerry &lt;Special&gt;" }