Escape / Unescape

Escape and unescape strings for JSON, HTML, URL, regex, SQL, and CSV in one place.

Mode
Output

Result will appear here.

Step by step

How to use Escape / Unescape

  1. 1

    Paste the string and select JSON, HTML, URL, regular expression, SQL, or CSV context.

  2. 2

    Escape or unescape the value for the selected representation.

  3. 3

    Review the exact quoting and separators before copying the result into its destination.

Capabilities

What this tool handles

  • Six escape modes in one tool
  • Round-trip encode and decode
  • Swap output back to input

Common uses for Escape / Unescape

  • Prepare examples containing quotes, backslashes, markup, delimiters, or regex operators.
  • Decode an escaped value copied from logs, source code, or serialized data.

What to check before using the result

Escaping rules are context-specific and are not a substitute for parameterized SQL, HTML sanitization, or other injection defenses.

Privacy and accuracy

Questions about Escape / Unescape

Does this tool upload my input?

The conversion or analysis runs in your browser. The application does not intentionally send the value you enter to a processing API. Standard hosting infrastructure can still receive request metadata when the page loads; see the privacy page for details.

Can I rely on the output without checking it?

Use the result as a focused development aid and verify it in the system where it will be used. Test representative edge cases and confirm the destination uses the same format, standard, and assumptions described on this page.

Related Tools