CSV Date Format Normalizer

Detect and normalize inconsistent date columns in CSV to ISO 8601.

Ad placeholder (leaderboard)

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

  1. Parse the CSV with a small parser that respects quoted fields and embedded commas.
  2. 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.
  3. Resolve day-month order. The hardest part of date cleaning is telling DD/MM from MM/DD. The tool uses unambiguous cells — any value with a part greater than 12, like 25/03/2024 — to vote on the column’s true order, then applies that decision to the ambiguous cells.
  4. 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, dotted DD.MM.YYYY, and textual months like 3 Apr 2024 or April 3, 2024.
  • Leap years are handled correctly, so 29/02/2024 is accepted but 29/02/2023 is flagged as invalid.
  • The whole process is local, making it safe for customer lists, invoices, and other confidential CSVs.
Ad placeholder (rectangle)