JSON String Escape / Unescape — JSON strings must escape a small set of characters: the double quote, the backslash, and the control characters (U+0000 to U+001F). Everything else may appear literally.
Pure function, no upload, no server. Works fully offline.
Was JSON String Escape / Unescape useful?
JSON String Escape / Unescape क्या है?
JSON strings must escape a small set of characters: the double quote, the backslash, and the control characters (U+0000 to U+001F). Everything else may appear literally.
This tool implements the standard JSON escaping rules from RFC 8259. The "escape" direction converts a raw string into a JSON-safe form (the content you would put between double quotes). The "unescape" direction parses a JSON string literal back to its raw bytes.
इसका उपयोग कैसे करें
-
Pick the direction
Escape raw → JSON or Unescape JSON → raw. Both directions round-trip cleanly for any valid input.
-
Paste the input
For escape, paste any string (control characters allowed). For unescape, paste the JSON-quoted content (without the surrounding quotes).
-
Copy the output
Use the escaped form inside a JSON config or template. Use the raw form to inspect what a stored string actually contains.
अक्सर पूछे जाने वाले प्रश्न
संबंधित टूल
JSON फ़ॉर्मेटर और वैलिडेटर
JSON को फ़ॉर्मेट, सुंदर बनाएँ और मान्य करें। मुफ़्त, ब्राउज़र में, कोई अपलोड नहीं।
JSON Validator
Check whether your JSON is valid and find the exact line and column of any syntax error.
URL एनकोडर / डिकोडर
HTML, HTTP, और ईमेल में सुरक्षित उपयोग के लिए URLs और query strings को एनकोड या डिकोड करें। मुफ़्त, ब्राउज़र में, कोई अपलोड नहीं।
Base64 एनकोडर / डिकोडर
टेक्स्ट या फ़ाइलों को Base64 में एनकोड करें, या Base64 को डिकोड करके मूल रूप में वापस लाएं। मुफ़्त, ब्राउज़र में, कोई अपलोड नहीं।
Last reviewed: 2026-09-25