HomeString Escape/Unescape

String Escape/Unescape

Multi-rule string escape and unescape tool supporting JSON, JavaScript, Java, HTML, XML, CSV, XSI and custom mappings

JSON rule: escapes backslashes, quotes, slashes, newlines, carriage returns and control characters.

String Escape/Unescape Guide

This tool converts strings across common escaping rules and supports reverse conversion, useful for API integration, log cleanup, code generation, config templates, and text migration tasks.

Features

  • Supports JSON, JavaScript, Java, HTML, XML, CSV and XSI rules.
  • Supports custom mappings for private protocols and legacy formats.
  • Includes swap, copy, clear and sample actions for faster workflow.
  • Includes a built-in rule reference table for quick troubleshooting.

How to use

  1. Enter the source text.
  2. Select a rule or custom mapping.
  3. Click Escape or Unescape to generate the result.
  4. Copy the output for code, configuration or data processing.

Rule reference

RuleMain escape charsDescription
JSON\" \\ \/ \b \f \n \r \tJSON standard escapes
JavaScript\' \" \\ \n \r \t \b \f \v \0 \uECMAScript escapes
Java\b \t \n \f \r \" \\ \uJava string escapes
HTML4& < > " 'HTML4 entities
HTML3& < > "Basic HTML3 entities
XML 1.0& < > " 'XML 1.0 entities
XML 1.1& < > " 'XML 1.1 entities
CSV" -> ""CSV quote escaping
XSI\0 \a \b \f \n \r \t \vXML Schema instance escapes

Data is processed locally in your browser by default and will not be uploaded to any server. Upload will be clearly indicated if required.

© 2026 See-Tool. All rights reserved. | Contact Us