String Escape and Unescape は何をしますか?
String Escape and Unescape はブラウザ上でコンテンツをエンコードまたはデコードするツールで、結果と制限を明確に示します。 検証済みの機能: Seven syntax contexts, Escape and unescape, Round-trip text handling, No upload.
Escaping is context-specific representation
Use this tool for inspection, migration, and exact string representation. Use structured serializers, parameterized queries, and trusted sanitizers at security boundaries.
使い方
- Select JSON, JavaScript, Java, .NET, XML, CSV, or SQL.
- Choose Escape or Unescape and paste text.
- Run the transformation and verify the result in its final parser or execution context.
実際の入出力例
Escape a SQL string literal value
入力
O'Reilly出力
O''ReillySQL literal escaping doubles the quote, but parameterized queries remain the correct production boundary.
一般的なエラーと対処
| 症状 | 原因 | 対処 |
|---|---|---|
| The destination still reports invalid syntax. | The text was escaped for a different language or embedding layer. | Select the exact destination context and avoid double escaping. |
| Escaped SQL is treated as safe application code. | Literal escaping alone does not handle query structure or driver behavior. | Use bound parameters for database values. |
Important behavior of Escape / Unescape
このツール固有の制限: Context-specific escaping is not a complete security boundary and cannot replace parameterized SQL, trusted templating, or HTML sanitization.
標準と実装の参考資料
- OWASP Cross Site Scripting Prevention Cheat Sheet (opens in a new tab)Reinforces that output handling depends on the destination context.
- RFC 8259 — JSON (opens in a new tab)Defines JSON string escaping.
Escape / Unescape — FAQ
Does the Escape / Unescape upload my input?
No. Processing runs in the current browser tab, and the page does not send tool input to a KitLumi processing endpoint.
What input does the Escape / Unescape accept?
It accepts plain text or escaped text for JSON, JavaScript, Java, .NET, XML, CSV, or SQL. The workspace checks the input and reports malformed or unsupported values before it produces a result.
What does the Escape / Unescape produce?
It produces escaped or decoded text for the selected syntax. Copy and download controls appear when the output format supports them.
What limitation should I know?
Context-specific escaping is not a complete security boundary and cannot replace parameterized SQL, trusted templating, or HTML sanitization.
更新内容
実質的な更新: Escape / Unescape: Added Seven syntax contexts, Escape and unescape, Round-trip text handling, No upload, responsive controls, explicit runtime disclosure, and task-specific examples and limitations.