ToolAssay

Convert between YAML and JSON in one call

Convert between YAML and JSON in one call. to:"json" parses a YAML document (config files, docker-compose, Kubernetes manifests, CI pipelines) into a plain JSON value; to:"yaml" renders any JSON value as clean block-style YAML. Hardened: safe core schema (tags like !!js/function never execute), alias bombs rejected, one document per call, parse errors return line/column. YAML input up to 2 MB UTF-8.

Answeringour last check, 2026-09-24
1 of 1checks answered this week
7695 msmedian answer time
$0.001listed price per call
$0.001price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://402utils.com/v1/yaml

CategoryCode and developer
Provider host402utils.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-24 valid payment request 402$0.001 7695 ms

Example input (from the provider)

{
  "body": {
    "input": "services:\n  web:\n    image: nginx:1.29\n    ports:\n      - \"80:80\"\n",
    "to": "json"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "description": "Conversion request.",
          "properties": {
            "input": {
              "description": "The value to convert. With to:\"json\": a single YAML document as a string, max 2 MB UTF-8. With to:\"yaml\": any JSON value; a string is first parsed as JSON text."
            },
            "to": {
              "description": "Target format: \"json\" parses YAML text, \"yaml\" emits YAML text.",
              "enum": [
                "json",
                "yaml"
              ],
              "type": "string"
            }
          },
          "required": [
            "input",
            "to"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "description": "Conversion result.",
          "properties": {
            "result": {
              "description": "With to:\"json\": the parsed document as a JSON value (object, array, string, number, boolean or null). With to:\"yaml\": the YAML text as a string."
            }
          },
          "required": [
            "result"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON