Privacy & processing: Runs in your browser
This tool runs entirely in your browser — your files and text are processed on your device and are not uploaded to our servers.
How to use CSV to JSON Converter
- Step 1
Add CSV Data or Upload a File
Paste a CSV table, upload a supported local file, or import from a public URL when appropriate. Review the detected delimiter, header setting and preview to ensure quoted commas and multiline cells are parsed correctly.
- Step 2
Choose JSON Shape and Clean Columns
Select array of objects, array of arrays, column, nested, keyed or grouped JSON. Decide whether to infer types, turn empty values into null, remove empty rows or duplicates, and rename or exclude columns.
- Step 3
Inspect and Export the JSON
Read the JSON output and spreadsheet preview, confirm important identifiers and data types, then copy or download the result. Use schema generation or an alternate export only when your downstream workflow needs it.
Key features
Reliable CSV Parsing
Parse quoted fields, embedded commas, escaped quotes and multiline values using RFC 4180-aware handling. Detect common delimiters and inspect irregular rows.
Six JSON Output Shapes
Produce arrays of objects, arrays of arrays, column-oriented output, nested objects, keyed records or grouped records without rewriting the source CSV.
Adjustable Data Types
Convert unambiguous numbers, booleans and null-like values to JSON types when enabled, or preserve strings for postal codes, account IDs and precise identifiers.
Field Mapping and Renaming
Include, exclude, reorder or rename columns so the resulting JSON keys match your API payload, front-end model, fixture or documentation.
Nested JSON from Headers
Use consistent dotted or other configured header separators to reconstruct structured objects from otherwise flat CSV columns.
Data Cleaning Before Export
Trim whitespace, remove empty rows and deduplicate records where applicable. Check the preview to avoid changing intended values.
Column Profiling and Quality
Review inferred column types, empty-value counts, uniqueness and other quality indicators to find risky keys or inconsistent data.
Live Spreadsheet Preview
Inspect parsed rows and columns before conversion, helping detect header mistakes, incorrect delimiters and unexpected data shifts.
Schema and Developer Outputs
Generate a draft JSON Schema, TypeScript interfaces or SQL table definitions as a starting point, then review types and required fields before use.
Several Export Options
Download JSON and use supported alternate formats such as SQL, Excel-compatible XLS, XML, YAML or TSV for connected data workflows.
What Is a CSV to JSON Converter and When Should You Use One?
A CSV to JSON converter changes row-and-column text into a structured data format that web apps, scripts, APIs and document databases can read. CSV is widely used because spreadsheets, analytics systems and databases can export it easily. JSON adds objects, arrays, keys and explicit values such as numbers, booleans and null. MyToolSpace CSV to JSON Converter helps bridge those formats without requiring you to write a custom parsing script for every dataset.
The process begins by interpreting the CSV structure. A header named customer_id becomes a JSON key; each subsequent CSV row contributes a value. Unlike simply replacing commas with punctuation, proper conversion must respect double-quoted fields, escaped quotation marks, line breaks inside quoted values and different delimiters. A name such as Smith, John in quotes must remain one field instead of becoming two columns.
For most API development and JavaScript applications, an array of objects is a practical default because every row becomes a readable record with named properties. Other workflows need a keyed dictionary, grouping by category or an object with nested addresses. The converter offers those alternatives so the shape is chosen by the downstream consumer rather than by what happened to be convenient in the original spreadsheet.
This page explains CSV to JSON conversion, nested JSON, automatic type inference, data mapping, CSV validation concerns, data privacy, export options and common mistakes. Use it to select meaningful settings and check the result before moving information into production.
Tabular Input: CSV represents observations as fields within rows; headers commonly provide the names that become JSON keys.
Structured Output: JSON represents records, collections and hierarchy for programmatic use; conversion cannot invent missing relationships.
How CSV Parsing Handles Commas, Quotes, Headers and Newlines
CSV stands for comma-separated values, but real-world files may use semicolons, tabs or pipe characters. A parser must decide where a cell ends without mistaking a comma inside a quoted address for a delimiter. Common CSV conventions escape an internal double quote by writing it twice. A single logical row may also occupy more than one physical line when a quoted cell includes a line break.
MyToolSpace describes RFC 4180-aware parsing and automatic delimiter detection. Start by checking the first few rows in the preview. If every record appears in one column, the guessed separator may be wrong. If the first record is treated as data rather than field names, switch the header setting. If your source genuinely has no header, generated column names provide keys rather than assuming that the first person's data names the fields.
A UTF-8 byte order mark can occasionally appear before the first header in files exported from spreadsheets. The tool describes BOM-aware handling. Nevertheless, if your first output key looks unusual, inspect your source file encoding. Inconsistent field counts also deserve attention: missing trailing cells and extra fields can create incomplete or unexpected records even if JSON syntax remains valid.
Parsing a CSV file successfully is not the same as verifying its business meaning. Two rows can parse perfectly while containing duplicate customer IDs, invalid dates or swapped address columns. Compare samples against the original export and check expected record counts before using the JSON in an application.
Quoted Values: A correctly quoted comma, line break or double quote belongs to its cell rather than splitting the record.
Header Toggle: Choose whether the first row holds column names; headerless input requires generated keys.
Delimiter Override: Use comma, semicolon, tab or pipe explicitly when auto-detection does not fit the file.
Row Consistency: Investigate lines with missing or extra cells rather than assuming that parse success means complete data.
Six CSV to JSON Output Shapes Explained with Practical Choices
The Array of Objects format is familiar: each CSV row becomes a JSON object with keys taken from column headers, and the full result is an array. This suits REST API payloads, front-end lists, test fixtures and many JSON import jobs. With headers id,name,active, the output is a list of records containing id, name and active properties.
Array of Arrays retains a grid-like structure. It can be more compact than repeating keys for each record, but consumers need to know which column index means which field. Column / Key-Value output instead groups all values of one column into an array under that column name, which can help with charts, vectors and column-oriented transformations.
Nested JSON uses header conventions to turn flat column names into hierarchy. A header such as user.address.city can become a city property within an address object inside user. Keyed / Indexed JSON stores records under a chosen identifier, suitable for lookups. Grouped JSON buckets rows by a field such as department or status, useful for summaries and dashboards.
Choosing the right output is more important than choosing the fanciest one. A backend expecting an array will reject a keyed object even though both are valid JSON. A grouping field with unexpected blanks may produce confusing groups, while duplicate keyed identifiers may overwrite or collide. Read the receiving API's schema, select the matching mode and test with representative records before importing an entire dataset.
Array of Objects: Best starting point for API lists and per-row records.
Array of Arrays: Useful for compact grids and libraries that accept positional columns.
Nested or Keyed: Reconstruct paths or index records when your consumer expects hierarchy or lookup keys.
Grouped or Columnar: Organize records by a category or organize values by field for specialized workflows.
CSV to JSON Data Type Inference: Numbers, Booleans, Nulls and Dates
Every CSV cell begins as text. JSON, in contrast, distinguishes a string such as "42" from the number 42, the string "false" from boolean false, and an empty string from null. MyToolSpace offers typed-value inference so obvious numbers and booleans can be represented as native JSON values. This is convenient when an API validates types or a chart needs numbers for calculations.
Type inference is not always safe for identifiers. ZIP or PIN codes with leading zeros, product SKUs, invoice codes, serial numbers and phone numbers should usually remain strings. Long digit sequences may exceed the exact-integer range of JavaScript numbers, and numeric-looking labels may carry punctuation that must not be removed. If exact source fidelity matters, turn inference off or inspect those fields individually.
Blank cells also have different meanings. An empty string is a present value containing zero characters; null communicates an explicitly empty value; a missing property means the key is absent. Choose among the available empty-value controls to match the destination schema. An API may accept null but reject an omitted mandatory key, while an update endpoint might interpret omission as 'leave unchanged.'
Dates require special care because JSON does not define a separate date literal. An ISO date is normally serialized as a string. Calendar systems can disagree about month/day order, and timestamps can include timezone offsets. The tool's profiling can help recognize date-like values, but verify that exported representations preserve the intended calendar date or instant before making automated decisions.
Preserve Leading Zeros: Keep postal codes, employee identifiers and account-like strings as strings.
Choose Empty Semantics: Empty string, null and omitted property have different meanings to consumers.
Check Large Integers: Very long IDs may lose precision if converted to JavaScript numbers.
Review Date Strings: JSON has no date primitive; keep dates as deliberate, unambiguous strings.
Build Nested JSON, Rename Fields and Map CSV Columns
Many applications expect structured objects even when source teams maintain flat spreadsheets. A CSV can store user.name, user.email and user.address.city as column names while a nested JSON payload represents them under a user object. In the MyToolSpace converter, the nested output mode can interpret consistent header separators, allowing the spreadsheet to remain editable while the export matches a hierarchical API or data model.
Decide on a naming convention before conversion. Dotted keys work well when dots truly mark levels; if a real field name contains a dot, nesting could change its meaning. Mixing separators across columns can split logically related fields. Nested structures also need conflict handling: a column called user and another called user.name imply both a leaf value and an object at the same path.
Field mapping lets you make a cleaner contract with receiving systems. Rename Cust ID to customer_id, exclude internal notes, reorder fields for readability and verify exact case. JSON property names are case-sensitive, so customerId and customerID are distinct. An API may use camelCase while a database export uses snake_case; consistency matters more than a universally 'best' style.
Before exporting, compare the header count, mapped column count and JSON preview. Confirm any excluded column is truly unnecessary. A field removed for privacy is useful only if copies of it are not also embedded in a note or composite field. Treat the output schema as part of your application's interface and document the mapping for future exports.
Nested Header Paths: Use predictable names such as account.profile.city only when nesting is intended.
Stable Mapping: Match the exact field names and types expected by downstream code.
Conflict Review: Avoid mixing a scalar parent key with nested children under that same key.
Exclude Sensitive Fields: Remove unnecessary columns before producing shareable or test datasets.
Clean CSV Rows and Profile Data Quality Before Conversion
Real datasets contain blank rows, padded strings, duplicates, inconsistent capitalization and mixed data types. A CSV to JSON converter can produce syntactically correct JSON from those rows, but the result may still be unsuitable for reporting or import. MyToolSpace includes cleaning controls such as trimming, dropping empty rows and deduplication, plus a profile of column types and missing values.
Cleaning should be deliberate rather than automatic. Trimming leading and trailing whitespace from a person's name may be useful, but spaces within a free-form message can be meaningful. Removing duplicate rows is different from removing duplicate IDs: two transactions may have the same amount, customer and date yet still be separate events. Always define what counts as a duplicate in the business context.
Review the Analyze area before choosing keyed output. A key column should be unique and sufficiently complete. The tool describes a 0–100 quality score and A–F grading, which can help surface issues, but those scores are tool-specific guidance rather than a universal certificate of correctness. A high score cannot establish that values are true, permitted for use, or current.
A useful pre-export quality check includes the number of imported records, populated columns, expected value ranges, count of missing keys, duplicate candidates and a spot-check of accented and non-Latin characters. Compare a few records at the beginning, middle and end of a large file. That simple habit catches column-shift errors that a valid JSON parser cannot detect.
Trim Carefully: Whitespace cleanup can help but may change identifiers and free-text content.
Deduplicate with Context: Do not delete legitimate repeated transactions just because their fields match.
Profile Candidate Keys: Use uniqueness and null counts when selecting a key or grouping field.
Interpret Scores Correctly: A data quality grade summarizes heuristics, not factual or regulatory approval.
Export JSON, Create Schemas and Connect Related Data Formats
The primary output is JSON that you can copy or download for use in a development environment, mock server, integration job or data-loading script. The live MyToolSpace tool also describes exports including SQL, Excel-compatible XLS, XML, YAML and TSV. These outputs serve distinct use cases; don't assume that a format conversion preserves every type or feature of the source.
JSON Schema generation provides a useful structural starting point for documenting fields, creating validators or discussing an API contract. However, a schema inferred from sample records may miss optional fields, permissible value ranges and conditions that are not represented in the sample. Review required properties, allowed types and null handling before publishing it as authoritative.
TypeScript interfaces can speed up front-end integration, but types generated from one dataset do not establish that all real-world records match. SQL CREATE TABLE output likewise needs human review for column widths, constraints, indexes and the target database dialect. Converting data is not the same as creating and validating a production schema.
The Reverse workflow supports converting JSON back into CSV. Round-tripping is useful for checks but not always lossless: nested objects may be flattened, numbers and strings may become indistinguishable once written as CSV, and JSON arrays require a chosen representation. Keep an original copy whenever the precise source data matters.
Primary Export: Download JSON for APIs, fixtures and application state.
Schema Generation: Treat inferred JSON Schema or TypeScript as a reviewable draft.
Alternate Formats: Use TSV, XML, YAML, SQL or XLS only where a receiving workflow requires them.
Round-Trip Caveat: Flattening and type conversion may prevent an exact CSV–JSON–CSV match.
Convert CSV to JSON for REST APIs, MongoDB and Application Development
API endpoints frequently accept JSON because it represents typed records and nested information naturally. When preparing data from an Excel or CSV export, first read the endpoint's documentation: does it accept one object, an array of objects or a wrapper with a records property? The output shape should match the endpoint exactly. A successful format conversion does not automatically satisfy its authorization, validation or business rules.
For MongoDB or other document databases, an array of records is often a convenient staging format. Keyed dictionaries may suit application-side caches, but a database import may expect an array or newline-delimited JSON instead. This tool produces the formats it exposes in its export controls; if your importer needs JSON Lines or another variant, verify support or transform the output separately.
Developers can use CSV to JSON to create predictable fixtures for unit tests, demo catalogs and mock API responses. Small, clearly documented samples are easier to audit than copying production records. Replace personal information with authorized fictional data, and verify that nested keys and type inference match the model used in the test runner.
For React, Vue or other front-end projects, an array of objects works well for displaying cards and tables. Grouped or column-oriented results can support charts and selectors. However, do not assume that browsers or APIs can handle arbitrarily large JSON payloads efficiently; pagination, batching and server-side validation may still be needed in deployed systems.
REST API Preparation: Match field casing, required properties, data types and array-versus-object expectations.
Document Database Imports: Check whether your importer wants JSON arrays, objects or newline-delimited records.
Front-End Fixtures: Use small representative test datasets with fictional data.
Batching and Validation: Conversion formats data; the receiving service still imposes its own limits.
CSV vs JSON vs TSV vs XML vs YAML: Select the Right Format
CSV is compact and easy to edit in spreadsheet software. JSON is more expressive for software because it represents types, nested objects and lists. TSV is similar to CSV but uses tabs as separators, sometimes reducing quoting needs when fields contain commas. XML offers explicit tags, attributes and schema ecosystems, while YAML emphasizes readable configuration and indentation-based structure.
The best choice depends on the receiving system, not a claim that one format is universally superior. Use CSV for tabular exports and manual review; JSON for web apps, API messages and structured fixtures; TSV for certain analytics pipelines; XML for systems built around XML contracts; and YAML for configurations where human editing is expected.
Converting CSV to JSON adds structure but may also increase file size because key names repeat in arrays of objects. If your dataset is enormous, consider filtering unused columns and sending records in batches. For small to medium integration tasks, clarity and compatibility are generally more important than minimizing every byte.
MyToolSpace provides related utilities such as JSON to CSV Converter, CSV Validator and JSON Formatter & Validator. Use the dedicated tool for the particular task: converting format, checking CSV quality or inspecting JSON syntax. These tools complement each other rather than being interchangeable.
Privacy, Security and Responsible Handling of CSV Data
The CSV to JSON page states that its core processing runs inside the browser. This helps avoid sending locally entered CSV content to a conversion backend during ordinary operations. But browser-based processing is not a blanket security guarantee: information can still be exposed through browser extensions, shared devices, copied output, downloaded files or optional imports from public URLs.
Before using real customer, payroll, health or financial information, confirm that you have permission to process it and follow your organization's data-handling rules. Minimize the columns you need, avoid putting secrets in public demos, and store downloaded JSON in an appropriately controlled location. JSON output can be easier to redistribute than the original spreadsheet, making least-privilege access important.
CSV cells can contain formulas or strings that spreadsheet applications interpret in special ways. Conversion to JSON normally treats those values as data, but exporting the same content to a spreadsheet format or reopening CSV elsewhere may raise formula-injection concerns. Review untrusted data before opening it in software with formula execution features.
Large browser-side conversions use local memory and computation. If the browser becomes slow, reduce dataset size, close memory-heavy tabs or split the source into batches. Privacy-conscious workflows should also clear clipboard history and local downloads where organizational policy requires it.
Local Processing Scope: A page statement about browser conversion does not cover every extension, download or import route.
Data Minimization: Exclude personal or confidential columns that the destination does not need.
Spreadsheet Safety: Review formula-like values when exporting to spreadsheet formats.
Authorized Use: Only convert datasets you are permitted to handle and share.
Six JSON Output Shapes and Best Uses
Match the JSON structure to the application that receives it.
| Best fit | Important check | |
|---|---|---|
| Array of Objects | REST APIs, test fixtures, front-end lists | Field names and types match the contract |
| Array of Arrays | Compact grids, positional data consumers | Consumers know the column positions |
| Column / Key-Value | Charts and column-oriented processing | Column arrays stay aligned |
| Nested JSON | Hierarchical objects reconstructed from headers | Separator and key conflicts are resolved |
| Keyed / Indexed | Lookup tables and records by identifier | Selected keys are unique and populated |
| Grouped JSON | Bucket records by category or status | Group labels and blank values are expected |
CSV Values and Their Possible JSON Meanings
Inference is convenient but not always appropriate for identifiers.
| Possible JSON | Recommended caution | |
|---|---|---|
| Whole number | 42 | Accept as a number for numeric quantities |
| Decimal | 19.95 | Check decimal separators and precision |
| Boolean text | true | Verify downstream expects boolean rather than text |
| Postal code | "00704" | Keep as string to preserve leading zeros |
| Empty cell | "" or null or omitted | Choose the API’s missing-value rule |
| Date | "2026-10-15" | Keep unambiguous date strings |
| Large identifier | "12345678901234567890" | Avoid unsafe numeric conversion |
| Quoted comma | "Smith, John" | Confirm parser keeps the value in one field |
CSV Import Quality Checks
Quick checks that prevent valid-looking but incorrect JSON output.
| Why it matters | |
|---|---|
| Delimiter | Wrong separator can collapse or shift columns |
| Header row | Wrong header setting produces unexpected property names |
| Quoted cells | Commas, quotes and line breaks need proper parsing |
| Unique identifiers | Duplicate keys can break indexed output |
| Null and empty strings | Receiving schemas distinguish missing and empty |
| Mixed data types | Inference may behave differently across rows |
| Character encoding | UTF-8 avoids many special-character problems |
| Large datasets | Memory and JSON output size can grow quickly |
Related Tools and Conversion Directions
Choose the format and tool that match your next task.
| Typical use | |
|---|---|
| CSV to JSON Converter | Create structured objects from tabular records |
| JSON to CSV Converter | Flatten JSON for spreadsheets and CSV exports |
| CSV Validator | Find CSV structure, formatting and quality issues |
| JSON Formatter & Validator | Inspect formatting and JSON syntax |
| TSV output | Exchange tab-separated tabular data |
| XML or YAML output | Integrate with systems requiring those formats |
| SQL export | Prepare database-oriented scripts for review |
| Schema generation | Create starter schemas or type definitions |
Common use cases
API and Backend Developers
Convert spreadsheet-sourced rows into typed JSON payloads, then verify names, nesting and required fields against an endpoint schema before sending requests.
Database Administrators
Prepare structured records for migration or document-database staging. Confirm importer format, unique keys and safe batching rather than assuming every database accepts JSON arrays.
Data Analysts
Transform CSV exports into arrays or column-oriented JSON for dashboards and scripts, preserving numeric types and checking missing values.
Front-End Engineers
Create JSON fixtures for React, Vue or vanilla JavaScript lists and test pages without introducing a custom CSV parser into the UI.
QA and Test Engineers
Turn small controlled tables into repeatable JSON test fixtures; include edge cases such as nulls, quotes and duplicate identifiers.
Students and Educators
Learn the difference between CSV rows and JSON objects by converting the same sample into arrays, nested objects and grouped data.
Ecommerce Teams
Convert product or inventory spreadsheets into JSON catalogs while protecting SKU formatting, prices and availability fields.
Localization Teams
Turn translation keys and language text from a spreadsheet into structured message objects, checking punctuation and Unicode characters.
Automation Specialists
Prepare CSV inputs for JSON-first integrations or workflows with documented field mappings, without claiming automatic live synchronization.
Practical tips
Keep an Unmodified CSV Copy
Save the original file before mapping, trimming, deduplicating or inferring data types. A source copy lets you resolve disputed values or reproduce an import.
Protect Identifier Columns
Treat postal codes, phone numbers, invoice IDs, tracking values and long numeric strings as text unless a receiving specification says otherwise.
Check the Header Toggle
Confirm whether the first CSV line contains field names. Headerless data must receive deliberate generated names, not accidental names taken from a record.
Verify Embedded Commas and Quotes
Preview rows with quoted commas, line breaks and escaped double quotes so a single address or comment does not shift later columns.
Use a Representative Test Sample
Test records with normal values, empty values, Unicode, long identifiers and duplicates before converting the full dataset.
Select Shape from Destination Needs
Do not choose nested, grouped or keyed output only because it looks concise. Read the expected schema and match it exactly.
Avoid Duplicate Keys in Indexed Output
Profile the candidate key column first. Duplicate or blank identifiers can make a keyed dictionary incomplete or ambiguous.
Decide Null Policy Deliberately
Empty string, null and an omitted field are not equivalent. Set the tool options to match how your API or database interprets missing values.
Minimize Sensitive Data
Exclude unnecessary personal, payroll or customer fields before sharing exported JSON, and follow applicable privacy rules.
Inspect Unicode and Locale Formats
Check accents, emoji, non-Latin scripts, decimal separators and date formats; locale-dependent data often needs human review.
Review Inferred Schemas
Treat generated TypeScript, JSON Schema and SQL definitions as drafts inferred from observed values, not as complete validated business contracts.
Keep Conversion Settings Documented
Record delimiter, header mode, typing, field mapping, cleaning and output shape so the next dataset can be processed consistently.
Frequently asked questions
What is a CSV to JSON converter?
It reads tabular CSV rows and creates JSON values such as arrays and objects. MyToolSpace provides multiple shapes plus options for delimiter detection, types, field mapping and cleaning. Check the generated structure before using it in an application.
How do I convert CSV to JSON online?
Open CSV to JSON Converter, paste or upload CSV, verify delimiter and header options, choose a JSON output shape, review the preview, then copy or download the generated JSON.
Is MyToolSpace CSV to JSON Converter free?
The live page describes the converter as a free browser-based tool. Review the current workbench and site terms for any changed limits or features.
Do I need to install software or create an account?
The tool is accessed through a web browser and its page describes free conversion without a separate software installation. Browser availability and current access rules still apply.
Can I convert a CSV file with headers into an array of JSON objects?
Yes. Enable the header row setting and choose Array of Objects. The header names become keys and each data row becomes a JSON object.
Can I convert CSV without a header row?
Yes. Disable the header-row option so the converter creates generated column labels. Rename those fields before export if your application requires specific property names.
What output shapes are supported?
The live page lists Array of Objects, Array of Arrays, Column / Key-Value, Nested JSON, Keyed / Indexed and Grouped JSON. Choose based on your destination format.
Can CSV become nested JSON?
Yes. In nested output mode, structured headers such as user.address.city can be interpreted as object paths using the supported configured separator. Check for collisions and unintended nesting.
How do I turn CSV into a JSON array?
Choose Array of Objects for records with named fields or Array of Arrays for a grid of positional values. They are both JSON arrays but their inner structure differs.
Can I convert CSV to JSON for a REST API?
Yes, if the output matches the API contract. Confirm field names, types, shape, authentication and payload-size limits; a valid conversion is not a guarantee that a particular API accepts the request.
Can I use JSON output with MongoDB?
JSON records can be used in workflows involving document databases. Check the exact import mechanism: some tools expect newline-delimited JSON or extended JSON rather than a plain array.
Does the converter support quoted commas in CSV fields?
The page describes RFC 4180-aware parsing, which recognizes properly quoted delimiters. Inspect preview rows such as names or addresses with internal commas to confirm the parse.
Can a CSV cell contain a line break?
Properly quoted CSV fields can contain line breaks. The parser should treat the quoted content as one value; check malformed quotations if a row unexpectedly splits.
Can the tool detect semicolons, tabs or pipes?
The page describes automatic delimiter detection and selectable separators. Override the detected delimiter when the spreadsheet preview shows the wrong number of columns.
Can the converter detect numbers and booleans?
Yes, when typed-values inference is enabled, unambiguous values may become JSON numbers or booleans. Disable inference when exact source strings must be preserved.
Why did my ZIP code lose its leading zero?
It may have been interpreted as a number. Keep identifiers as strings and check whether the source spreadsheet already removed leading zeros before export.
Can empty CSV cells become JSON null?
The workbench exposes empty-to-null and skip-empty options. Choose whether blanks should stay empty strings, become null or be omitted according to your schema.
Is a missing JSON field the same as null?
No. Null is an explicit JSON value, while a missing field has no property at all. APIs and validation rules can treat the two differently.
Are dates converted into real JSON date objects?
JSON has no dedicated date literal. Date-like CSV values generally need an agreed string representation; review timezone and locale interpretation before consuming them.
Can I rename or exclude CSV columns?
Yes. Field mapping supports including, excluding, renaming and reordering columns before export. Verify the resulting keys are unique and correctly cased.
Troubleshooting
| Problem | Likely cause | What to do |
|---|---|---|
| All values appear in one column | The selected delimiter does not match the source file. | Switch to the actual comma, semicolon, tab or pipe delimiter and inspect the first few rows again. |
| First data row appears as JSON property names | A headerless CSV was imported with the header option enabled. | Disable the header setting and assign appropriate field names before exporting. |
| Column names are generic column_1 labels | The converter is treating the file as headerless. | Enable headers if the first row contains labels, or rename generated keys in field mapping. |
| Cells shift into the wrong columns | Embedded commas or line breaks may be unquoted, or double quotes may be malformed. | Repair CSV quoting according to the source format and preview rows with complex values. |
| A quoted name is split at its comma | Quoting was lost in the source or the delimiter setting is incorrect. | Restore enclosing double quotes and ensure internal quotes are doubled where required. |
| CSV row count differs from JSON records | Blank-row removal, duplicate cleaning, malformed rows or header interpretation may change counts. | Review enabled cleaning options and compare input data rows with output records. |
| Leading zeros disappear | Type inference or the source spreadsheet treated an identifier as numeric. | Preserve identifiers as strings and re-export the CSV from a text-preserving source if necessary. |
| Large integer IDs are changed | Converting a long integer to a JavaScript number can lose precision. | Disable numeric type inference for identifier fields and keep the full digit sequence as text. |
| true and false appear in quotation marks | Typed-value inference is disabled or the cell is not recognized as an unambiguous boolean. | Enable inference if desired and inspect the exact source spelling; keep strings when the destination expects text. |
| Blank cells become null unexpectedly | The Empty to null option is enabled. | Disable the option or choose skip-empty behavior only if the receiving schema allows missing keys. |
| Properties disappear from some objects | The Skip empty option removes keys corresponding to empty cells. | Disable Skip empty when the API requires those properties, even with blank values. |
| Nested JSON has unexpected objects | Header separators are being interpreted as nesting paths. | Use a different output shape or adjust separator and header naming conventions. |
| Nested JSON has conflicting keys | A path is used as both a scalar field and a parent object. | Rename source headers so parent and child paths do not collide. |
| Keyed output loses records | The chosen key field has duplicate or empty values. | Profile the column and select a genuinely unique nonempty identifier, or use Array of Objects. |
| Grouped JSON has too many buckets | Category spelling, case or whitespace varies between rows. | Normalize group labels carefully, then preview the group count before export. |
| Unexpected characters appear in a header | The file may have a BOM or a mismatched character encoding. | Save the source as UTF-8 and check the preview for special characters in the first column name. |
| Accents or emoji display incorrectly | The source encoding may not be UTF-8 or characters were changed before import. | Re-export as UTF-8, verify the original text and retry with a small sample. |
| Numeric decimal values remain strings | Locale-specific separators, currency symbols or ambiguous formatting prevent safe inference. | Normalize numeric source fields if appropriate and verify units, precision and locale rules. |
| JSON does not match the API schema | Field names, shape, types, null behavior or required properties differ from the contract. | Compare exported JSON against the API schema and adjust mapping, output mode and typing. |
| The upload is slow or browser freezes | A large dataset can exhaust browser memory when parsing, profiling and rendering JSON. | Test a smaller sample, exclude extra columns, close heavy tabs or split the source into batches. |
| No downloadable file is produced | Browser download permissions, extensions or output-generation errors may block saving. | Try the copy option, check browser download settings and retry with a smaller valid dataset. |
| Data appears twice after conversion | Duplicate rows exist in the source or a prior import was concatenated incorrectly. | Inspect raw input and enable deduplication only after confirming repeated rows are not legitimate. |
| An XLS or SQL export looks different from JSON | Alternate formats use different representations and may impose type or layout choices. | Review each exported format independently and confirm it fits the receiving application. |
| Import from URL fails | The public endpoint may be inaccessible, blocked by CORS or returning non-CSV content. | Use a permitted direct CSV source, check access restrictions or upload the local file instead. |
| JSON is valid but downstream reports fail | Business rules such as unique IDs, required relationships or expected ranges are not guaranteed by syntax validation. | Validate against domain rules and compare important records with the source system. |
Developer Tools
Explore More Tools
Go ad-free & unlock more
- Zero ads, faster focused workflow
- Unlimited history & saved presets
- Batch processing & exports