Clean

Standardize international postal codes and restore missing leading zeros

Repair postal codes damaged by Excel auto-truncation, format US ZIP+4, and standardize UK and Canadian formats.

🛡️ Your rows never leave your browser.
Why Onfyt: Processes fix zip and postal codes entirely in-browser with dedicated Web Workers so your rows never leave your machine.

Interactive Sample Data

order_idrecipientraw_postalcountry
ORD-01Harvard Bookstore2138US
ORD-02Nairobi GPO Client100KE
ORD-03London Officesw1a1aaUK
ORD-04Toronto Branchm5v2t6CA

How this tool works

Postal codes are essential for geographic delivery routing, sales tax calculation, territory mapping, and shipping carrier APIs (FedEx, UPS, DHL, Kenya Post). However, postal codes frequently suffer from severe corruption: - US ZIP codes in New England and New Jersey (which begin with zero, e.g. 02138, 07030) lose their leading zero when opened in Microsoft Excel, turning into invalid 4-digit numbers (2138). - Kenyan postal codes like Nairobi GPO (00100) are truncated into "100". - UK postcodes are entered without spaces or in lowercase ("sw1a1aa" instead of "SW1A 1AA"). - Canadian alphanumeric codes are entered without spaces ("m5v2t6" instead of "M5V 2T6"). Shipping label printers and carrier APIs immediately reject addresses with malformed postal codes. This tool repairs postal codes based on national standards: - Pads 4-digit US ZIP codes with a leading zero to restore standard 5-digit codes. - Formats US ZIP+4 codes with proper hyphenation (12345-6789). - Uppercases and inserts proper spacing into UK postcodes (SW1A 1AA) and Canadian postal codes (M5V 2T6). - Restores leading zeros for Kenyan and international postal codes. All operations execute locally in your browser memory via Web Workers. Your client addresses and order details never leave your computer. From a logistical and delivery routing standpoint, postal codes must comply with national standards to avoid carrier rejection. US ZIP codes in New England starting with zero (e.g., 02138) frequently lose their leading zero in Excel, turning into invalid 4-digit codes. DataFix restores leading zeros on 5-digit US and Kenyan postal codes, formats US ZIP+4 numbers, and standardizes UK and Canadian alphanumeric postcodes with proper uppercase spacing. From a corporate compliance perspective, shipping address datasets contain sensitive customer contact details that cannot be uploaded to unverified third-party cloud tools. By performing all postal code repair within client-side Web Workers, DataFix ensures that customer addresses never leave your machine, providing enterprise-grade security and instant throughput. In global e-commerce logistics and automated address validation, postal code formatting determines whether parcels ship reliably or get stuck in sorting hubs. Postal systems in the US, UK, Canada, and Kenya enforce strict structural rules: US ZIPs require 5 digits, UK postcodes require specific outward/inward spacing (SW1A 1AA), and Canadian codes require alternating letter-number formatting (M5V 2T6). Standardizing postal codes client-side ensures that address verification APIs approve shipments directly, reducing fulfillment delays and misdeliveries.

Things that usually go wrong

  • Excel Truncating Zeros Again: Opening CSV in Excel strips zeros anew. Export as .xlsx or import as text to preserve 5-digit postal codes.
  • ZIP+4 Suffixes Mixed In: Codes like 02138-1234 should not be padded to 5 digits. DataFix recognizes existing 9-digit ZIP+4 numbers.
  • Typos in Alphanumeric Postcodes: Confusing 0 (zero) and O (letter) in Canadian or UK postcodes is flagged for review.

Edge cases we tested

🧪 Empty cells or missing values

Safely handled without schema corruption.

🧪 Leading or trailing cell whitespace

Sanitized prior to processing.

🧪 Large files with 25,000+ rows

Streamed via client-side Web Worker without tab freezing.

Frequently Asked Questions

How does it fix 4-digit US ZIP codes?

It prepends a leading zero so 2138 becomes valid 5-digit 02138.

Does it format UK postcodes with spaces?

Yes! It uppercases text and inserts the standard space between outward and inward codes (e.g. SW1A 1AA).

Does it support Kenyan postal codes (e.g. 00100)?

Yes. It restores leading zeros for 5-digit Kenyan postal codes (e.g. 100 becomes 00100).

Is my address data private?

Your rows never leave your browser. All processing runs in a JavaScript Web Worker inside this tab.

Related tools

Clean

Add or Remove Leading Zeros

Pad numbers with leading zeros to meet fixed-width requirements (e.g. 00123) or strip unnecessary leading zeros.

Open Tool →
Clean

Standardize Country Names and Codes

Convert inconsistent country names ("USA", "US", "United States") to standardized ISO 3166-1 alpha-2, alpha-3, or full country names.

Open Tool →
Clean

Trim Whitespace

Clean up accidental leading, trailing, and duplicate spaces across all columns in your spreadsheet.

Open Tool →