YAML to JSON converter

Paste a YAML document to get formatted JSON. Aliases expand to their values, and YAML comments drop out.

Input

No key required

Result

Example

{
  "name": "kamineko",
  "teeth": "sharp",
  "naps": [
    "morning",
    "afternoon"
  ],
  "bowl": {
    "full": false
  }
}
Full response
{
  "from": "yaml",
  "to": "json",
  "output": "{\n  \"name\": \"kamineko\",\n  \"teeth\": \"sharp\",\n  \"naps\": [\n    \"morning\",\n    \"afternoon\"\n  ],\n  \"bowl\": {\n    \"full\": false\n  }\n}"
}

Run with curl

Copy this command to run the request in your terminal. It updates as you edit the input.

For higher limits, get a free API key and add -H "Authorization: Bearer $KAMINEKO_API_KEY".

POST /v1/convert/data
curl 'https://api.kamineko.dev/v1/convert/data' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "input": "name: kamineko\nteeth: sharp\nnaps:\n  - morning\n  - afternoon\nbowl:\n  full: false\n",
  "from": "yaml",
  "to": "json"
}'

Use with MCP

Set KAMINEKO_API_KEY to your key and run this command to connect Claude Code. Try the convert_data tool with this prompt.

Convert this docker-compose.yml to JSON.
MCP https://api.kamineko.dev/mcp
claude mcp add --transport http kamineko \
  https://api.kamineko.dev/mcp \
  --header "Authorization: Bearer $KAMINEKO_API_KEY"