ToolVaults

JSON String Escape & Unescape

Escape any text for safe embedding as a JSON string, or unescape a JSON string back to plain text. Handles quotes, backslashes, tabs, and unicode.

Runs 100% in your browser — nothing is uploaded.

Escaped output

Frequently asked

When would I use this?

When embedding user text into a JSON payload by hand, storing multi-line text as a JSON string, or debugging escaped JSON from an API response.

What does "wrap in quotes" do?

A valid JSON string literal is wrapped in double quotes. Turn this off if you want to paste the escaped text into an existing quoted string.

What characters get escaped?

Double quotes ("), backslashes (\), control characters (newlines, tabs, etc.), and unicode outside the ASCII range if needed. The same rules the JSON spec defines.

Related tools