# Json Yaml Converter — REST API endpoint `json-yaml-converter`

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.

- Category: data
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/json-yaml-converter/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/api/json-yaml-converter/
- Same tool on the other surface: https://findutils.com/mcp/json-yaml-converter/

## Call the endpoint (verified example)

```bash
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
curl https://api.findutils.com/api/tools/json-yaml-converter
```

## 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):

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

Decoded `input` argument (readability only — send it as a string):

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

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Then ask the client to call `findutils:json_yaml_converter`. Full MCP reference: https://findutils.com/mcp/json-yaml-converter/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
