Skip to content

String Escape/Unescape

Escape and unescape strings for JSON, JavaScript, shell, regular expressions, CSV, and SQL.

Outputs a double-quoted JSON string (RFC 8259). Unescaping also accepts the contents without the surrounding quotes.
Type in either box and the other one is converted automatically.

More tools in Converters

Base Encoder/Decoder

Gzip Encoder/Decoder

HTML Encoder/Decoder

Number Base Converter

JSON/YAML Converter

Timestamp Converter

URL Encoder/Decoder

Case Converter

Text Encoding Converter

Unit Converter

JWT Tool

PASETO Decoder

Hash Identifier

Fullwidth/Halfwidth Converter

Hiragana/Katakana Converter

AES-GCM Encrypt/Decrypt

Slugify

Base64 File Converter