String Escape Studio

Escape and unescape text for HTML, XML, JavaScript strings, shell, and regex — per-mode entity maps with round-trip checks.

54 / 1,048,576
Input
Output

Non-reversible cases (documented): unknown named entities like   pass through verbatim on unescape, and regex class escapes like \d stay literal — only escaped metacharacters are unescaped. Malformed numeric references, unterminated JS escapes, and unbalanced shell quoting are reported as errors, never silently mangled. Input is capped at 1 MiB.