enne.tech

Back to all utilities
Privacy First All processing is performed locally in your browser. Your data never leaves your device.

About JSON Escaping

JSON escaping is necessary when you need to embed JSON strings within code or configuration files. Special characters like quotes, newlines, and backslashes need to be escaped with a backslash.

Common Escapes

" → \"
\ → \\
\n → \\n
\t → \\t

Use Cases

Embedding JSON in JavaScript strings, storing JSON in databases, creating test fixtures, API documentation