# JSON Escape / Stringify

Escape text so it can be placed safely inside a JSON string (quotes, backslashes, new lines and tabs).

URL: https://raava.in/tools/json-escape/
Section: Online Tools › Developer Tools
Updated: 2026-11-25

## How to use

Type or paste your text into the first box. The result appears immediately in the second box, ready to copy or download. Replace the sample text with your own.

## Example

Input:
He said "hello"
Path: C:\files\newOutput:
"He said \"hello\"\nPath: C:\\files\\new"

## Frequently asked questions

### What does the JSON Escape / Stringify do?

Escape text so it can be placed safely inside a JSON string (quotes, backslashes, new lines and tabs).

### Is the JSON Escape / Stringify free to use?

Yes. It is free, needs no sign-up and works on phones, tablets and computers. Everything is calculated in your browser, so what you enter is not sent to or stored on a server.

## Related

- [SQL Formatter](https://raava.in/tools/sql-formatter/)
- [Cron Expression Explainer](https://raava.in/tools/cron-expression-explainer/)
- [IP Subnet Calculator](https://raava.in/tools/ip-subnet-calculator/)
- [JWT Decoder](https://raava.in/tools/jwt-decoder/)
- [UUID Generator](https://raava.in/tools/uuid-generator/)
- [JSON Formatter](https://raava.in/tools/json-formatter/)
- [JSON Minifier](https://raava.in/tools/json-minifier/)
- [JSON Validator](https://raava.in/tools/json-validator/)
- [JSON to CSV Converter](https://raava.in/tools/json-to-csv/)
