text Tools
String Escape/Unescape
Escape or unescape strings for various formats.
Runs 100% in your browser — your data never leaves this device
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is String Escape/Unescape?
String escaping converts special characters into a format safe for specific contexts like JSON, HTML, or JavaScript. This tool helps you escape or unescape text for multiple formats.
How to Use String Escape/Unescape
1. Enter your text in the input
2. Select the escape format
3. Click Escape or Unescape
4. Copy the result
Common Use Cases
- Escaping JSON strings
- Making HTML-safe text
- Preparing JavaScript strings
- URL encoding text
Frequently Asked Questions
What characters are escaped?
Each format escapes different characters: JSON escapes quotes and newlines, HTML escapes < > & ", JavaScript escapes quotes and backslashes.
Related Tools
Case Converter
Convert text between different letter cases.
Lorem Ipsum Generator
Generate placeholder text for your designs and mockups.
Word Counter
Count words, characters, sentences, and paragraphs in your text.
Text Diff Checker
Compare two text blocks and see the differences highlighted.
Regex Tester
Test regular expressions with live highlighting and match results.