Json Escaper

Encoding REST API MCP

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.

This page documents the HTTP endpoint POST /api/tools/json-escaper/execute. See the MCP reference →

Call it over REST

POST https://api.findutils.com/api/tools/json-escaper/execute · no API keys · 60 requests/min per IP

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/json-escaper/execute \
  -H "Content-Type: application/json" \
  -d '{
    "text": "He said \"hi\"\nbye",
    "mode": "escape"
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/json-escaper

Interactive docs · OpenAPI 3.1 spec · All REST tools

Input schema

Argument Type Required Description
text string yes The text to escape or unescape.
mode string (escape | unescape) no Direction: "escape" (default) adds JSON escapes; "unescape" removes them. Default: "escape".

Example arguments (verified)

{
  "text": "He said \"hi\"\nbye",
  "mode": "escape"
}

Also an MCP tool

Claude, Cursor, and any MCP client can call this tool as findutils:json_escaper after one connect command.

Connect once

claude mcp add findutils --transport http https://mcp.findutils.com/
Open the MCP reference for Json Escaper →

More Encoding tools