What is the JSON Stringify Text?
When you put text inside JSON, special characters like quotes, new lines and backslashes must be escaped. Doing it by hand is slow and easy to get wrong. Paste your text and get the safe string.
You can also stringify JSON itself, to put it inside another JSON value. Turn on the ASCII option to write Hindi and other letters as \u codes.
How to use it
- Paste your text or JSON in the left box.
- Tick "My text is JSON" if it is JSON.
- Copy the safe string from the right box.
Why people like this tool
Escapes everything
Quotes, new lines, tabs and backslashes.
Stringify JSON
Put a JSON object inside a string.
ASCII option
Write Hindi as \u codes.
With or without quotes
Keep or drop the outer quotes.