30 chars · 2 lines
30 chars · 2 lines
30 chars · 2 lines
30 chars · 2 lines
CSV duplicate-header troubleshooting
The sample contains role twice in the header row. A CSV table can physically contain repeated headings, but a JSON object cannot preserve two separate values under the same property name without losing one, so VetaTool rejects duplicate headers before conversion. This tool is free to use. No account or payment is required.
Last updated
A spreadsheet may display two columns with the same label, but object properties are keyed by name. Converting both columns to the same key would overwrite one value, so unique headers are required to preserve all data.
Compare the malformed source with a corrected version that the same VetaTool CSV mode accepts.
name,role,role
Ada,admin,ownername,role,access
Ada,admin,ownerCommon questions
CSV syntax does not universally forbid them; this is a safe-conversion requirement for CSV to JSON.
Duplicate JSON object keys are ambiguous and many parsers keep only the last value, so VetaTool requires unique names before conversion.
Use names that describe the real meaning of each column whenever possible so the generated JSON remains understandable.
Debugging a specific CSV issue? Browse CSV troubleshooting.