हिं हिन्दी

    CSV to JSON converter

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

    Your text stays on this device

    About this tool

    This tool converts 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. Headers like user.name can be rebuilt into nested objects.

    At a glance

    What it does
    Convert CSV or Excel exports into a JSON array of objects.
    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.

    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.