JSON Escaped Text Converter
⬅︎ More Converters⇄
How It Works
Use this text tool to quickly convert text to escaped JSON, or JavaScript Object Notation. Simply type or paste text into the first box, and a JSON string will appear in the second box for you to copy.
This text is converted using the built-in JSON.stringify() function in JavaScript. Backwards conversion uses JSON.parse().
This is great for making text suitable for JSON. It will prevent any symbols from messing with the syntax.