String Escape & Unescape

Escape special characters in strings for JSON, JavaScript, Java, Python, or XML — and unescape them back.

Features

JSON escape
JavaScript escape
Java escape
Python escape
XML escape

How to Use

1. Pick the language (JSON, JavaScript, Java, Python, XML).

2. Pick Escape or Unescape.

3. Paste your string and copy the result.

Frequently Asked Questions

What is string escaping?
String escaping converts special characters into escape sequences that can be safely included in strings.

Related Tools