Skip to content

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"
}