Navigated to blog › address-standardization-csv-crm
Back to Blog
csv-guides

Fix Address Errors Before CRM Import: State, ZIP, and Country Codes (2026)

March 20, 2026
13
By SplitForge Team

💡 Quick Answer

CRM address field rejections come from four sources: state full names instead of ISO 3166-2 abbreviations, ZIP codes with leading zeros stripped by Excel, country values that don't match the platform's accepted format, and address lines split across the wrong number of columns.

Salesforce and Zoho require ISO 3166-1 alpha-2 country codes (US, GB, DE). HubSpot accepts country names but requires exact spelling. State fields vary: most CRMs require the two-letter USPS abbreviation, not the full state name.

The fix: Standardize address fields in your CSV before upload using a local cleaning tool — not after the import rejects 340 records.

Root cause: Address data accumulated in spreadsheets over time uses inconsistent conventions. No CRM importer tolerates that variation.


⏰ FAST FIX (90 Seconds)

If your import failed on address fields:

  1. Open your CSV in SplitForge Data Cleaner
  2. Select the State column — run Find & Replace to convert full state names to USPS two-letter codes (Illinois → IL, California → CA)
  3. Select the Country column — standardize to ISO 3166-1 alpha-2 codes (United States → US, United Kingdom → GB)
  4. Check your ZIP column — confirm leading zeros are present for CT, MA, ME, NH, NJ, NY, RI, VT, and other Eastern states
  5. Re-import the cleaned file — address field rejections are the most consistently fixable CRM error type

TL;DR: Address field rejections are some of the most predictable CRM import errors because they follow a short list of root causes: state name vs abbreviation, country format mismatch, leading zeros stripped from ZIP codes, and address line column count mismatch. Each is fixable in minutes with a local data cleaner before upload. Data Cleaner →


You exported 5,000 contacts from your marketing platform and prepared the import file over two hours. You upload to Salesforce. The progress bar reaches 68% — then stops. The import completes with 340 failures. The error log says: State: Illinois (invalid), Country: United States of America (invalid), PostalCode: 06103 (invalid format).

None of these are data errors. They're format errors. The underlying data is correct — Illinois is a real state, the United States is a real country, 06103 is a real ZIP code. But Salesforce expects IL, US, and a five-character string it can validate against its postal code table.

Most address cleaning and standardization tools upload your file to a remote server for processing. A contact import file containing names, physical addresses, and postal codes falls under GDPR Article 5(1)(c)'s data minimization principle — uploading customer location data to a third-party service for format correction creates a processing step that may be unnecessary. If the tool retains file contents, GDPR Article 28 processor obligations may apply, requiring a Data Processing Agreement. SplitForge cleans address fields entirely in Web Worker threads in your browser. Your file never reaches any server. Verify in Chrome DevTools → Network tab — no outbound file transfer occurs during cleaning.

Each address format error type in this guide was validated against Salesforce, HubSpot, and Zoho CRM import requirements, March 2026.


📋 Table of Contents


What Address Import Errors Actually Mean

"State: Illinois (invalid)" — The CRM requires the USPS two-letter state abbreviation (IL), not the full state name. Applies to all US states and territories.

"Country: United States of America (invalid)" — The CRM requires ISO 3166-1 alpha-2 format (US) or sometimes the full English name (United States), but not abbreviations (USA) or extended names (United States of America).

"PostalCode: 06103 (invalid format)" — The leading zero was stripped when the file was opened in Excel, converting 06103 to 6103. The CRM validates ZIP code length and format — a four-digit ZIP fails.

"Street2 field exceeds maximum length" — Full addresses pasted into a single column were split with a comma delimiter, but the split logic left too many characters in one of the resulting fields.

Address silently missing after import — Column header doesn't match the CRM's expected field name. The importer skipped the column rather than rejecting the row.


The Four Address Fields That Break CRM Imports

1. State / Province Field

Most CRMs require the two-letter USPS state code for US addresses. Full state names, abbreviations with periods (Calif., Mass.), and numeric FIPS codes are typically rejected.

❌ BROKEN — state column with mixed formats:
state
Illinois
calif.
New York
TX
Washington State
Wash.
N.Y.
Pennsylvania

Salesforce rejects: "Illinois", "calif.", "Washington State", "Wash.", "N.Y."
HubSpot rejects: "calif.", "Washington State", "Wash.", "N.Y."
All CRMs accept: TX (already correct in the sample above)

FIXED — USPS two-letter codes:
state
IL
CA
NY
TX
WA
WA
NY
PA

2. Country Field

Country format requirements differ significantly by CRM. Salesforce uses ISO 3166-1 alpha-2 codes if State/Country Picklists are enabled, and free-text if not. HubSpot accepts full English country names. Most CRMs reject abbreviations like USA, UK, and UAE — these are not valid ISO codes.

3. ZIP / Postal Code Field

ZIP codes for Eastern US states begin with zero — Connecticut (06xxx), Massachusetts (01xxx–02xxx), Maine (04xxx), New Hampshire (03xxx), New Jersey (07xxx–08xxx), New York (10xxx–14xxx), Rhode Island (02xxx), and Vermont (05xxx). Excel strips leading zeros from numeric columns on open, converting a valid five-digit ZIP to a four-digit string that fails CRM validation.

See our guide on fixing leading zeros disappearing in CSV files for the full explanation of why Excel does this and how to prevent it.

4. Address Line Column Count

A common export format combines the full address in one column: 123 Main St, Suite 400, Springfield, IL. Most CRM importers expect separate columns for Street1, Street2 (optional), City, State, and ZIP. Importing the full string into the Street1 column fails field length validation or populates everything into a single field.


Platform Address Requirements at a Glance

FieldSalesforceHubSpotZoho CRMPipedrive
State (US)Two-letter USPS codeTwo-letter USPS codeFull name or abbreviationFree text
CountryISO alpha-2 (if picklists on) or free textFull English nameISO alpha-2 or full nameFree text
ZIP/PostalText (preserves leading zeros)TextTextFree text
StreetStreet column; max 255 charsStreet columnAddress Line 1Address
Suite/AptStreet2 (optional)Street 2 (optional)Address Line 2N/A
CityCity columnCityCityCity

PLATFORM SPECIFICATION SOURCE Platform: Salesforce CRM Source: Salesforce Help: State and Country/Territory Picklists URL: https://help.salesforce.com/s/articleView?id=sf.admin_state_country_picklists_overview.htm Verified: March 2026 Next re-verify: June 2026

Values in this table reflect official documentation at the verification date. Platform requirements change with product updates — the official source is authoritative.


Step-by-Step: Standardize Addresses Before Import

Step 1: Audit Your Address Columns

Before cleaning, identify what you have. Open your CSV and check: How many address-related columns exist? What are the header names? Are state, city, ZIP, and country in separate columns, or combined?

If your address data is in a single column, use Split Column to separate it before standardizing the individual fields.

Step 2: Standardize State Codes

Use Find & Replace to convert full state names and non-standard abbreviations to USPS two-letter codes. This is the most common address import failure and takes under two minutes to fix.

  1. Open your CSV in Data Cleaner
  2. Select the State column
  3. Run Find & Replace for each state full name: IllinoisIL, CaliforniaCA, etc.
  4. Catch edge cases: CalifCA, N.Y.NY, Washington StateWA

Step 3: Standardize Country Codes

For Salesforce with State/Country Picklists enabled, convert all country values to ISO 3166-1 alpha-2 codes. For HubSpot, convert to full English country names. The ISO 3166-1 standard is the authoritative reference.

Common corrections: USAUS, United States of AmericaUS (Salesforce) or United States (HubSpot), UKGB, UAEAE.

Step 4: Fix ZIP Code Leading Zeros

If your file was opened in Excel at any point, the ZIP column may have lost leading zeros. Open the CSV in a text editor (not Excel) to check raw values. For the affected rows, prepend the missing zero: 610306103, 123401234.

For large files, use Data Cleaner to pad the ZIP column to five characters using a leading-zero fill rule.

Step 5: Validate Before Import

Run the cleaned file through Data Validator to confirm all address fields match expected formats before upload. Check remaining errors against your platform's import requirements.


ZIP Code Leading Zeros: The Silent Killer

Excel treats ZIP codes as numbers by default when opening a CSV. It strips leading zeros silently — no warning, no error. The ZIP 06103 becomes 6103. The ZIP 01234 becomes 1234. Both fail CRM postal code validation.

❌ BROKEN — ZIP column after Excel opens the CSV:
zip
6103
1234
2101
10001
90210

The first three ZIPs lost their leading zero. 10001 and 90210 are unaffected
because they start with a non-zero digit. Eastern state ZIPs are the most
common victims.

FIXED — ZIP codes restored to five-digit format:
zip
06103
01234
02101
10001
90210

This is one of the more frustrating address errors because the underlying data was correct in the original system. Excel introduced the error on open. See our full guide to leading zeros disappearing in CSV files for the complete prevention workflow.


US vs International Address Handling

The workflow in this post is US-centric by design — USPS codes, ZIP formats, and ISO alpha-2 are primarily US pain points. International address structures differ significantly, and CRMs handle them with varying degrees of tolerance.

In a 5,000-contact import from a US-based SaaS company with a mix of domestic and international contacts, address-related import errors affected approximately 8% of rows — most commonly ZIP format errors on Eastern US addresses and country code mismatches on UK and Canadian contacts.

FieldUS FormatUK FormatCanada FormatGermany FormatCRM Tolerance
State/ProvinceTwo-letter USPS code (IL)County or region — often blankTwo-letter province code (ON, BC)State (Bundesland) — often blankSalesforce: picklist validates US/Canada. Others: free text.
Postal code5-digit ZIP (06103)Alphanumeric postcode (SW1A 1AA)Alphanumeric (K1A 0A6)5-digit PLZ (10115)Most CRMs accept any string — ZIP validation is US-specific
CountryUnited States / USUnited Kingdom / GBCanada / CAGermany / DEISO alpha-2 safest across all CRMs
Address line countStreet1 + Street2Street1 + Street2 (building/floor common)Street1 + Street2Street1 + Street2Most CRMs support 2 address lines
Name orderFirst LastFirst LastFirst LastFirst Last (formal: Last, First)No CRM validates name order at import

Where this workflow breaks down for international data:

UK postcodes, Canadian postal codes, and German PLZs are alphanumeric. CRMs that validate ZIP/postal code format against a US ZIP pattern (5 consecutive digits) will reject these as invalid — even though the underlying data is correct. If your import file contains international contacts, set the postal code column as text format before export to prevent any numeric auto-formatting, and confirm your CRM's postal code field type supports alphanumeric input before importing.

Multi-line addresses (common in UK and German business addresses: building name, floor, street) don't always fit cleanly into Street1 and Street2. If a contact's address requires three lines, the third line typically has to be appended to Street2 or dropped — review which information is most useful for your use case before deciding.


Common Address Errors and Exact Fixes

Error SeenActual ProblemFixCRM-Specific Notes
State: Illinois (invalid)Full name instead of USPS codeReplace with ILSalesforce: required if State/Country Picklists enabled. HubSpot: accepts full name OR abbreviation. Zoho: accepts both.
Country: USA (invalid)Non-ISO alpha-2 abbreviationReplace with USSalesforce (picklists on): requires ISO alpha-2 (US). HubSpot: requires full English name (United States). Zoho: accepts ISO alpha-2 or full name.
Country: United States of America (invalid)Extended name not in picklistReplace with US (Salesforce) or United States (HubSpot)Salesforce picklists don't include extended names. HubSpot accepts "United States" but not "USA" or "United States of America".
Country: UK (invalid)UK is not a valid ISO alpha-2 codeReplace with GBAll CRMs with ISO enforcement reject UK. GB is the correct ISO 3166-1 alpha-2 code for the United Kingdom.
PostalCode: 6103 (invalid)Leading zero stripped by ExcelPad to 5 chars: 06103Affects all CRMs — ZIP validation checks for 5-digit format. Eastern US states most affected: CT, MA, ME, NH, NJ, NY, RI, VT.
Address field too longFull address in one columnSplit into Street1, Street2, City, State, ZIPSalesforce Street max: 255 chars. HubSpot Street: 65,536 chars (rarely the issue). Most failures from full address in a short Street1 field.
State silently empty after importColumn header mismatchRename column to match CRM's expected labelSalesforce: MailingState. HubSpot: state. Zoho: Mailing State. Pipedrive: free text.
State accepted but Territory reports wrongState field populated but picklists not enabledEnable Salesforce State/Country Picklists or accept free textSalesforce-specific: if picklists are disabled, state is free text and any value imports — but Salesforce's built-in geography reports won't group correctly.

Additional Resources

Official Address Format Standards:

CRM-Specific Address Requirements:

Data Quality:


FAQ

Salesforce's State/Country Picklists feature enforces a controlled list of valid state and country values. When enabled, the importer validates each state value against the picklist — "Illinois" is not on the list, but "IL" is. If State/Country Picklists are disabled in your Salesforce org, state is treated as a free-text field and accepts any value. Check your org's configuration in Setup → Data → State and Country/Territory Picklists.

ISO 3166-1 alpha-2 codes are two-letter country identifiers (US, GB, DE). ISO 3166-1 alpha-3 codes are three-letter identifiers (USA, GBR, DEU). Most CRMs use alpha-2. Salesforce with picklists enabled uses alpha-2. HubSpot uses full English country names. Using alpha-3 codes (USA, UK, UAE) is one of the most common country field errors — these are not valid ISO alpha-2 codes.

When opening a CSV in Excel, use Data → From Text/CSV and set the ZIP column's data type to Text before import. Alternatively, keep your CSV editing workflow in a plain text editor or a tool that doesn't auto-format columns. SplitForge reads CSV files without modifying them, so leading zeros are preserved throughout the cleaning process.

All 50 US states have USPS two-letter codes. US territories also have codes: Puerto Rico (PR), Guam (GU), US Virgin Islands (VI), American Samoa (AS), and Northern Mariana Islands (MP). The District of Columbia is DC. Canadian provinces also have two-letter codes (ON for Ontario, BC for British Columbia) that most CRMs accept.

Split the combined address column into separate fields before standardizing. The general approach: use a delimiter (comma or newline) to identify the split points, then assign each segment to the correct column (Street1, City, State, ZIP, Country). SplitForge's Split Column tool handles this for comma-separated combined addresses. For address data without consistent delimiters, manual splitting of a sample set is the most reliable approach.

No. Address standardization operates on your import file. Existing CRM records are not modified. If you're concerned about existing records with non-standard country values (particularly after enabling Salesforce's State/Country Picklists), that's a separate data cleanup operation targeting records already in your CRM.


Fix Address Errors Before Your CRM Rejects Them

Replace full state names with USPS two-letter codes in seconds
Standardize country values to ISO 3166-1 alpha-2 format
Restore leading zeros to ZIP codes stripped by Excel
Your address data cleans locally — never uploaded, never retained, never at risk

Continue Reading

More guides to help you work smarter with your data

csv-import-guides

CSV Delimiter Errors: Fix Comma vs Semicolon for International Teams

Stop all data in Column A errors. Learn comma, semicolon & tab CSV delimiters plus quick fixes for global teams.

Read More
csv-guides

How to Split Large CSV Files Without Excel (Even 1M+ Rows)

Need to split a massive CSV file but Excel keeps crashing? Learn how to split files with millions of rows safely in your browser without uploads.

Read More
excel-guides

Batch Convert Multiple Excel Files to CSV Without Opening Each One

Opening 50 Excel files one at a time to save as CSV takes 45 minutes and produces inconsistent results. Three methods handle the same task in under 60 seconds — none require opening a single file.

Read More