Home / MCP Tools / YAML <-> JSON Converter
Live MCP tooldeveloper

YAML <-> JSON Converter

Convert a YAML document to JSON, or a JSON object to YAML, using a safe (non-code-executing) parser.

A free key adds 10,000 calls a month, no card: /pricing, which also says whether the calculators are free or priced right now.

Parameters

ParameterTypeRequiredDescription
directionstringrequiredyaml_to_json | json_to_yaml One of: yaml_to_json, json_to_yaml
yamlstringoptionalYAML text (direction=yaml_to_json)
dataobjectoptionalJSON object to serialize (direction=json_to_yaml)

Call it over MCP (JSON-RPC 2.0)

curl -s https://agent.wingmanprotocol.com/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "yaml_json_convert", "arguments": {"direction": "yaml_to_json"}}}'

Or plain HTTP

curl -s https://wingmanprotocol.com/tools/yaml_json_convert \
  -H 'Content-Type: application/json' \
  -d '{"direction": "yaml_to_json"}'

Try it live

Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/yaml_json_convert from your browser.

Related tools in Developer