Home / Tools / CSV to JSON

CSV to JSON Converter: Convert CSV to JSON Online

Paste CSV or open a file and get JSON. Detects the delimiter, handles quoted fields and can turn numbers and true/false into JSON values. Runs in your browser.

Paste your CSV or open a .csv file. The first row becomes the key names, and each following row becomes a JSON object. Commas, semicolons, tabs and pipes are detected for you, and quoted values that contain commas or line breaks are read correctly.

    What it does

    Example

    Before

    name,age,city
    Ana,30,Pune
    "Smith, Bob",25,"New York"
    Cy,,Delhi

    After

    [
      {
        "name": "Ana",
        "age": 30,
        "city": "Pune"
      },
      {
        "name": "Smith, Bob",
        "age": 25,
        "city": "New York"
      },
      {
        "name": "Cy",
        "age": "",
        "city": "Delhi"
      }
    ]

    Frequently asked questions

    How are numbers handled?
    With "Convert numbers" on, plain numbers become JSON numbers. Values with leading zeros and very long numbers stay as text so nothing is changed by mistake.
    What if a row has too few or too many values?
    Missing values are left empty. Extra values get keys named column_4, column_5 and so on. A note under the result tells you how many rows were uneven.
    Does it work without a header row?
    Untick "First row is the header" and each row becomes a list of values instead of an object.
    Is my data uploaded?
    No. The conversion runs in your browser and nothing is sent to this site.
    How big a file can it handle?
    Files up to 8 MB. Very large files may be slow, depending on your device.

    Runs in your browser. Nothing you type is sent to this site. Updated 2026-10-11.

    More tools

    Code formatters

    CSS beautifier CSS minifier HTML beautifier HTML minifier JavaScript beautifier JavaScript minifier JSON formatter YAML formatter XML formatter SQL formatter Markdown preview

    Converters

    Base64 encoder and decoder URL encoder and decoder Unix timestamp converter JSON to CSV HTML entity encoder and decoder Number base converter Time zone converter JSON to TypeScript XML to JSON HTML to Markdown Date difference calculator

    Text tools

    Regex tester Remove duplicate lines Lorem ipsum generator Word counter Case converter Text diff checker

    Color and images

    Color converter Contrast checker Image to Base64 Image resizer

    Network

    Subnet calculator Download time calculator Common ports list CIDR to IP range IPv6 address expander and compressor MAC address formatter curl command builder

    Server and files

    Cron expression explainer chmod calculator HTTP status codes

    Encoding and security

    Password generator UUID generator Hash generator JWT decoder QR code generator Password strength checker Wi-Fi QR code generator