A Comma Inside a Company Name Should Not Shift Your CSV Columns

A Comma Inside a Company Name Should Not Shift Your CSV Columns

MailBolt
MailBolt™ Team
Author
2026-08-20
Published
2 min read
Reading Time

One contact has a company name containing a comma. After import, their email appears in the next column and every field after it is wrong. The list is not necessarily corrupt; the parser may be too simple.

Use a CSV parser, not a split

CSV quoting allows fields to contain delimiters, line breaks and quote characters. Splitting each line at every comma cannot handle those cases. It can also turn a legitimate multiline field into several imaginary contacts.

Inspect the file with a proper import preview. Confirm the delimiter, header row and quoting behavior. A semicolon-separated export needs a different delimiter setting even if the filename still ends in .csv.

Build a small test file

Include a company containing a comma, a quoted nickname, an empty field and a multiline note. Add a final row without a trailing newline. Check that the importer produces the expected number of rows and keeps each address beside the correct person.

Do not repair a shifted file by dragging a few cells back into place unless you can account for every affected row. Reimporting the original with the right parser is safer and easier to repeat.

The important check is the relationship between fields. A valid-looking address is still wrong if it has been attached to another customer's name.

References

MailBolt
Written by
MailBolt™ Team