ToolAssay

Convert between JSON, JSONC, YAML 1.2 and TOML 1.0 and keep comments where the t

Convert between JSON, JSONC, YAML 1.2 and TOML 1.0 and keep comments where the target format allows them; integer/float distinction, 64-bit integers and TOML dates survive. Reads JSON (exact big integers), JSONC (jsonc-parser), YAML 1.2 (yaml package, one document, alias limit 100, YAML 1.1 merge keys resolved) or TOML 1.0.0 with an own parser that accepts all 208 valid and rejects all 509 invalid TOML 1.0.0 cases of the toml-test suite (commit 96fd088, 2026-11-01).

Answeringour last check, 2026-11-27
7 of 7checks answered this week
895 msmedian answer time
$0.003listed price per call
$0.003price 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://format.halowerk.com/v1/json-yaml-toml

CategoryEverything else
Provider hostformat.halowerk.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-11-27 valid payment request 402$0.003 873 ms
2026-11-26 valid payment request 402$0.003 922 ms
2026-11-25 valid payment request 402$0.003 1001 ms
2026-11-24 valid payment request 402$0.003 898 ms
2026-11-23 valid payment request 402$0.003 888 ms
2026-11-22 valid payment request 402$0.003 895 ms
2026-11-21 valid payment request 402$0.003 891 ms

Example input (from the provider)

{
  "body": {
    "content": "# Service\nserver:\n  host: halowerk.com # public name\n  port: 8080\n",
    "from": "yaml",
    "to": "toml"
  },
  "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": {
          "additionalProperties": false,
          "properties": {
            "content": {
              "description": "Source document text.",
              "maxLength": 1000000,
              "minLength": 1,
              "type": "string"
            },
            "from": {
              "description": "Source format.",
              "enum": [
                "json",
                "jsonc",
                "yaml",
                "toml"
              ],
              "type": "string"
            },
            "indent": {
              "default": 2,
              "description": "Indentation for JSON/JSONC/YAML output.",
              "maximum": 8,
              "minimum": 1,
              "type": "integer"
            },
            "to": {
              "description": "Target format (the same format re-formats the document).",
              "enum": [
                "json",
                "jsonc",
                "yaml",
                "toml"
              ],
              "type": "string"
            }
          },
          "required": [
            "content",
            "from",
            "to"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON