Skip to main content
SyntixDev

JSON / YAML / CSV / TOML Converter

Data, Regex & Text

Format & inspect JSON trees, convert JSON/YAML/CSV/TOML, generate TypeScript/Zod, and beautify SQL/XML/HTML.

100% client-side — files and inputs never leave your browser.

yaml
About this tool and how it works

Converting between JSON, YAML, CSV, and TOML

Configuration and data move between formats constantly: a Kubernetes manifest in YAML, an API payload in JSON, a spreadsheet export in CSV, a pyproject.toml or Cargo.toml. This converter reads any of the four and writes any other, entirely in your browser.

Choosing a format

  • JSON: strict, universal, ideal for APIs. No comments.
  • YAML: human-friendly configs with comments; indentation-sensitive, which makes it easy to break.
  • TOML: explicit tables and types, popular for app and package configuration.
  • CSV: flat rows and columns for spreadsheets and BI tools.

Nested data to CSV

CSV has no nesting, so an array of objects becomes one row per object and nested fields are flattened into dotted column names: {"user": {"name": "Ana"}} becomes a user.name column. Arrays of different shapes produce the union of all columns, with empty cells where a field is missing.

CSV delimiters and Excel

Spreadsheets in locales that use a decimal comma (Brazil, much of Europe) export CSV with semicolons. The converter auto-detects comma, semicolon, tab, and pipe delimiters, so these files parse correctly without manual setup.

Things that do not survive a round trip

  • YAML comments and anchors are dropped when converting to JSON.
  • CSV has no types: numbers, booleans, and empty strings may need to be re-typed after import.
  • TOML requires a table at the top level, so a bare JSON array cannot become TOML directly.

Frequently asked questions

Why did my YAML "no" become false?

Older YAML 1.1 parsers treat yes/no/on/off as booleans (the "Norway problem"). Quote such values ("no") when you need them as strings.

Can I convert an Excel spreadsheet?

Save or export the sheet as CSV first, then paste it here. Semicolon-separated exports from Excel are detected automatically.

Are my files uploaded?

No. Parsing and conversion run locally in the page; nothing is sent to a server.

Other tools