Was macht String Escape and Unescape?
String Escape and Unescape hilft dabei, Inhalte zu kodieren oder zu dekodieren. Die Verarbeitung erfolgt im Browser und Grenzen werden klar beschrieben. Geprüfte Funktionen: 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.
Wie wird es verwendet?
- 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.
Echtes Ein- und Ausgabebeispiel
Escape a SQL string literal value
Eingabe
O'ReillyAusgabe
O''ReillySQL literal escaping doubles the quote, but parameterized queries remain the correct production boundary.
Häufige Fehler und Korrekturen
| Symptom | Wahrscheinliche Ursache | Korrektur |
|---|---|---|
| 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
Konkrete Grenze dieses Werkzeugs: Context-specific escaping is not a complete security boundary and cannot replace parameterized SQL, trusted templating, or HTML sanitization.
Standards und Implementierungsquellen
- 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.
Was wurde geändert?
Inhaltliche Aktualisierung: 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.