Json Yaml Converter

Data REST API MCP

Convert JSON to YAML or YAML to JSON and return the converted text. json-to-yaml emits block-style YAML with the chosen indentation; yaml-to-json emits pretty-printed JSON. Parse errors report the line and column.

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

Call it over REST

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

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/json-yaml-converter/execute \
  -H "Content-Type: application/json" \
  -d '{
    "input": "{\"name\":\"x\",\"tags\":[\"a\",\"b\"]}"
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/json-yaml-converter

Interactive docs · OpenAPI 3.1 spec · All REST tools

Input schema

Argument Type Required Description
input string yes The JSON or YAML text to convert.
mode string (json-to-yaml | yaml-to-json) no Conversion direction. Default: json-to-yaml. Default: "json-to-yaml".
indent integer no Indentation width for the output (1-8). Default: 2. Default: 2.

Example arguments (verified)

{
  "input": {
    "name": "x",
    "tags": [
      "a",
      "b"
    ]
  }
}

Arguments that carry JSON as a string are shown decoded for readability. The Copy button copies the exact wire arguments.

Also an MCP tool

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

Connect once

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

More Data tools