CSV ↔ JSON & CSV ↔ Table Converter
Convert between CSV, JSON, and interactive HTML tables instantly — in your browser. No uploads, no limits, no sign-up.
📊 CSV → JSON
Convert spreadsheet exports to JSON. Choose from array-of-objects, keyed objects, column arrays, or raw arrays.
🔄 JSON → CSV
Flatten JSON arrays back into comma-separated values. Handles nested fields gracefully.
📋 CSV → Table
Preview your CSV as a sortable, searchable HTML table. Click any column header to sort. Great for QA checks.
🔢 Type Inference
Numbers, booleans, and nulls are auto-detected and typed correctly in JSON output — not left as strings.
🎛 Flexible Delimiters
Supports comma, semicolon, tab (TSV), pipe, and space-separated files. Works with European CSV formats.
⬇ Export Options
Download your output as .json, .csv, or a standalone HTML table file.
CSV to JSON Converter — Free Online Tool
This free online CSV to JSON converter transforms your spreadsheet data into clean, structured JSON instantly — no installation, no account, no file uploads to any server. All processing happens directly in your browser using JavaScript, which means your data stays completely private. Supports CSV, TSV, semicolon-delimited, pipe-delimited, and space-separated formats.
What Can This Tool Convert?
This converter handles four data transformation directions in a single tool:
- CSV → JSON — the most common use case. Converts any CSV or spreadsheet export into a JSON array. Choose from four output formats: array of objects, array of arrays, keyed by first column, or column arrays.
- JSON → CSV — takes a JSON array or object and flattens it into comma-separated rows. Useful for importing API responses or config files into Excel or Google Sheets.
- CSV → Interactive Table — renders your CSV as a live sortable and searchable HTML table. Click any column header to sort. Great for quick data QA before processing.
- HTML Table → CSV — paste any HTML
<table>element and extract its data as CSV. Works on tables copied from websites, emails, or documentation.
How to Convert CSV to JSON Online
- Paste your CSV data into the input box, or click ▶ Sample to try an example.
- Select your delimiter (comma, semicolon, tab, pipe, or space).
- Choose your JSON output format — Array of objects is the most common for APIs and databases.
- Toggle Infer number types on to have numbers, booleans, and nulls automatically typed instead of left as strings.
- Click ⚡ Convert — or it converts automatically as you type.
- Click 📋 Copy to copy the JSON, or ⬇ Download to save the file.
JSON Output Formats Explained
- Array of objects —
[{"name":"Alice","age":30}, ...]— the standard REST API format. Each row becomes an object with column names as keys. Best for most use cases. - Array of arrays —
[["name","age"],["Alice",30], ...]— compact format including the header row. Useful for Google Sheets API, chart libraries, and matrix operations. - Keyed by first column —
{"Alice":{"age":30}, ...}— creates a lookup dictionary keyed by the value in the first column. Ideal for config files and reference tables. - Column arrays —
{"name":["Alice","Bob"],"age":[30,25]}— groups all values for each column into an array. Used by charting libraries like Plotly and D3.js.
What is Type Inference?
By default, all values in a CSV file are plain text strings. When you enable Infer number types, the converter automatically detects and converts:
- Numbers —
"42"becomes42,"3.14"becomes3.14 - Booleans —
"true"/"false"becometrue/false - Nulls — empty cells,
"null", and"N/A"becomenull
This produces cleaner JSON that works correctly with APIs, databases, and JavaScript code without any additional parsing steps.
Supported Delimiter Formats
- CSV — comma-separated values, the default spreadsheet export format from Excel, Google Sheets, and most databases
- TSV — tab-separated values, common in database exports, bioinformatics data, and some analytics platforms
- Semicolon-delimited — standard in European countries where commas serve as decimal separators (e.g. Germany, France, Spain)
- Pipe-delimited — common in legacy systems, log files, EDI formats, and some database exports
- Space-delimited — used in some scientific outputs, command-line tools, and fixed-width data sources
The CSV parser is RFC 4180 compliant. It correctly handles quoted fields containing commas, embedded newlines, and escaped double-quote characters — so fields like "Smith, John" or multi-line cells are parsed without errors.
How to Convert JSON to CSV Online
Switch to the JSON → CSV tab and paste your JSON. The converter accepts JSON arrays of objects (the standard API response format), keyed objects, and simple arrays. It automatically detects all unique keys across every object in the array and uses them as column headers, so even sparse JSON where different objects have different keys converts cleanly.
You can choose whether to quote all output fields or only those that require it, and select your preferred delimiter for the CSV output — useful when the data will be opened in European spreadsheet software.
CSV to Interactive HTML Table
The CSV → Table mode renders your data as a live interactive table directly in the browser. You can:
- Sort any column by clicking its header — numeric columns sort numerically, text columns alphabetically
- Search and filter rows in real time using the search box, with matched text highlighted in the results
- Download as a standalone HTML file with built-in styling, ready to share or embed
- Download as JSON directly from the table view, with type inference applied
- Copy the raw HTML to paste the table into any web page or email
Frequently Asked Questions
- Is my data private? Yes. This tool processes everything locally in your browser using JavaScript. Your CSV or JSON data is never uploaded to any server, stored, or transmitted anywhere.
- What is the maximum file size? There is no enforced limit — the tool runs entirely in your browser, so the practical limit is your device’s available memory. It handles files with tens of thousands of rows smoothly on any modern device.
- Can I convert Excel files (.xlsx)? Not directly — but you can export your Excel spreadsheet as CSV first (File → Save As → CSV), then paste or upload it here. Alternatively, use our dedicated Excel tools for XLSX conversion.
- Does it handle quoted fields with commas inside? Yes. The parser is RFC 4180 compliant and correctly handles fields like
"Smith, John"that contain commas enclosed in double quotes. - What JSON structures does the JSON → CSV converter support? It accepts arrays of objects (the most common API format), top-level objects (converted to key-value rows), and mixed arrays. Keys are automatically detected across all objects in the array.
- Can I use this for TSV files? Yes — select Tab as the delimiter. TSV (tab-separated values) files from Excel, database exports, or bioinformatics tools convert exactly like CSV.
- Is this tool free? Yes, 100% free with no limits, no sign-up, and no watermarks. All processing happens in your browser — nothing is sent to any server.
Google SERP Snippet Preview
Google SERP Snippet Preview See exactly how your page will look in Google search results before you publish. Type your title, meta description, and URL,...
Remove Special Characters Online ✅ Online Text Remover 2026
😀 Remove Characters From Text , ☞ remove hyphens, asterisk remover, dots, commas, brackets, white spaces, remove text, find and replace text
Markdown to HTML Converter or HTML to Markdown
Free online Markdown to HTML converter and HTML to Markdown converter. Real-time preview, syntax highlighting, copy and download. No registration required.
Sentence Case Converter ✅ Online Case Converter Tool 2026
Sentence Case Converter Tool , this tool will help you convert a regular text to a proper sentence case with just one click.