# Calendar date sorter

## World's simplest time tool

With this browser-based application, you can sort a list of calendar dates. The program can arrange all entered dates in ascending order (from the smallest date to largest), in descending order (from the largest date to smallest), and in random order (the order of all dates is shuffled). If a list contains the same date multiple times, you can remove duplicates in one click. You can also choose the output date format, create custom date format templates, control padding of date components, and turn the time into a 12-hour format. Created by computer nerds from team Browserling.

We put a browser in your browser!
Browserling

Check out our project Browserling – get a browser in your browser.

A link to this tool, including input, options and all chained tools.

Can't convert.

Calendar date sorter tool
What is a calendar date sorter?

This is a quick online utility for sorting calendar dates. It allows you to sort multiple dates in increasing, decreasing, or random order. For example, if you made a list of all the holidays this year and now you need to put all these dates in chronological order, then you can easily do it with this tool. Similarly, you can sort historical dates of the most important events in your city going from today to its founding date. When comparing dates, all date components are taken into account, starting from the year and ending with the second. If the clock time part is not specified in the input date, then it's silently considered to be equal to 00:00:00 (for example, "2025-04-03" is equal to "2025-04-03 00:00:00"). If the day or month is not specified in the date part, then they are silently considered to be equal to "01" (for example, a date "2022" is equal to "2022-01-01" or more precisely "2022-01-01 00:00:00"). Each date in the input list must be entered on a new line and written in the format "YYYY-MM-DD hh:mm:ss". The sort order can be selected in options and you can switch between the modes "Ascending Order", "Descending Order", and "Random Order". You can also use the "Remove Duplicates" option, which finds all equivalent dates in the input list and deletes repeated copies. The sorted list immediately appears in the output text field. You can choose a format for the sorted dates and you can also create your own format by using the date component abbreviations and entering them in the "Custom Format" option. Additionally, you can add or remove padding to/from dates (so that the year is printed as four digits and the month and day as two digits) and convert the time from 24-hour format to 12-hour format. Timeabulous!

Calendar date sorter examples
Click to use

Sort Dates from Small to Large

This example sorts a list of six calendar days in ascending order. It places the earliest dates first and the latest dates at the end of the list. The sorted output list has the same number of dates as the input list and the dates have the same format.

2026-02-05 07:56:09
2027-11-26 04:05:35
2030-08-29 21:32:05
2022-07-12 03:15:34
2023-11-09 02:59:12
2037-12-28 02:42:58

2022-07-12 03:15:34
2023-11-09 02:59:12
2026-02-05 07:56:09
2027-11-26 04:05:35
2030-08-29 21:32:05
2037-12-28 02:42:58

**Required options**

Arrange dates in increasing order.

Delete duplicate dates
from the list.

Custom format. (To use, select
the custom mode option above.)

Output time components
in 12-hour clock format
(with am/pm indicators).

Add zeros before date
components so they
are always full width.

Sort Unique Calendar Dates

In this example, we activate the descending sort mode and enable the option to remove duplicate dates. The date sorting algorithm first finds all the unique dates in the list and then arranges them from the oldest to the newest. We also switch to 12-hour clock time, remove the padding, and select date format "MMM DD, YYYY hh:mm:ss".

2001-03-23 13:30:00
1994-10-10 10:00:00
2300-09-15 00:00:00
2001-03-23 13:30:00
2001-03-23 13:30:00
2300-09-15 00:00:00
2025-04-09 06:40:00
1994-10-10 10:00:00
1994-10-10 10:00:00
2025-04-09 06:40:00

Sep 15, 2300 0:0:0 am
Apr 9, 2025 6:40:0 am
Mar 23, 2001 1:30:0 pm
Oct 10, 1994 10:0:0 am

**Required options**

Arrange dates in decreasing order.

Delete duplicate dates
from the list.

Custom format. (To use, select
the custom mode option above.)

Output time components
in 12-hour clock format
(with am/pm indicators).

Add zeros before date
components so they
are always full width.

Arrange Dates in Random Order

In this example, we shuffle a list of calendar dates and return them in chaotic order. In the input list of dates, we specify only the year, month, and day (no time part) and we create a custom date format for the sorted dates by setting the date format string to "DD.MM.YYYY", which prints the day followed by a dot, followed by the month, followed by the year.

2002-04-24
2009-02-24
2010-04-05
2021-09-09
2042-02-16
2049-01-30
2061-05-14
2092-07-30

09.09.2021
14.05.2061
16.02.2042
30.07.2092
24.04.2002
24.02.2009
05.04.2010
30.01.2049

**Required options**

Arrange dates in arbitrary order.

Delete duplicate dates
from the list.

Custom format. (To use, select
the custom mode option above.)

Output time components
in 12-hour clock format
(with am/pm indicators).

Add zeros before date
components so they
are always full width.

Pro tips
Master online time tools

You can pass input to this tool via

__?input__query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinetimetools.com/sort-calendar-dates

__?input__=2026-02-05%2007%3A56%3A09%0A2027-11-26%2004%3A05%3A35%0A2030-08-29%2021%3A32%3A05%0A2022-07-12%2003%3A15%3A34%0A2023-11-09%2002%3A59%3A12%0A2037-12-28%2002%3A42%3A58&sort-increasing=true&remove-duplicates=false&format=YYYY-MM-DD%20hh%3Amm%3Ass&custom-format=YYYY_MMM_DD_ddd&padding=true&use-12-hour-clock=false
All time tools

Quickly visualize your life in weeks or months.

Quickly print a list of neat-looking clock times (such as 10:11:12).

Quickly print a list of neat-looking calendar dates (such as 2055-05-05).

Quickly convert clock time in H:M:S format to seconds.

Quickly convert seconds to clock time in H:M:S format.

Quickly convert time in 24 hour format to 12 hour format.

Quickly convert time in 12 hour format to 24 hour format.

Quickly find how many seconds have passed since midnight.

Quickly find how many seconds are left till midnight.

Quickly find the difference between two clock times.

Quickly find the difference between two calendar dates.

Quickly find the age difference between two or more people.

Quickly add hours, minutes, and seconds to the given time.

Quickly subtract hours, minutes, and seconds from the given time.

Quickly add days, months, and years to the given date.

Quickly subtract days, months, and years to from the given date.

Quickly change the current time format to any new format.

Quickly change the current date format to any new format.

Quickly round the given clock time up or down.

Quickly round the given calendar date up or down.

Quickly drop seconds and minutes from a clock time.

Quickly drop days and months from a calendar date.

Quickly sort clock times in ascending or descending order.

Quickly sort calendar dates in ascending or descending order.

Quickly check if the given clock time is valid.

Quickly check if the given calendar date is valid.

Quickly find how many hours are in the given days.

Quickly find how many days are in the given hours.

Quickly find the astrological sign by the birthday or any date.

Quickly print a list of the dates of all astrological signs.

Quickly find the average value of multiple clock times.

Quickly find the average value of multiple calendar dates.

Quickly generate a list of random clock times.

Quickly generate a list of random calendar dates.

Quickly create a list of clock times that match your criteria.

Quickly generate a list of calendar dates that match your criteria.

Quickly split the given time period into multiple intervals.

Quickly split the given date period into multiple intervals.

Quickly generate increasing or decreasing clock times.

Quickly generate increasing or decreasing calendar dates.

Quickly print a list of all leap years.

Quickly print a list of all common years.

Quickly test if the given year is a leap year.

Quickly test if the given year is a common year.

Quickly find how old a cat would be if it was a human.

Quickly find how old a human would be if he/she was a cat.

Quickly find how old a dog would be if it was a human.

Quickly find how old a human would be if it was a dog.

Quickly convert a modern Gregorian date to a Julian date.

Quickly convert an ancient Julian date to a Gregorian date.

Quickly calculate the Julian day number for any calendar date.

Quickly convert the Julian day to a regular calendar date.

Quickly print a list of all Easter dates for all years.

Quickly convert a UNIX Epoch time to a human-readable time.

Quickly convert human-readable time to a UNIX Epoch time.

Quickly generate increasing or decreasing UNIX timestamps.

Quickly generate one or more random UNIX Epoch times.

Quickly convert a HH:MM:SS clock to a military HHMM clock.

Quickly convert a military clock HHMM to a HH:MM:SS clock.

Coming soon
These time tools are on the way

Draw an Analog Clock

Draw an analog clock that shows particular time.

Draw a Digital Clock

Draw a digital clock that shows particular time.

Animate an Analog Clock

Create a GIF animation of an analog clock.

Animate a Digital Clock

Create a GIF animation of a digital clock.

Draw a Calendar

Draw a daily, monthly, or yearly calendar.

Draw a Lunar Calendar

Draw a calendar that shows moon phases.

Create an Animated Timer

Draw an animation that counts down (or up) time.

Draw an Infinite Spiral Clock

Animate a timeless clock that goes in an infinite spiral.

Draw Time as a Pie Chart

Visualize the given clock time as a pie chart.

Draw Current Year as a Pie Chart

Visualize the current year as a pie chart.

Draw Time as a Bar Chart

Visualize the given clock time as a bar chart.

Draw Current Year as a Bar Chart

Visualize the current year as a bar chart.

Draw a Time Arrow

Visualize the given clock time as an arrow.

Visualize Time Intervals

Draw a visualization of multiple time intervals.

Visualize Time Series

Draw a time series chart.

Find Season by a Date

Print the season (winter, spring, summer, autumn) by a date.

Swap Clock Hands

Swap a clock's hour hand with minute hand.

Reverse Clock Time

Find the reverse of the given clock time.

Invert Clock Time

Find the inverse of the given clock time.

Shift Clock Time

Shift the given clock time by any time interval.

Change Clock Scale

Change the clock scale from 24 hours to any other hours.

Generate Valid Clock Times

Generate a list of valid clock times.

Generate Invalid Clock Times

Generate a list of invalid clock times.

Generate Valid Calendar Dates

Generate a list of valid calendar dates.

Generate Invalid Calendar Dates

Generate a list of invalid calendar dates.

Convert English to Crontab

Create a crontab expression from human language.

Convert Crontab to English

Rewrite a crontab entry into human language.

Convert Seconds To Minutes

Find how many minutes are in the given seconds.

Convert Seconds To Hours

Find how many hours are in the given seconds.

Convert Seconds to Days

Find how many days are in the given seconds.

Convert Seconds to Weeks

Find how many weeks are in the given seconds.

Convert Seconds to Months

Find how many months are in the given seconds.

Convert Seconds to Years

Find how many years are in the given seconds.

Convert Minutes to Seconds

Find how many seconds are in the given minutes.

Convert Minutes To Hours

Find how many hours are in the given minutes.

Convert Minutes to Days

Find how many days are in the given minutes.

Convert Minutes to Weeks

Find how many weeks are in the given minutes.

Convert Minutes to Months

Find how many months are in the given minutes.

Convert Minutes to Years

Find how many years are in the given minutes.

Convert Hours To Seconds

Find how many seconds are in the given hours.

Convert Hours to Minutes

Find how many minutes are in the given hours.

Convert Hours to Weeks

Find how many weeks are in the given hours.

Convert Hours to Months

Find how many months are in the given hours.

Convert Hours to Years

Find how many years are in the given hours.

Convert Days to Seconds

Find how many seconds are in the given days.

Convert Days to Minutes

Find how many minutes are in the given days.

Convert Days to Weeks

Find how many weeks are in the given days.

Convert Days to Months

Find how many months are in the given days.

Convert Days to Years

Find how many years are in the given days.

Convert Weeks to Seconds

Find how many seconds are in the given weeks.

Convert Weeks To Minutes

Find how many minutes are in the given weeks.

Convert Weeks To Hours

Find how many hours are in the given weeks.

Convert Weeks to Days

Find how many days are in the given weeks.

Convert Weeks to Months

Find how many months are in the given weeks.

Convert Weeks to Years

Find how many years are in the given weeks.

Convert Months to Seconds

Find how many seconds are in the given months.

Convert Months To Minutes

Find how many minutes are in the given months.

Convert Months To Hours

Find how many hours are in the given months.

Convert Months to Days

Find how many days are in the given months.

Convert Months to Weeks

Find how many weeks are in the given months.

Convert Months to Years

Find how many years are in the given months.

Convert Years to Seconds

Find how many seconds are in the given years.

Convert Years To Minutes

Find how many minutes are in the given years.

Convert Years To Hours

Find how many hours are in the given years.

Convert Years to Days

Find how many days are in the given years.

Convert Years to Weeks

Find how many weeks are in the given years.

Convert Years to Months

Find how many months are in the given years.

Find Week of the Year

Given a calendar date, find which week of the year it is.

Find Day of the Year

Given a calendar date, find which day of the year it is.

Find Day of the Week

Given a calendar date, find which day of the week it is.

Convert a Bird's Age to Human Years

Find how old a human would be if he/she was a bird.

Convert a Human's Age to Bird Years

Find how old a bird would be if it was a human.

Convert Earth Time to Mars Time

Convert clock time on Earth to clock time on Mars.

Convert Mars Time to Earth Time

Convert clock time on Mars to clock time on Earth.

Generate Palindromic Times

Print a list of symmetric clock times.

Generate Palindromic Dates

Print a list of symmetric calendar dates.

Generate Equal H:M:S Times

Print a list of clock times with hrs equal mins equal secs.

Generate Equal Y-M-D Dates

Print a list of calendar dates with yr equal mon equal day.

Calculate Clock Hand Angle

Find the angle between hour hand and minute hand.

Set Clock Hand Angle

Print a list of all clock times with a specific hand angle.

Set Straight Clock Hands

Print a list of all clock times when hands are in a straight line.

Normalize Clock Times

Given clock times in various formats, convert them to one format.

Normalize Calendar Dates

Given calendar dates in various formats, make them the same format.

Spell Clock Times

Write out clock times in full text format.

Spell Calendar Dates

Write out calendar dates in full text format.

Rotate Clock Times

Cyclically shift HH, MM, SS time parts to the left or right.

Rotate Calendar Dates

Cyclically shift YYYY, MM, DD date parts to the left or right.

Freeform Time Calculator

Perform freeform clock time arithmetics.

Freeform Date Calculator

Perform freeform calendar date arithmetics.

Create Zalgo Time

Generate date and time that only Zalgo can understand.

Subscribe!
Never miss an update

Cool!

Notifications
We'll let you know when we add this tool

Cool!