Free No Upload

Convert CSV to
Nested JSON

Transform flat CSV columns into deeply nested JSON objects using dot-notation. address.city becomes {"address": {"city": "Moscow"}}. No competitor offers this.

Open CSV to JSON Converter

What Is Nested JSON?

Nested JSON means JSON objects that contain other objects or arrays inside them, creating a hierarchical structure. For example, instead of a flat key like address_city, nested JSON uses {"address": {"city": "Moscow"}}. This structure matches how APIs and databases expect data, making integration seamless.

How Does Dot-Notation Mapping Work?

When your CSV has columns with dots in their names (like address.city, address.zip, items.0.title), the converter automatically creates nested objects. You can also manually edit the JSON path for any column in the preview table. Array notation is supported: items.0.title becomes {"items": [{"title": "Coffee"}]}.

Why No Other Tool Does This

How to csv to nested json online (3 Steps)

  1. Upload your CSV file β€” drag and drop or tap to select from your device
  2. Configure options β€” set delimiter, header row, type detection, and nested mapping
  3. Convert and download β€” click Convert, then copy or download your JSON file
Try CSV to JSON Converter

Frequently Asked Questions

How do I create nested JSON from CSV?

Name your CSV columns with dots: 'address.city', 'address.zip', 'items.0.title'. The converter automatically creates nested objects. You can also edit the JSON path for any column in the preview table.

Can I create arrays in JSON from CSV?

Yes. Use numeric indices in your column names: 'items.0.title', 'items.0.price', 'items.1.title'. These become array elements: items[0].title, items[1].title.

What if my CSV columns don't have dots?

No problem β€” you get flat JSON by default. You can manually enter dot-notation paths in the JSON Path field under each column in the preview table to create nested structures.

Can I save my nested mapping for reuse?

Yes. Click 'Save Mapping' and the tool stores your JSON paths in the browser's localStorage. Load the same CSV file again and click 'Load Mapping' to restore your configuration.

Is nested JSON conversion free?

Yes. Nested mapping is included in the free plan (5 conversions). Lifetime unlimited access is $5 one-time payment.

Related Tools