Date Format Converter & Detector
Convert lists of dates or a CSV column between formats like MM/dd/yyyy, dd/MM/yyyy and ISO 8601, with the input format detected.
Runs in your browser. Nothing is uploaded.
How to use the Date Format Converter & Detector
- Paste your dates, one per line, or open a CSV file. With CSV, pick the column under Date column.
- Check the detected format in the message. If a date like
03/04/2026could be read two ways, choose the right reading under Read as. - Pick the format you want under Convert to, such as ISO 8601 or day-first dates, or choose My own pattern… and type one.
- Copy or download the result. Values that couldn't be read are left unchanged and listed by line number.
Why date formats cause so much trouble
The same day is written 03/04/2026 in the United States and 04/03/2026 in most of Europe, Asia
and Latin America. Both look normal, and nothing in the text says which one you are reading. When
a file from one country is opened in a program set up for another, dates silently move to the wrong
month, or days above 12 are rejected. Spreadsheets, CSV exports and log files are full of these
mix-ups.
What this converter does
Paste a list of dates or a CSV file, and the tool tries dozens of common formats against every
value. A format only counts if it reads every date in the list as a real calendar date, so
31/01/2026 rules out month-first readings and 2026-02-30 rules out everything. When two
readings both fit, for example a list where no day is above 12, the tool warns you and shows a
date that would come out differently, so you can make the call instead of guessing.
The result can be any standard format, such as ISO 8601 (2026-03-04), which sorts correctly and
is understood worldwide; day-first or month-first numeric dates; dates written out in words; RFC
2822 for email headers; or Unix timestamps. You can also type an output pattern in the syntax of
your own language, so the result matches exactly what your code or database expects.
Working with CSV files
With a CSV file, only the date column changes. The tool guesses the column from its header (names
such as date, created or order_date), and you can pick another. Other columns, quotes and the
separator are kept, so the file can go straight back into a spreadsheet or an import job. Rows
whose date can’t be read keep their original value, and the message lists their line numbers so
you can fix them by hand.
Tips
- Prefer ISO 8601 (
yyyy-MM-dd) when you store or exchange dates: it is unambiguous and sorts as text. - If your list mixes formats, convert the readable part first, then fix the listed lines.
- To check what a pattern code means before using it, try the Date Pattern Tester.
Frequently asked questions
How does the tool know whether 03/04/2026 is March or April?
It can't from that date alone, so it looks at the whole list. A value like 13/04/2026 can only be day first, and 04/13/2026 only month first. If every date fits both readings, the tool says so and lets you choose under Read as.
Which date formats can it detect?
Numeric dates with /, -, . or spaces in day-month-year, month-day-year or year-month-day order, 2- and 4-digit years, month names (4 Mar 2026, March 4, 2026), weekdays, 12- and 24-hour times, ISO 8601 and RFC 2822 timestamps, and Unix timestamps in seconds or milliseconds.
How are two-digit years read?
Like Python and most C libraries do, 69–99 become 1969–1999 and 00–68 become 2000–2068. Convert to a 4-digit format to remove the doubt for good.
What happens to time zones?
Dates are rewritten exactly as written, without shifting the time. If the output needs an offset or a Unix timestamp but the input has no time zone, the time is read as UTC and the message says so.
Can I use a pattern from my programming language?
Yes. Choose My own pattern… for the input or output, pick the language (Java, date-fns, Moment, .NET, Python, PHP, MySQL or PostgreSQL) and type the pattern as you would in code.
Is my data uploaded?
No. Detection and conversion run in your browser, so files with customer or order dates never leave your device.
Tutorials
How to change the date format of a CSV column
Convert the dates in one column of a CSV export, such as day-first order dates, to ISO 8601 without touching the other columns.
How to convert US dates (MM/dd/yyyy) to ISO 8601
Turn a list of American month-first dates like 12/25/2025 into unambiguous ISO 8601 dates (2025-12-25) that sort correctly and import anywhere.