← Back to guides

How to format CSV for Excel

Use this checklist before import: delimiter, quoting, headers, and date format consistency. This reduces broken columns and unexpected truncation.

1) Make headers safe for spreadsheet tools

Excel is sensitive to blank headers and duplicates. Keep one normalized header row with simple names and stable casing.

2) Guard quote and comma handling

If fields contain commas, wrap values in quotes consistently. Keep embedded line breaks controlled or normalized first.

3) Align dates and number formatting

Set date and number normalization before upload to avoid Excel auto-converting values differently across versions and locales.

4) Validate with edge test rows

5) Minimal fallback template

If your source is from an unstable template, use this sequence:

  1. Normalize headers and remove empty rows.
  2. Normalize quotes and delimiter.
  3. Set date strategy (`YYYY-MM-DD`) and number strategy (`.` decimal).
  4. Run preview, then re-export.