DEV Community

neuralmint
neuralmint

Posted on

CSV to JSON Converter CLI — Transform Tabular Data Fast

CSV to JSON Converter CLI — Transform Tabular Data Fast

Convert CSV files to JSON or NDJSON with automatic delimiter detection and type inference. A must-have for data ETL pipelines.

Features

  • Convert CSV to pretty-printed JSON
  • NDJSON (newline-delimited JSON) output
  • Auto-detect delimiters (comma, tab, semicolon)
  • Type inference (detect numbers, booleans, nulls)
  • Field selection and renaming

Usage

# Basic CSV to JSON
csv_to_json convert data.csv

# NDJSON output (one JSON object per line)
csv_to_json convert data.csv --ndjson

# Select specific columns
csv_to_json convert data.csv --columns name,email,age
Enter fullscreen mode Exit fullscreen mode

Install

pip install neuralmint/csv-to-json
Enter fullscreen mode Exit fullscreen mode

Support development:

SOL: 4TGyiYBjaYhFFPNYyCoJjf16ctUsWVBiMR1FXQxEfhWi

ETH: 0xe07f177E0725c11EEc8BeA34C5b5193CaF2a1A6a

Tags: python, cli, opensource, devtools
Series: neuralmint CLI Tools

Top comments (0)