Format laboratory

One prompt. Six payload shells.

Convert one prompt into TOON, JSON, compact JSON, YAML, XML, and CSV examples. The comparison helps teams choose payload formats that are readable, compact, and easy to inspect before model execution.

Use the format lab to compare how field names, nested values, lists, and repeated metadata change across payload styles. The examples are designed for planning and review, so teams can spot verbosity, escaping, and readability tradeoffs before adopting a prompt transport format.

The generated examples are deliberately simple, which makes the differences easier to inspect. Use them to decide whether a structured request should favor compactness, strict syntax, human editing, or compatibility with an existing ingestion pipeline.

For implementation reviews, compare indentation, escaping rules, repeated labels, and how comfortably a teammate can scan the same information during a code review. A compact representation can save tokens, while a more verbose representation may be easier to debug, document, and hand off across teams.

By Hello.World Consulting. .

55 chars

TOON

Structured text example

prompt:
  text: "Summarize the latest product launch in 3 bullet points."
meta:
  source: "prompt-info"
  format: "comparison"

JSON

Readable JSON

{
  "prompt": "Summarize the latest product launch in 3 bullet points.",
  "meta": {
    "source": "prompt-info",
    "format": "comparison"
  }
}

JSON compact

Minified JSON

{"prompt":"Summarize the latest product launch in 3 bullet points.","meta":{"source":"prompt-info","format":"comparison"}}

YAML

Common config format

prompt:
  text: Summarize the latest product launch in 3 bullet points.
meta:
  source: prompt-info
  format: comparison

XML

Tagged data

<root>
  <prompt>
    <text>Summarize the latest product launch in 3 bullet points.</text>
  </prompt>
  <meta>
    <source>prompt-info</source>
    <format>comparison</format>
  </meta>
</root>

CSV

Flat rows

field,value
prompt,"Summarize the latest product launch in 3 bullet points."
meta_source,prompt-info
meta_format,comparison