Pre-launch — your 10 free credits are reserved for launch day. Join the waitlist
schema-sample-data · free tool

Payload Field Map

Paste an XML or JSON sample — get every field path, ready to reference in a script.

Runs in your browser — your data never leaves it

Paste, type, or drop a file. Runs as you type.

Output appears here as you type.

Worked example

Input
<Order><orderId>12345</orderId><customer><name>Acme Corp</name></customer></Order>
Output
Sample Payload — XML  ·  root <Order>
────────────────────────────────────────────────────
Structure  4 fields · 2 leaves · depth 3

FIELDS
  Order                                    object
  Order.orderId                            string  = "12345"
  Order.customer                           object
  Order.customer.name                      string  = "Acme Corp"

LEAF NAMES (reference these in a Groovy script)
  orderId, name

This example is one of Payload Field Map's test cases — if the tool stopped producing this output, the build would fail.

Questions

What's this for?
Before writing a Groovy mapping script by hand, you need to know exactly what fields exist and their dotted paths. Paste a sample payload and get every field, in document order, with its type and (for leaves) an example value.
XML or JSON?
Either — it's auto-detected from the first non-whitespace character. Namespaces are listed separately when the payload declares any.
Is this the same parser Groovy Script Studio uses?
Yes — literally the grounding parser: the paid Studio's golden rule is that a generated script may only reference fields this exact parser found in your sample. What you see here is the allowlist.
Does it show real data from my payload?
Sample values are shown for leaf fields, except anything that looks like an email or phone number, which is redacted before it ever leaves the parse step.

Related tools