What does this tool do?
Encode text as a quoted JSON string literal. Accepted input: Raw text. Output: JSON string literal output (JSON string literal).
How to use it
Enter raw text, then choose “Escape text”. Review json string literal output and use Copy or Download .json if needed. Clear removes this page’s inputs and result.