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
Word & Character Counter
Count words, characters, sentences, paragraphs, and lines online. Includes readi...
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, ke...
Text Diff Checker
Compare two texts and highlight differences. Shows additions, deletions, and mod...
Duplicate Line Remover
Remove duplicate lines from text online. Preserves order with case-sensitive opt...