Convert between JSON, YAML, CSV/TSV, XML and query strings, or generate TypeScript interfaces and Zod schemas from a JSON sample. The converters handle multi-document YAML, quoted CSV fields, nested values flattened into columns and XML attributes, and they keep very large numbers exact.
Common uses
- Turning a Kubernetes or CI YAML file into JSON for scripting
- Exporting an API response to CSV for a spreadsheet
- Typing an unfamiliar API by generating interfaces from a sample response
Frequently asked questions
- How are nested objects written to CSV?
- Nested keys are flattened into columns using dotted paths, so address.city becomes its own column.
- Is the generated TypeScript accurate?
- It reflects only the sample you provide. Fields missing from the sample, or values that vary between records, will not be captured, so review the types before relying on them.
- Do comments survive YAML to JSON?
- No. JSON has no comment syntax, so YAML comments are dropped in the conversion.