Skip to main content
Tools Text
ESC

String Escaper

v1.0 · Everything below stays in your browser

Escape strings for JSON, SQL, JavaScript, HTML, shell. One input, multiple outputs.

Runs entirely in your browser · Your input is never transmitted

RAW
0 BReady
ESCAPED · JSON
OK

How to use

  1. Paste raw text.
  2. Pick output flavor.
  3. Copy the escaped version.

Frequently asked

SQL dialect?

Standard ANSI — doubles single quotes and escapes NULL bytes. For engine-specific escapes (MySQL, Postgres), adjust manually.