JSON to YAML converter

Paste a JSON object or array to write it as YAML. Use one to eight spaces per indentation level.

Input

No key required

Result

Example

name: kamineko
teeth: sharp
naps:
  - morning
  - afternoon
bowl:
  full: false
Full response
{
  "from": "json",
  "to": "yaml",
  "output": "name: kamineko\nteeth: sharp\nnaps:\n  - morning\n  - afternoon\nbowl:\n  full: false\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": "{\n  \"name\": \"kamineko\",\n  \"teeth\": \"sharp\",\n  \"naps\": [\n    \"morning\",\n    \"afternoon\"\n  ],\n  \"bowl\": {\n    \"full\": false\n  }\n}",
  "from": "json",
  "to": "yaml"
}'

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.

Turn this JSON into YAML for a config file.
MCP https://api.kamineko.dev/mcp
claude mcp add --transport http kamineko \
  https://api.kamineko.dev/mcp \
  --header "Authorization: Bearer $KAMINEKO_API_KEY"