String Escape API
POST
https://api.findutils.com/api/tools/string-escape/execute Escape or unescape a string for JSON, HTML, URL, or regex contexts.
Request body
application/json-
text
string required
Input text.
-
format
string required
Escape format. One of
json · html · url · regex · sql. -
mode
string optional
Direction. Defaults to "escape". One of
escape · unescape. Default"escape".
Example arguments
Verified{
"text": "He said \"hi\"",
"format": "json"
} More Encoding tools
- Base32 Decode Decode RFC 4648 base32 back to UTF-8 text.
- Base64 Decode Decode a base64 string back to UTF-8 text.
- Base64 Encode Encode UTF-8 text as a base64 string.
- Base64 Encoder / Decoder Encode text to Base64 or decode Base64 back to text.
- Color Convert Convert between color formats: hex, rgb, hsl, hsv.
- Hash Generate Hash text with MD5, SHA-1, SHA-256, or SHA-512.