Payload Field Map
Paste an XML or JSON sample — get every field path, ready to reference in a script.
Your data never leaves your browser
This tool runs entirely on your computer. What you paste or drop is never uploaded, never stored and never seen by us — close the tab and it's gone. How we know
Sign up to run — no credit card required.
Press Run to see the output. Sign up takes ten seconds — no credit card required.
Worked example
<Order><orderId>12345</orderId><customer><name>Acme Corp</name></customer></Order>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, nameThis 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.
- 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
JSON Schema GeneratorSchema & Sample Data
Infer a JSON Schema from a sample payload.
XML to XSDSchema & Sample Data
Infer an XSD from a sample XML payload — types, order and optional elements.
XSD to XML (Sample)Schema & Sample Data
Generate a sample XML instance from an XSD — every element once, values that fit the type.