Skip to content
Encode & Decode

XML Decode

Decode XML text, e.g. Tom &amp; Jerry &lt;3 → Tom & Jerry <3.

  • Free
  • No sign-up
  • Runs in your browser
XML → Text

Decodes &amp; &lt; &gt; &quot; &apos; and numeric character references.

What does XML Decode do?

XML Decode turns encoded text back into the original instantly, as you type or when you press the button.

XML encoding escapes the five special characters (& < > " ') so text can go inside an XML element or attribute without breaking the document.

What you can use

Encoded text, exactly as you copied it — extra spaces or missing characters at the end will cause errors.

Example

Input

Tom &amp; Jerry &lt;3

Output

Tom & Jerry <3

How to use XML Decode

  1. Step 1

    Paste the text you want to decode.

  2. Step 2

    Run XML Decode. Errors such as invalid characters are shown under the box.

  3. Step 3

    Copy the result with one click.

Good to know

  • Encoding is reversible and is not a way to hide secrets — use real encryption for anything sensitive.
  • If the output looks like random symbols, the input was probably encoded with a different scheme or was cut off.

Your privacy

Everything happens in this browser tab: what you paste is converted by JavaScript on your device and never sent to our server. Closing the tab clears it. Even so, don’t paste live passwords, API keys or customer records into any website.

Frequently asked questions

Is XML Decode free?

Yes. XML Decode is completely free, with no sign-up, no watermark and no daily limit.

Is the data I paste sent to a server?

No. Conversion runs in JavaScript inside this browser tab and nothing you paste is sent or stored. Even so, avoid pasting live passwords, API keys or private customer data into any website.

Why do I get an error?

Almost always the input isn’t quite valid: a missing comma or quote in JSON, an unclosed tag in XML, or a tab in YAML. The error message shows where parsing stopped — fix that spot, or press “Load example” to compare with input that works.

Does it work on my phone?

Yes. It works in any modern browser on Android, iPhone, tablets and computers — nothing to install.