Skip to content
PBPasteBench

CSV to JSON

Turn spreadsheet rows into an array of objects, using the header line as keys. Quoted fields containing commas are handled properly.

Objects appear here

Copies a link that reopens this tool with your input.

Common questions

Does it handle commas inside quoted fields?+

Yes. The parser reads character by character and tracks quoting, so an address field containing commas stays one value instead of splitting across columns.

Why did my ID with leading zeros become a string?+

Deliberately. A value like 007 is almost always an identifier rather than the number seven, so leading zeros are preserved instead of being parsed away.

More tools