CalcSnippets
Developer Runs in your browser

JSON Escape and Unescape

Escape text for a JSON string or decode an escaped JSON string while preserving quotes and newlines.

Input

Fields are ready to edit and update the result automatically.

Live

Result

Ready.

Results update as you edit.

Keep exploring

Related tools

From the guide archive

Related guides