Conversor de CSV a JSON

Convert comma-separated values to JSON arrays or objects.

Ad Space
Ad Space

About CSV to JSON

CSV (Comma-Separated Values) is a simple tabular data format, while JSON (JavaScript Object Notation) is the standard format for APIs and web applications. This tool converts between them, handling quoted fields, escaped characters, and various delimiters. When "First row is header" is checked, column names become object keys in the JSON output.

How It Works

  1. Paste CSV or upload a file: Enter CSV data directly or upload a .csv file. The tool auto-detects the delimiter (comma, tab, semicolon, or pipe).
  2. Configure options: Set whether the first row is a header (used as JSON keys), how to handle empty values, and whether to auto-detect number types.
  3. Convert: Each CSV row becomes a JSON object with keys from the header row, or a plain array if there's no header.
  4. Copy or download: Copy the JSON array or download as a .json file for use in code or APIs.

Why Convert CSV to JSON?

CSV is the universal data export format for spreadsheets, databases, and analytics tools — but most modern APIs, JavaScript applications, and NoSQL databases work with JSON. Converting CSV exports from Google Sheets, Excel, Airtable, or database tools to JSON is a daily task in data engineering, web development, and API integration work. This converter handles common CSV edge cases: quoted fields containing commas, escaped quotes inside quoted fields, Windows-style line endings (CRLF), and mixed number/string columns with smart type detection.

Features

Related Tools