JSON String Escape Converter
Escape quotes, control characters and newlines to produce valid JSON string literals.
How to use
Open the interactive JSON String Escape Converter tool, paste your input, select any available options, then run the conversion. Copy or download the result and review it before using it in another program.
All conversion work is performed locally in your browser. Guides and examples · All tools