List Tools

Sort Dates Online

Sort a list of ISO dates (YYYY-MM-DD), oldest first or newest first.

PrivateYour text is processed on your device and never uploaded.
Input
Result
0 chars · 0 lines

Sorting dates as plain text puts them in the wrong order because text compares character by character.

Sort Dates Online reads ISO dates and orders them chronologically, listing anything unrecognised separately.

How to use Sort Dates Online

  1. Paste one ISO date (YYYY-MM-DD) per line into the input box.
  2. Choose oldest-first or newest-first, and Sort Dates Online orders the valid dates chronologically.
  3. Copy the sorted dates, or download them as a text file.

Use cases

Good to know

Sort Dates Online parses lines in YYYY-MM-DD form, validates them as real calendar dates, and sorts them chronologically. Lines that are not valid ISO dates are listed under a clearly labelled note so nothing is silently dropped.

Frequently asked questions

What date format is expected?

Dates should be written as YYYY-MM-DD, the ISO form, so they can be compared as real calendar dates.

What happens to invalid dates?

Lines that are not valid ISO dates are kept and listed beneath a note rather than discarded or misplaced.

Can I sort newest first?

Yes. A direction control switches between oldest-first and newest-first chronological order.

Related List Tools