Kharabeesh
On-device ع

CSV to JSON

Convert CSV or TSV to JSON: an array of objects, arrays or columns, with real numbers and booleans, and nested objects from headers like address.city. Arabic supported.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Paste CSV data or drop the file.
  2. Pick the JSON shape: an object per row (most common), arrays, or one key per column.
  3. Choose how numbers and empty cells are handled.
  4. Copy the JSON or download it as a file.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: lightweight in-page code, no external libraries.
  • Works offline after you open it once.

Frequently asked questions

Why did 0501234567 stay a string?

Numbers that start with zero are usually codes (phone, postal code) and turning them into numbers would drop the zero. Each column gets one type: a single text value among numbers keeps the whole column as text.

What does “nested objects” mean?

A header like address.city becomes { "address": { "city": … } }, and address.0 becomes an array.

What is “keyed object”?

One object whose keys are the first column’s values, each holding the other columns. Handy when the first column is a unique id.

Related tools