boxtool.io

Data Converter

Convert between JSON, CSV, YAML and TOML data formats. Paste or upload. Free, browser-based.

Input

Output

JSON Input

CSV Output

About Data Converter

The Data Converter transforms structured data between JSON, CSV, YAML, and TOML formats — instantly, in your browser. Paste raw text or upload a file, select the output format, and copy or download the result. Useful for developers and data analysts working across different toolchains and configuration systems.

Use Cases

  • Convert a JSON API response to CSV for analysis in a spreadsheet
  • Transform a YAML config file to JSON for a JavaScript application
  • Convert TOML configuration to YAML for deployment pipelines
  • Quickly reformat data into a more readable structure for debugging

Tips

  • The converter validates your input before transforming — syntax errors are highlighted
  • Arrays of objects convert cleanly to CSV rows with header columns derived from keys
  • Nested objects in CSV mode are flattened using dot notation (e.g., user.name)

Frequently Asked Questions

JSON (JavaScript Object Notation), CSV (Comma-Separated Values), YAML (YAML Ain't Markup Language) and TOML (Tom's Obvious, Minimal Language). All conversions are bidirectional — any format can be the input or output.

The JSON input must be an array of objects. Each object becomes a CSV row, with the object keys becoming column headers. If objects have different keys, missing values are left empty. Nested objects are not supported for CSV output.

Yes. Click the "Upload file" button above the input panel to load a .json, .csv, .yaml, .yml or .toml file directly from your computer. The file is read in your browser — it is never sent to a server.

TOML is a configuration file format designed to be easy for humans to read and write. It's commonly used for configuration files in Go, Rust and other languages (e.g., Cargo.toml). It's more readable than JSON and more explicit than YAML.

Both YAML and JSON can represent the same data structures. YAML uses indentation instead of brackets and is more human-readable. JSON is stricter, requires quotes around strings and is more widely supported in programming environments.

The Swap button reverses the input and output format selection and moves the current output text into the input panel. This lets you quickly do a round-trip conversion or continue working with the converted output.

Related Tools

Ad