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 エンコーダー / デコーダー
URL やクエリ文字列をエンコード・デコードして、HTML、HTTP、メールで安全に使用できるようにします。無料、ブラウザで動作、アップロード不要。
Base64 エンコーダー / デコーダー
テキストやファイルを Base64 にエンコード、または Base64 をデコードして元に戻します。無料、ブラウザで動作、アップロード不要。
Last reviewed: 2026-09-25