FreeDev Tools

XML Escape / Unescape

Escape the five XML special characters to entities, or decode entities back to text.

Runs locally in your browser. Your input is not uploaded.

How to Use

  1. 1

    Pick the direction

    Escape plain text, or Unescape entity-encoded text.

  2. 2

    Paste the content

    Element text or attribute values both work.

  3. 3

    Copy the result

    Safe to place inside any XML element or attribute.

Frequently Asked Questions

Five: & becomes &amp;, < becomes &lt;, > becomes &gt;, " becomes &quot;, and ' becomes &apos;. This tool converts all of them in one pass.