Read a small CSV table without guessing its cell types
Decide what the header row means
This standalone converter reads a comma-separated table and writes a JSON array of records. The first row supplies field names, and each following row supplies one record. Every imported cell remains a string. Enter or import a synthetic table and choose Convert. The output is structured JSON, not an automatic interpretation of which columns are numbers, dates, booleans or nested objects.
A useful source has exact, unique, nonempty headers. The converter preserves header spelling and whitespace rather than silently trimming every name. A header containing a dot is a literal field name, not an instruction to construct a nested object. Decide the column contract before conversion, especially when a receiving application expects particular names. Successful parsing cannot tell whether the source chose the right columns for that application.
The delimiter on this page is a comma. There is no automatic delimiter detection or selector for semicolon-separated tables. A semicolon can remain ordinary text in a single field, producing a valid but unintended one-column result. Inspect the output structure rather than assuming that any successful result proves the source was split into the intended number of columns.
Keep an original before transforming a real export. This page converts supplied text; it does not retrieve records, deduplicate rows, discover an external schema or check their business meaning. Use harmless examples to learn quoting and string preservation first. Changing punctuation until conversion succeeds can produce a different table, so retain the original source and make deliberate edits that can be explained later.
Follow a leading-zero identifier and a quoted name
Checked synthetic input
id,name
007,"Lin, Mei"Exact observed output
[
{
"id": "007",
"name": "Lin, Mei"
}
]Use a synthetic table with headers id and name, followed by a row whose identifier is 007 and whose name is Lin, Mei. The comma inside the name requires CSV quoting so it stays in one cell. Convert the table and inspect the exact worked result below. The identifier is a JSON string containing all three digits, and the name is one string containing its comma and space.
This example demonstrates two independent rules. CSV quotes control how the table is divided into fields. They do not mean that unquoted cells should become JSON numbers. The importer keeps both quoted and unquoted cell values as text. A value that looks like true is still a string, and a date-looking value is not converted into a date object. Interpret types only in a separate, explicit downstream step.
A quote inside a quoted CSV field is represented by two consecutive quotes. A quoted line break can also belong to one cell rather than starting another record. The parser tracks whether it is inside a quoted field, so a simple split on commas or physical lines is not equivalent. The educational diagram highlights the header-to-field mapping and the preserved string value, rather than implying a general nested-data conversion.
Check the number of records and the field names after conversion. A table containing only a header returns an empty array on this standalone page. That output has no records and cannot carry the header names as object keys. Include a real data row for a useful record conversion, but do not describe the header-only outcome as a rejection here. The separate structured-data workspace has a different policy and rejects that case.
Understand errors and actual boundaries
Each data row must have the same field count as the header. Duplicate exact header names, headers with no non-whitespace content and malformed quotes are rejected. Text after a closing quoted field is not silently appended as if the quote had never closed. The error identifies a parsing problem; it does not choose which source entry or delimiter the author intended.
Whitespace inside field names and values is preserved. A blank physical row can be interpreted as a row with one empty field, which may conflict with a wider header. Empty cells are still string values rather than missing properties or null. These distinctions matter when comparing the output with a receiving application's expectations. The converter does not invent defaults for absent values or remove blank records automatically.
The input ceiling is one hundred thousand UTF-16 code units. Imported files have a separate one-hundred-thousand-byte limit, and generated output is limited to one million characters. Bytes and string code units are not the same measure for many characters. The standalone processor is not assigned the structured workspace's separate field-count policy merely because both support CSV. Use the limits documented for the actual page and operation.
The source accepts ordinary line endings and an initial byte-order-mark character after text decoding. Quoted line breaks remain part of cell content. Keep encoding and newline assumptions visible when comparing a pasted table with an imported file; browser text fields and external files can present line endings differently. A filename extension by itself does not prove that its content is a compatible comma-separated table.
Processing is bounded by the browser workflow's startup and execution controls. Cancel or a timeout is not a successful conversion, and a smaller test does not retroactively prove that an interrupted source completed. Editing input invalidates the previous result. Reset clears the current working source and output; it is not a command to remove downloaded files, clipboard contents or storage managed by another application.
Carry the records into the next step deliberately
A practical use is preparing a small synthetic roster or catalog for a JSON-based application. Verify that identifiers with leading zeros remain strings and that quoted names occupy one field. Then compare the required column names and types with the destination contract. This page does not submit the records or confirm that the application accepts them, even when the JSON output itself is well formed.
Another use is investigating an export that appears to have too many columns. Reduce a harmless fixture to a quoted comma or embedded quote and compare the result with the source's intended cells. A successful small example can help explain the quoting rule, but it is not proof that every row in an unexamined file is correct. Preserve errors and record counts when scaling the review back to the actual source.
Copy and Download output transfer the generated JSON text. Save source context separately if another person needs to reproduce the header mapping and assumptions. Verify the delivered file contents rather than relying only on the button action. A formatted record array does not include a complete audit trail, and it should not replace the original table until the values and destination requirements have been checked.
Finally, conversion does not sanitize confidential or untrusted content. Strings can still contain sensitive values or formula-like text that another application may interpret when re-exported to a spreadsheet. Quoting alone is not a universal neutralization step. Use synthetic data for examples, preserve the site's actual privacy guidance and treat the result as data requiring the receiving system's own validation and handling rules.
Format reference (local parser policies are described separately): CSV format reference (local policies differ).