XML Escape - Convert Special Characters | Online Free DevTools by Hexmos
Convert special XML characters with XML Escape. Encode strings, stdin input, and sanitize data for safe XML parsing. Free online tool, no registration required.
xml escape
Escape special XML characters, e.g.
<a1>→<a1>. More information: https://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html#idm47077139540960.
- Escape special XML characters in a string:
xml {{[esc|escape]}} "{{<a1>}}"
- Escape special XML characters from
stdin:
echo "{{<a1>}}" | xml {{[esc|escape]}}
- Display help:
xml {{[esc|escape]}} --help