33 chars · 3 lines
Needs attention
33 chars · 3 lines
Needs attention
CSV trailing-delimiter troubleshooting
Ada's row ends with a comma after admin. That comma creates a third empty field even though the header and other row contain only two columns, so the validator reports a width mismatch. This tool is free to use. No account or payment is required.
Last updated
CSV does not treat a final comma as decorative punctuation. It starts another field, even when that field is empty, so one stray separator can change the row width.
Remove the final comma so Ada's row has the same two columns as the header.
name,role
Ada,admin,
Linus,editorname,role
Ada,admin
Linus,editorCommon questions
Yes. It represents another column boundary followed by an empty value.
Then the file consistently contains another empty column; decide whether that column is intended before removing it.
That one record becomes wider than the first row and the other records.
Debugging a specific CSV issue? Browse CSV troubleshooting.