Spreadsheets and exports often mix date formats in the same column — 12/03/2024 next to 2024-03-12 next to 3 Apr 2024. That breaks sorting, imports, and analysis. This CSV date normalizer detects the date columns and rewrites every value to clean ISO 8601 (YYYY-MM-DD), entirely in your browser.
How it works
- Parse the CSV with a small parser that respects quoted fields and embedded commas.
- Classify columns. Each column is scanned; if most of its non-empty cells parse as dates, it is treated as a date column. Non-date columns are passed through untouched.
- Resolve day-month order. The hardest part of date cleaning is telling
DD/MMfromMM/DD. The tool uses unambiguous cells — any value with a part greater than 12, like25/03/2024— to vote on the column’s true order, then applies that decision to the ambiguous cells. - Rewrite to ISO 8601. Every recognised date becomes
YYYY-MM-DD, validated against real month lengths and leap years so impossible dates are rejected.
Tips and notes
- Cells that stay ambiguous (both parts ≤ 12 with no majority signal) and cells that cannot be parsed are marked with a
⚠so you can review them — nothing is silently guessed wrong. - Supported inputs include
YYYY-MM-DD,DD/MM/YYYY,MM/DD/YYYY, dottedDD.MM.YYYY, and textual months like3 Apr 2024orApril 3, 2024. - Leap years are handled correctly, so
29/02/2024is accepted but29/02/2023is flagged as invalid. - The whole process is local, making it safe for customer lists, invoices, and other confidential CSVs.