CSV to JSON Converter avatar

CSV to JSON Converter

Pricing

Pay per usage

Go to Apify Store
CSV to JSON Converter

CSV to JSON Converter

Convert CSV to JSON or JSON to CSV with light validation. Numbers are typed, empty cells become null, malformed CSV rows are skipped and counted.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Eli Shelby

Eli Shelby

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Features

Limited permissions

Share

CSV ⇄ JSON Converter

Convert CSV to JSON, or a JSON array of objects back to CSV, with light validation. Paste your content in, get clean structured output out.

What it does

CSV → JSON

  • First row is treated as the header row (duplicate or blank headers are rejected)
  • Numbers are typed as int/float when they parse cleanly; everything else stays a string
  • Empty cells become null
  • Rows with the wrong number of columns are skipped and counted in the run log
  • Output: one dataset item per row, plus the full JSON array in the key-value store record OUTPUT

JSON → CSV

  • Input must be a JSON array of objects; the keys of the first object define the columns
  • Missing keys become empty cells; nested objects/arrays are JSON-encoded as strings
  • Output: the CSV text in the key-value store record OUTPUT

Input

FieldDescription
directioncsv-to-json or json-to-csv
inputTextThe CSV or JSON content to convert

Example

Input (csv-to-json):

name,age,city
Alice,30,Taipei
Bob,25,Kaohsiung

Dataset output:

[
{ "name": "Alice", "age": 30, "city": "Taipei" },
{ "name": "Bob", "age": 25, "city": "Kaohsiung" }
]