Escape XML-sensitive characters for safe embedding, or decode XML entities back into readable markup.
Output will appear here...
Sensitive chars
0
Known entities
0
Output chars
0
Escapes ampersands, angle brackets, and greater-than signs.
Attribute mode also escapes quotes and apostrophes.
Unescape mode decodes decimal and hexadecimal character references that are valid in XML 1.0.
XML reserves characters such as ampersands and angle brackets for markup. Escaping keeps literal content from being interpreted as tags or entity references.
This tool applies XML 1.0 character-validity rules when decoding numeric character references, so forbidden code points such as U+0000 and surrogate values are preserved instead of emitted.
Related Tools
Build and preview Valorant crosshair settings.
Search common Vim commands.
Turn JSON rows into bar, line, or pie charts.
Convert WebP files and Base64 data in both directions.
Convert GIF files into Base64 text or data URLs.
Convert the first GIF frame into a JPG image.