Json Escaper MCP tool
MCP
findutils:json_escaper Returns the text with JSON string escapes applied (mode "escape") or removed (mode "unescape"). Escapes backslashes, double quotes, newlines, carriage returns, tabs, form feeds and backspaces so the text can sit inside a JSON string literal.
Arguments
application/json-
text
string required
The text to escape or unescape.
-
mode
string optional
Direction: "escape" (default) adds JSON escapes; "unescape" removes them. One of
escape · unescape. Default"escape".
Example arguments
Verified{
"text": "He said \"hi\"\nbye",
"mode": "escape"
} 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.