About String Escape/Unescape
This tool escapes and unescapes text by selectable rules, including JSON/URL/HTML/SQL and custom mapping modes.
Key Features
- Rule Selection: Multiple built-in escaping rules.
- Custom Mapping:
CUSTOM_MAPfor user-defined mappings. - Two-way Processing: Escape and unescape operations.
- Utility Actions: Copy, swap, sample, and clear.
- Rule Description: Shows active rule behavior context.
Steps
- Choose target rule.
- Enter input text.
- Run escape or unescape.
- Copy output or continue with swap flow.
Use Cases
- Cross-format text conversion.
- Safe string handling in code generation.
- Cleaning logs/config/template text.
FAQ
How should custom map format be written?
Follow the tool prompt mapping format and validate with small samples first.
Why is unescape output unexpected?
Input may mix different escaping rules; ensure consistent rule context before processing.