Encoding
XML Escape
Escape XML reserved characters to their entity form. Produces safe XML text content.
Output will appear here…Why use our XML Escape?
100% private
Everything runs in your browser. Your data never leaves your device — safe for production payloads.
Instant results
No round trips, no rate limits, no login. Format, validate and inspect megabytes of JSON in milliseconds.
Standards-first
Follows RFC 8259 / ECMA-404 exactly. Reports errors with precise line and column diagnostics.
Related developer tools
XML Unescape
Decode XML entities back to characters — supports named, numeric and hexadecimal entity references.
OpenHTML Escape
Escape HTML special characters (< > & " ') to entities. Safe injection into HTML markup.
OpenCSV Escape
Escape a value for safe inclusion in a CSV cell — quotes fields containing commas, quotes or newlines.
OpenHTML Unescape
Decode HTML entities back to characters — supports & < numeric ' and hex ' forms.
OpenJava Escape
Escape a plain string into a Java string literal — non-ASCII characters escaped as \uXXXX.
OpenJavaScript Escape
Escape a plain string into a JavaScript string literal — handles quotes, backslashes and control characters.
OpenRelated reading
Deep-dive guides that pair well with the XML Escape.