String Escape & Unescape
Escape or unescape strings for JSON, JavaScript, and XML
使い方
- 1Paste a string
Drop the raw or escaped string you want to convert.
- 2Pick a format
Choose JSON, JavaScript, or XML - escape or unescape direction.
- 3Copy the result
One click sends the transformed string to your clipboard.
String Escape & Unescape について
Free online string escape tool. Escape or unescape strings for JSON, JavaScript source, or XML/HTML. Handles quotes, backslashes, unicode escapes, and named entities. Runs entirely in your browser. 712 Tools の String Escape & Unescape はモダンな JavaScript API を使って完全にブラウザ内で動作します - サーバーがあなたのデータを見ることは一切ありません。つまり、即時の結果、完全なプライバシー、アップロード制限なしです。
デバッグ、簡単な確認、あるいは本番のインシデント対応まで - このツールは何度でも無料で使えます。ウォーターマークなし、サインアップなし、ツール内広告なし。
よくある質問
JSON vs JS escaping - what's different?
JSON only allows double quotes and uses \uXXXX for control chars. JS also supports single quotes and \xNN. Pick the target that matches where the string will live.
What about HTML entities?
Use XML escape - it handles the five predefined entities (& < > " ') that are safe in both XML and HTML.
Does it handle multi-byte characters?
Yes. JS escape mode produces \uXXXX for all non-ASCII characters, so the string round-trips through any encoding.
関連ツール
Word Counter
Count words, characters, sentences, paragraphs, reading time
Case Converter
Convert text to UPPERCASE, lowercase, camelCase, snake_case, kebab-case, and more
Text Diff
Compare two texts and highlight the differences
Find & Replace
Bulk find and replace text with regex support
Slugify
Turn any text into a clean URL slug - Unicode-aware
Diff Checker
Compare two blocks of text with a line-by-line side-by-side diff