JSON String Escape & Unescape

Escape text into a JSON string literal or unescape one.

About this tool

Escape wraps text in quotes and escapes newlines, tabs, quotes and backslashes. Unescape accepts a quoted or unquoted escaped string.

Related: JSON Formatter & Validator · Base64 Encode & Decode · URL Encoder & Decoder · SHA-256 / SHA-1 Hash Generator · Unix Timestamp Converter