Skip to content

Escape / unescape

Escape or unescape strings for HTML, XML, JavaScript and JSON — handles entities, unicode escapes and special characters.

Mode
Target
0 chars
Output will appear here as you type.

Features

How it works

  1. Paste the string you need to escape or unescape into the box above.
  2. Pick the target syntax — HTML, XML, JavaScript or JSON — and whether to escape or unescape.
  3. The result updates live with special characters, entities and unicode escapes handled; copy or download it.

Your files never leave this page

Every conversion runs entirely in your browser using WebAssembly. There is no upload, no server-side processing, no analytics, and no cookies. Open DevTools → Network during the operation and you will see zero outbound traffic.

Related tools

Topics covered