Escape/Unescape Tool

Convert strings to and from escaped formats for HTML, XML, JavaScript, JSON, and more. Works offline and keeps your data private.

Input

Output

How to Use the Escape/Unescape Tool

Escaping Text

  1. Type or paste your text in the Input field
  2. Select the desired format from the dropdown menu in the main toolbar
  3. Click the Escape button
  4. The escaped result will automatically appear in the Output field
  5. Click the copy button in the Output panel to copy the escaped text to your clipboard

Unescaping Text

  1. Paste your escaped string in the Input field
  2. Select the correct format from the dropdown menu in the main toolbar
  3. Click the Unescape button
  4. The unescaped text will automatically appear in the Output field
  5. Click the copy button in the Output panel to copy the unescaped text

Additional Features

  • Clear Input: Click the trash icon in the Input panel to clear the input field
  • Clear Output: Click the trash icon in the Output panel to clear the output field
  • Format Selection: Choose from HTML, XML, Java/.Net, JavaScript, JSON, CSV, and SQL formats
  • Privacy: All processing happens locally in your browser - no data is sent to any server

Supported Formats

  • HTML: Escapes reserved characters (&, <, >, ", ') with HTML entities
  • XML: Escapes XML special characters similar to HTML
  • Java/.Net: Escapes strings for Java and .Net compilation
  • JavaScript: Escapes strings for JavaScript interpretation
  • JSON: Escapes strings for JSON parsing
  • CSV: Escapes strings for CSV parsing
  • SQL: Escapes strings for SQL queries
  • URL: Percent-encodes strings for URL components
  • Base64: Encodes strings to Base64 format