CSV Lead Sanitizer

Clean a lead list before it goes into HubSpot, Salesforce, Pipedrive, GoHighLevel or your automation. Remove duplicates, convert phone numbers to international E.164 format and strip the broken characters that make imports fail.

Your file never leaves your browser. Nothing is uploaded. View Source JS on GitHub
CSV input
Cleaned CSV
Duplicate key
Default country for numbers without +

Why lead lists need cleaning before a CRM import

Lead lists come from everywhere: webinar exports, event scanners, form tools, scraped directories, purchased lists and spreadsheets that three different people have edited. Each source brings its own formatting habits. One file writes phone numbers as (415) 555-0132, another as 415.555.0132, another as 004155550132. Names arrive in capitals or lowercase. The same person appears twice with different email capitalisation. A hidden byte order mark or a zero-width space turns an apparently normal email address into one that no validator accepts.

When this data is imported as it is, the consequences are practical and expensive. Duplicate contacts split a customer's history across two records and make reporting wrong. Sales reps call numbers that cannot be dialled. Automations that send SMS or WhatsApp messages fail because the provider requires numbers in international format. Imports are rejected halfway through because one row contains an invalid character. Cleaning the file first takes a minute and avoids hours of repair work inside the CRM.

What the sanitizer does

How E.164 conversion works

A number that already starts with a plus sign keeps its country code and only loses punctuation. A number that starts with 00, the international dialling prefix used in many countries, has it replaced by a plus. For a national number with no prefix, the tool uses the default country you select: it removes the leading trunk zero that many countries use for domestic calls, then adds the country code. For the United States and Canada, a ten-digit number gets +1. After formatting, the length is checked, because valid E.164 numbers have between 8 and 15 digits in total. Numbers that fail the check are left as they were and are counted in the summary so that you can fix them by hand.

This approach is reliable for common cases but it is not a full phone number library. It does not know every country's numbering plan, cannot tell mobile from landline and cannot confirm that a number is in service. For critical campaigns, validate with a lookup service as a second step.

Step by step

  1. Export your leads as CSV from your source tool. Keep the header row.
  2. Paste the text into the input box or use Choose file. Semicolon, tab and comma delimiters are detected automatically.
  3. Select the default country for numbers without a country code. If your list mixes countries, make sure those numbers already start with a plus sign.
  4. Review the options and pick the duplicate key. Press Clean CSV.
  5. Check the summary and the preview table of the first rows. The numbers show how many duplicates were removed and how many phone numbers were converted or could not be converted.
  6. Download cleaned.csv or copy the output, then import it into your CRM.

Want to try it first? Press Load Sample Data to load a deliberately messy list with duplicates, mixed phone formats and broken characters.

Privacy and compliance

Lead lists are personal data. This tool reads your file with your browser's own file API and processes it with JavaScript on your device. The file is never uploaded, and nothing is stored once you close the page. That makes it a safer choice than pasting a customer list into an online converter that uploads it to a server. Cleaning a list does not by itself make it lawful to contact those people. You still need a valid legal basis, such as consent or legitimate interest, and you must honour opt-outs under laws like GDPR, CAN-SPAM and local telemarketing rules. Our privacy policy describes how this site handles data.

After the import: automate the follow-up

A clean list is the starting point. The value comes from what happens next: instant follow-up, reminders and nurture sequences that run without manual work. Our lead follow-up template and cold outreach personaliser plug into n8n and Make.com and use exactly the kind of clean, E.164-formatted data this tool produces. If you handle raw webhook payloads from your forms, scrub them first with the webhook PII scrubber before you share logs.

Frequently asked questions

No. The file is read and processed entirely in your browser using JavaScript. It is never transmitted to us or to anyone else, and nothing is saved after you close the page.
E.164 is the international phone number format: a plus sign, the country code and the number, with no spaces or punctuation, up to 15 digits. Messaging and calling platforms such as Twilio and WhatsApp require it, and CRMs use it to avoid duplicates and to dial correctly.
The first row in the file wins and later rows with the same key are removed. Keys are compared without regard to capitalisation or surrounding spaces. If you want a different rule, such as keeping the newest row, sort the file by date before cleaning it.
They are left unchanged apart from trimming and are counted in the summary as not converted. Typical reasons are too few or too many digits, or a missing country code when no default country applies. Fix those rows manually.
Yes. The delimiter is detected from the header row, and quoted fields that contain commas, semicolons or line breaks are parsed correctly. The cleaned output is always written with commas, which every CRM accepts.
There is no limit set by us. Because processing happens on your device, the practical limit is your browser's memory. Files with tens of thousands of rows work well on a modern computer; for millions of rows, split the file first.

Related free tools