HTML Entity Encoder and Decoder
Encode and decode HTML named, decimal and hexadecimal entities.
Escape strings for JSON, JavaScript, Python, PHP, XML, and HTML.
Encode and decode HTML named, decimal and hexadecimal entities.
Escape and unescape JSON string content safely.
Escape JavaScript string literals and decode JS escape notation without eval.
Escape and unescape PHP-style single and double quoted strings.
Convert Python string escapes without executing Python code.
Convert text to and from Unicode escape sequences and numeric entities.
Encode and decode HTML named, decimal and hexadecimal entities.
Escape and unescape JSON string content safely.
Escape JavaScript string literals and decode JS escape notation without eval.
Escape and unescape PHP-style single and double quoted strings.
Convert Python string escapes without executing Python code.
Convert text to and from Unicode escape sequences and numeric entities.
Escape and decode XML entities and numeric character references.
Local tools process input in the browser. API calls are optional for automation.
Use the inspector when you are unsure what changed in a string.