45 chars · 4 lines
Needs attention
45 chars · 4 lines
Needs attention
CSV multiline-field troubleshooting
The sample intends Line one and Line two to be one notes value, but the newline is outside quotes. The parser therefore starts a new one-column record and reports a width mismatch. Quote the complete multiline value so the newline remains inside the field. This tool is free to use. No account or payment is required.
Last updated
Notes, addresses, and descriptions often contain real line breaks. CSV can preserve them, but the entire field must be quoted; otherwise each newline starts a new record and shifts the table structure.
Compare the malformed source with a corrected version that the same VetaTool CSV mode accepts.
name,notes
Ada,Line one
Line two
Linus,Kernelname,notes
Ada,"Line one
Line two"
Linus,KernelCommon questions
Yes. Put the entire value inside a quoted field so embedded newlines do not end the record.
An unquoted newline is legal as a record boundary, so the structural problem appears on the newly created short row.
No. Keep the newline when it is meaningful; quote the field correctly instead.
Debugging a specific CSV issue? Browse CSV troubleshooting.