# Clean a CSV or Excel export in your browser

Open a CSV or Excel file to clean up to 50 data rows. The cleaner removes duplicates, standardises Dutch postcodes and phone numbers, and shows you which values it changed and which fields need attention.

## Clean your file

Remove duplicate rows and standardise Dutch contact details: this tool runs in the browser at https://hyperhtml.nl/en/tools/csv-cleaner/

## How the cleaner spots duplicate rows

The cleaner trims whitespace from the start and end of each value and replaces runs of whitespace with a single space. It then compares whole rows, preserving capital letters. The customer IDs Ab-7 and AB-7 stay separate. If every field matches, the cleaner keeps the first row.

The cleaner skips columns headed “Customer ID”, “ID” or “klantnummer” when looking for postcodes and phone numbers. In other columns, it standardises Dutch postcodes or phone numbers if at least 30% of the non-empty cells match the pattern. It writes postcodes with a space and two capital letters, and adds a hyphen to ten-digit Dutch phone numbers. It replaces the international prefix +31 or 0031 with the initial zero. To find the municipality for a postcode, use the [Dutch postcode lookup](https://hyperhtml.nl/en/tools/dutch-postcode-report/).

## Two examples from a business export

### The same order appears twice

Suppose the first row contains an order with the postcode 1234ab and an amount of 12.50. The second row is identical except for the postcode, which reads 1234 AB. Once the cleaner formats the postcodes, every field matches and just one order remains.

### A blank cell in a nearly full column

If nine out of ten rows contain an amount, the column is 90% complete. The cleaner flags the empty cell with “empty field”. If only eight of the ten contain an amount, it leaves the blank cells unflagged. This check starts at three data rows.

## File formats, leading zeros and row limits

For text files, use UTF-8 and separate fields with commas or semicolons. If a value contains the separator, enclose the value in double quotes. For example, in a comma-separated file, a Dutch amount with a decimal comma should appear as "12,50". For Excel files, the cleaner reads the displayed values on the first worksheet. To keep a customer number such as 00123, choose the Excel download. If you open the CSV in Excel, [import the column as text](https://support.microsoft.com/nl-nl/excel/keeping-leading-zeros-and-large-numbers) to keep its leading zeros. The linked Microsoft guide is in Dutch.

The cleaner reads the first 50 data rows after the header. Rows 51 onwards are left out of the download. The preview shows up to ten rows after duplicates have been removed. The download includes every remaining row from those first 50, along with any notes. For larger files or your own set of required columns, we can build a [custom browser tool](https://hyperhtml.nl/en/custom-web-app-development/).

## Questions about your cleaned file

### Does the cleaner change my original file?

The cleaner saves your edits in a new copy and leaves your original file as it was. It checks how postcodes and phone numbers are written. It cannot confirm that an address or number exists.

### Does cleaning the file remove personal data?

Names and contact details remain readable. If the recipient does not need them, use the [CSV anonymiser](https://hyperhtml.nl/en/tools/csv-anonymiser/) to choose what to share in each column.

### How can I show someone the same result?

Select “Copy the result” to copy the cleaned table with its notes, or download the table and send it yourself. Your file stays in your browser. The share link opens the built-in fictional example.

## Sources

- [RFC 4180, section 2: CSV fields and double quotes](https://www.rfc-editor.org/rfc/rfc4180.txt), RFC Editor, accessed 19 November 2026

---

URL: https://hyperhtml.nl/en/tools/csv-cleaner/  
Updated: 19 November 2026  
HyperHTML, Enschede, eloy@hyperhtml.nl
