Convert a quantity without changing its IDs
Paste this sample, choose the comma separator, turn on Infer types, and select CSV → JSON.
sku,warehouse_id,quantity
00123,9007199254740993,4
The output contains this object.
{"sku":"00123","warehouse_id":"9007199254740993","quantity":4}
The SKU keeps its leading zeros and the warehouse ID stays quoted because it exceeds JavaScript’s safe integer range. The quantity becomes a number. Turn off inference if the destination expects every field to stay text. If the leading zeros were lost in the spreadsheet, recover them from the original source before converting.
Use unique column headers and flat JSON objects. In a JSON object, use each field name once. The same name can appear in separate rows. When two values have the same key in one object, check the original JSON before deciding what to keep. See the repeated-key invoice example. Missing JSON fields and null values become empty CSV cells. Type inference converts simple numbers, booleans, and empty cells; identifiers with leading zeros and unsafe integers remain text. Large inputs may slow your browser.