XML Unescape

Convert XML entities back to their original characters. Unescape < > & and more instantly.

Output will appear here

Common XML Entities

&lt;<
&gt;>
&amp;&
&quot;"
&apos;'
&#60;<

Unescape XML Entities Instantly

XML entities encode special characters to prevent parsing issues. This tool converts those entities back to readable characters, or escapes plain text for safe XML inclusion.

XML Processing

Why Use This Tool?

Real-Time

Instant conversion as you type.

Bidirectional

Switch between escape and unescape modes.

Private

100% client-side processing.

How this XML Unescape works

This tool converts XML character entities back to their original characters using systematic string replacement. The decoder handles the five predefined XML entities: &lt; (less-than), &gt; (greater-than), &amp; (ampersand), &quot; (double quote), and &apos; (apostrophe). Additionally, it processes numeric character references in both decimal and hexadecimal formats.

The escape mode performs the reverse operation, converting special characters to their entity equivalents to make text safe for inclusion in XML documents. This prevents characters like < and & from being interpreted as markup, which would cause parsing errors.

Real-time processing provides instant feedback as you type. All processing runs entirely in your browser, ensuring complete privacy for sensitive configuration data or proprietary XML content.

How to Use

1

Choose Mode

Select unescape to convert XML entities to characters, or escape to do the reverse.

2

Enter Text

Paste your XML/HTML content with entities or plain text.

3

Get Result

Copy the unescaped or escaped result instantly.

Example Usage

Unescaping XML entities:

Input
&lt;p&gt;Hello&lt;/p&gt;
Output
<p>Hello</p>

Frequently Asked Questions

What are XML entities?
XML entities are special character representations like &lt; for <, &gt; for >, &amp; for &, used to safely include special characters in XML/HTML.
When should I unescape XML?
When you have encoded XML/HTML content from APIs, databases, or logs that you need to read or process as actual markup.
Is my data safe?
Yes, all processing happens in your browser. No data is sent to any server.

Related Tools

The XML Unescape is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.