CSV to JSON converter

    Convert CSV or Excel exports into a JSON array of objects.

    Your text stays on this device

    About the CSV to JSON tool

    This CSV to JSON converter turns CSV text into a JSON array, using the first row as the keys for each object. It detects comma, semicolon, tab and pipe delimiters, handles quoted values with commas and line breaks, and can turn numbers and true/false into real JSON values while values with leading zeros, such as 007, stay text. Headers like user.name can be rebuilt into nested objects, so a sheet exported from Excel or Tally becomes JSON for an app or API.

    At a glance

    Input
    .csv, .tsv or .txt up to 20 MB, or pasted text
    Delimiter
    Detected from the header row: comma, semicolon, tab or pipe
    Types
    Plain numbers, true, false and null become JSON values; 007 and 16+ digit IDs stay text
    Output
    data.json with 2 or 4 space indent
    Price
    Free, no sign-up
    Works in
    Your browser, on phone or computer. Works offline after the first visit.
    Privacy
    What you type never leaves your device.

    How to convert CSV to JSON

    1. Paste the CSV, or press "Open file" to load a .csv or .tsv file.
    2. Check the delimiter, header and number options.
    3. Copy the JSON or press Download to save data.json.

    Private

    Your text stays in your browser and is never sent to a server.

    Instant

    Results update as you type, with nothing to install.

    Free

    No sign-up, no limits and no ads inside your writing space.

    CSV to JSON: frequently asked questions

    How do I convert an Excel sheet to JSON?

    Save the sheet as CSV (File → Save as → CSV UTF-8) and open that file here. Each row becomes one JSON object with the column headings as keys.

    Will numbers like 007 or phone numbers be changed?

    No. Only plain numbers such as 42 or 3.5 become JSON numbers. Values with leading zeros, more than 15 digits or other characters stay as text, so IDs and phone numbers are safe.

    Why does it say a row has the wrong number of values?

    That row has more or fewer separators than the header. The row is still converted (missing values become empty), but check for an unquoted comma inside a value.

    What does "rebuild nested objects" do?

    Headers with dots become nested JSON. For example the columns user.name and user.age turn into {"user":{"name":…,"age":…}}. It is the reverse of the JSON to CSV tool.

    Is my text sent anywhere?

    No. Everything runs in your browser and your text never leaves your device. Nothing is stored on any server.