About XML Escape / Unescape
This tool converts reserved XML/HTML characters to entities (and back) to prevent parsing conflicts.
Key Features
- XML Escape: Converts reserved characters to entity references.
- XML Unescape: Restores entities to original characters.
- Copy Output: One-click result copy.
- Sample Input: Quick validation with example text.
Common Entities
| Character | Entity |
|---|---|
& |
& |
< |
< |
> |
> |
" |
" |
' |
' |
Steps
- Enter XML/text input.
- Choose escape or unescape.
- Review and copy output.
FAQ
Why do I get double-escaped output like &amp;?
You likely escaped content that was already escaped. Verify input state before converting.
Can I use it for HTML?
Yes for common entity handling, but complex templates should still be validated in your rendering stack.