JSON to YAML: convert JSON into a readable YAML document

$0.01 per call · failed calls are never charged · no account or API key needed

Convert a JSON value into a YAML document (block style, no line folding), for config files, Kubernetes manifests, GitHub Actions or docs that humans edit. Up to 100 KB of JSON. Use when a tool or person wants YAML; for the reverse use yaml_to_json. Invalid JSON is a 400, uncharged.

Run it free (25 free calls) Buy credits by card (from $5) Example result (JSON)

Try it with your own inputs

The JSON text (up to 100 KB)

Uses one of your 25 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
json (required)stringThe JSON text (up to 100 KB)

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/json/to-yaml?json=%7B%22name%22%3A%22agent%22%2C%22ports%22%3A%5B80%2C443%5D%2C%22enabled%22%3Atrue%7D"

Or one of your 25 free calls, no key:

curl "https://agent-data-tools.revmesh2074.workers.dev/json/to-yaml?json=%7B%22name%22%3A%22agent%22%2C%22ports%22%3A%5B80%2C443%5D%2C%22enabled%22%3Atrue%7D&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "yaml": "name: agent\nports:\n  - 80\n  - 443\nenabled: true\n"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is json_to_yaml, and the first 25 successful calls are free:

https://agent-data-tools.revmesh2074.workers.dev/mcp

Related tools