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 coffee

What 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.