Skip to content

Preparing a Spreadsheet for Import

Up to date as of 26 November 2026

Every import tool has its own rules, and the maker's help page for the import is the final word. The checks below cover what most tools care about. HubSpot's published rules serve as a worked example throughout. Yours may differ.

Start with a copy

Duplicate the spreadsheet before you change anything. Do all the cleanup on the copy. If something goes wrong, you still have the original.

Clean it up

  1. Keep one sheet. HubSpot's rules say an import file must contain only one sheet.1 Move the data you want onto a single tab.
  2. Put headings in the first row. HubSpot asks for a header row in which each column header corresponds to a property in the system.1 Use short, plain headings with one heading per column. Skip merged cells, titles above the table and blank rows.
  3. Make every row the same shape. RFC 4180 says each line should contain the same number of fields throughout the file.2 Delete notes, totals and stray cells that sit outside the table.
  4. Leave unknown values blank. HubSpot notes that its import tool ignores blank cells.1 Don't type "N/A" or "none" into a cell, because the software may store those words as real data.
  5. Trim stray spaces. RFC 4180 says spaces are considered part of a field and should not be ignored. A space before a name is data, not padding.2
  6. Use one format per column. Write every date the same way, every phone number the same way, and every price as a plain number.

Watch for numbers that are really text

IDs, zip codes and phone numbers can start with a zero. A spreadsheet may drop that zero if it treats the column as numbers. Microsoft describes converting a column of numbers that contains leading zeros to text so the zeros are preserved.3

Set those columns to text before you type or paste anything into them. Then check the saved file in a text editor.

Dates and currency

A date such as 03/04 means March 4 in the United States and April 3 in many other countries. Microsoft's page gives the example of a file whose dates are month-day-year while the program's default is year-month-day.3 Software then reads some dates wrongly.

Many import tools let you pick the date format during the import. Write dates in one pattern and note which one it is. Prices should be plain numbers without currency symbols or thousands separators. Whether a tool wants a period or a comma as the decimal mark depends on its settings and your country, so check its help page.

Check the encoding

If your data has accents or non-English letters, the file needs the right character encoding. HubSpot says a file must be UTF-8 encoded if it includes foreign language characters.1 Check which encodings your spreadsheet program offers when you save.

Save and look at the result

Use Save As and pick a CSV type. Excel warns that only the current sheet will be saved and that some features may be lost.3 That's expected.

Then open the saved file in a plain text editor. Opening a CSV file in Excel doesn't change the file's format.3 The text editor shows exactly what's stored, with no spreadsheet display in the way.

Preparing a file for importCopy the original spreadsheetClean headings, blanks and valuesSave the copy as a CSV fileOpen the CSV in a text editor
Work on a copy, clean it, save it as CSV, then look at the result.

Before you upload

  • Does the maker offer a template or sample file? Starting from it saves time. See Matching Columns During an Import.
  • Are the file's size and row limits within what your plan allows? Limits vary by product and sometimes by plan.
  • Does the file hold private data? Store it somewhere safe and delete extra copies once the import is checked. See Checking an Import Afterward.

Reference list

  1. Format import files, HubSpot Knowledge Base
  2. RFC 4180: Common Format and MIME Type for Comma-Separated Values (CSV) Files, RFC Editor (IETF)
  3. Import or export text (.txt or .csv) files, Microsoft Support