JSON, YAML, TOML, XML and CSV converter
Input format
Output format
Enter something to see the result.
Validate against JSON Schema
Paste a schema, or use the one generated from your data.
Help & info
About this tool
Paste data and choose the output format: JSON, YAML, TOML, XML or CSV. The input format is detected automatically, errors are shown with line and column. XML attributes become keys starting with @_, repeated elements become lists. CSV is read as a list of objects with the first row as column names.
Good to know
TOML needs an object at the top and has no null; CSV needs a list of flat objects; XML needs one root element (added automatically if missing). YAML comments are not kept when converting.
More tools
- JSON formatter – Format and validate JSON, YAML, TOML, XML, CSV
- Schema – Create and check a schema (JSON, XML, CSV)
- Base64 – Encode and decode text
- URL encode/decode – Encode, decode and split URLs
- Hash generator – MD5, SHA-1, SHA-256 and more for text or files
- UUID generator – Random or time-ordered UUIDs
- JWT decoder – Read a token's header and payload
- Unix timestamp – Unix time to date and back
- Color converter – HEX, RGB, HSL and contrast check