Skip to content
All tools

Data Converter

Available

Convert JSON, CSV and YAML locally with explicit mapping, typing and safety rules.

Runs locally. Your data never leaves this browser.

JSON → CSV accepts only a root array of flat objects. Nested arrays and objects are rejected.

InputJSON
0 chars · 0 lines
OutputCSV
0 chars · 0 lines
Ctrl/Cmd + Enter
Choose a conversion, add data and run it locally.

CSV without silent data loss

CSV conversions use explicit delimiters, stable headers and string-safe parsing by default. Nested JSON is rejected instead of being hidden inside cells.

Bounded YAML 1.2

YAML conversion uses YAML 1.2 core semantics with one document, bounded aliases and no merge-key expansion or custom tag behavior.

Browser-local conversion

Parsing and serialization happen in this browser. Converted payloads are not sent to a Devary backend or persisted.

Developer guide

Move JSON, CSV and YAML without losing track of types

Data Converter supports direct JSON↔CSV and JSON↔YAML transformations, with explicit rules for flat records, headers and type inference.

Practical workflow

  1. Configure

    Select a supported source and destination format; supply a small sample with realistic column names and values.

  2. Try it

    Inspect the output, delimiter and detected record count. Leave CSV type inference off when identifiers must remain strings.

  3. Check the result

    Check nested fields and null values before exporting; CSV cannot preserve every JSON structure without a custom mapping.

Worked examples

Flat JSON records to CSV

An array of flat objects becomes a header row followed by data rows with stable field order.

Configuration

JSON → CSV

Example input

[{"id":1,"name":"Ada"}]

Expected result

id,name
1,Ada

CSV back to JSON

Without primitive type inference, even the value 1 remains the JSON string "1".

Configuration

CSV → JSON; type inference off

Example input

id,name
1,Ada

Expected result

[
  {
    "id": "1",
    "name": "Ada"
  }
]

Limits and safeguards

Supported scope

Direct CSV↔YAML conversion is not offered. JSON-to-CSV requires a root array of flat objects.

Before using in production

Duplicate CSV headers, inconsistent rows and nested JSON values are rejected. Empty or null CSV cells may be lossy.

Common question

Why did a numeric CSV value become a JSON string?

CSV has no intrinsic type metadata. Type inference is opt-in; leaving it disabled preserves text such as identifiers with leading zeros.