String Escape / Unescape
Escape and unescape strings across multiple formats in one place β JSON strings, URL percent-encoding, HTML entities, SQL string literals, and regex special characters. Switch formats instantly with a click. Essential for debugging API payloads and building test scripts.
Format
Escape special characters for use inside a JSON string value
Result will appear here.
JSON Escape Sequences
| Character | Escaped | Description |
|---|---|---|
| " | \" | Double quote |
| \ | \\ | Backslash |
| (newline) | \n | Line feed |
| (tab) | \t | Horizontal tab |
| (carriage return) | \r | Carriage return |
| (form feed) | \f | Form feed |
| (backspace) | \b | Backspace |
Features
- JSON string escaping and unescaping
- URL percent-encoding and decoding
- HTML entity encoding and decoding
- SQL string literal escaping
- Regex special character escaping