Escape & Encode
XML Escape
Paste text to escape for XML. Ampersands, angle brackets and quotes become entities as you type.
Escape & Encode
Paste text to escape for XML. Ampersands, angle brackets and quotes become entities as you type.
XML Escape rewrites the characters that must not appear raw in XML text. Ampersands become &, less-than signs become < and greater-than signs become >. Apostrophes and double quotes become ' and " unless you turn those options off.
A C0 control other than tab, line feed or carriage return cannot be stored in XML 1.0. The conversion stops on the first one and points at that character instead of writing a numeric reference. Letters, emoji and every other character stay as typed. No other named entities are written.
Escaping runs in your browser. Swap sends the result to XML Unescape so you can check that decoding brings the original text back.
It replaces ampersands, less-than signs and greater-than signs with &, < and > so the text can sit in an XML document. With the default options an apostrophe becomes ' and a double quote becomes ".
XML 1.0 cannot store C0 controls other than tab, line feed and carriage return, such as a null or a bell. The tool stops on the first one and selects it. Those characters are not turned into numeric references.
Turn Escape apostrophe or Escape double quote off when you are writing element text and want those characters left raw. Ampersands and both angle brackets are always escaped. The defaults stay on because attribute values need the entities.
No other names are written. A non-breaking space stays a non-breaking space, and an emoji stays an emoji. Only &, <, >, " and ' are produced.
No. Escaping runs in your browser and the text you paste is never uploaded, logged or stored. Google Analytics records page views and feature use, never content.
Decode XML entities back to characters as you type, including numeric character references. Runs in your browser; your text is never uploaded.
Turn text into a valid JSON string literal, or decode one back to plain text.
Percent-encode text for a URL, or decode a percent-encoded string.
Encode text as Base64, or decode Base64 back to text.
Escape text for HTML, or decode entities back to characters.
Iternal · AI Blueprint Builder
The AI Blueprint Builder scores each use case across value, feasibility, cost, governance, risk, adoption and readiness before you commit budget. Free to start, about 60 minutes.
Open the AI Blueprint Builder (opens in a new tab)↑↓ to move · ↵ to open · esc to close
aiformatting.app cleans up the text. The AI Blueprint Builder ranks the AI initiatives your team is weighing, scoring each use case across value, feasibility, cost, governance, risk, adoption and readiness before you commit budget.
Free to start · about 60 minutes · iternal.ai
Every tool here stays free, with no account to create. Leave a work email and the team behind aiformatting.app will send the occasional note on practical AI tooling.