12-hour time–
    24-hour time–
    Military time–
    Minutes after midnight–

    24-Hour Clock Converter: Switch Between 24-Hour and 12-Hour Time

    This 24-hour clock converter changes any time between the 24-hour format (17:45) and the 12-hour AM/PM format (5:45 PM) instantly. It also shows the military time version (1745 hours) and how many minutes have passed since midnight, which helps with shift schedules, timesheets and flight times.

    Type a time in either direction and the result updates as you type. The tool accepts times with or without a colon, so 0930, 09:30 and 9:30 all work.

    How to Use the 24-Hour Clock Converter

    1. Choose a direction with the tabs at the top: 24-hour to 12-hour, or 12-hour to 24-hour.
    2. For 24-hour input, type the time as HH:MM or as four digits, such as 21:15 or 2115.
    3. For 12-hour input, pick the hour, the minute and AM or PM from the menus.
    4. Read the converted time in the result cards. The military time and minutes after midnight appear alongside.

    How the 24-Hour Clock Works

    The 24-hour clock counts the hours of the day from 00 to 23. Midnight starts the day at 00:00, noon is 12:00, and the last minute of the day is 23:59. Because every hour has its own number, there is no need for AM or PM, and 07:00 can never be confused with 19:00.

    The format is the international standard for writing times (ISO 8601) and is standard on train timetables, in hospitals and on most digital devices outside North America. Browsers follow the same idea: a time field built with the HTML date and time input generator stores its value in 24-hour form, even when the picker displays AM and PM to the user.

    How to Convert 24-Hour Time to 12-Hour Time

    For hours from 13 to 23, subtract 12 and add PM. So 15:20 becomes 3:20 PM and 22:05 becomes 10:05 PM. Hours from 01 to 11 stay the same with AM added, which makes 08:40 equal to 8:40 AM.

    Two hours need special care. 00:xx becomes 12:xx AM, so 00:15 is 12:15 AM. And 12:xx stays 12 but takes PM, so 12:30 is 12:30 PM.

    How to Convert 12-Hour Time to 24-Hour Format

    For PM times from 1 PM to 11 PM, add 12 to the hour: 4:10 PM is 16:10. AM times from 1 AM to 11 AM keep their hour with a leading zero, so 6:25 AM is 06:25. The exceptions mirror the rule above: 12 AM becomes 00 and 12 PM stays 12.

    Midnight and noon on the 24-hour clock

    Midnight is written 00:00 when it starts a day. Some timetables write 24:00 to show the end of a day, so 24:00 on Monday is the same moment as 00:00 on Tuesday. Noon is always 12:00. Using 00:00 and 12:00 avoids the “12 AM or 12 PM?” confusion completely.

    24-Hour Clock Chart

    12-hour24-hour12-hour24-hour
    12:00 AM (midnight)00:0012:00 PM (noon)12:00
    1:00 AM01:001:00 PM13:00
    2:00 AM02:002:00 PM14:00
    3:00 AM03:003:00 PM15:00
    4:00 AM04:004:00 PM16:00
    5:00 AM05:005:00 PM17:00
    6:00 AM06:006:00 PM18:00
    7:00 AM07:007:00 PM19:00
    8:00 AM08:008:00 PM20:00
    9:00 AM09:009:00 PM21:00
    10:00 AM10:0010:00 PM22:00
    11:00 AM11:0011:00 PM23:00

    24-Hour Clock vs Military Time

    Military time is the 24-hour clock written without a colon and usually spoken as “hours”. 14:30 becomes 1430, read “fourteen thirty hours”. Leading zeros are kept, so 7:05 AM is 0705, spoken “zero seven zero five”. The underlying numbers are identical, which is why the converter shows both side by side.

    US military and aviation users also attach a time zone letter, such as 1430Z for UTC. Civilian 24-hour time normally leaves the zone out unless it is needed.

    FAQs

    What is 1700 in 24-hour time?

    1700 is 5:00 PM. To convert, subtract 12 from any hour between 13 and 23 and add PM.

    Is midnight 00:00 or 24:00?

    Midnight is 00:00 at the start of a day. Some timetables use 24:00 for the end of a day, but both mark the same moment.

    How do you convert 24-hour time to 12-hour time?

    Subtract 12 from hours 13 to 23 and add PM. Keep hours 1 to 11 as AM, change 00 to 12 AM, and write 12 as 12 PM.

    Which countries use the 24-hour clock?

    Most of Europe, Asia, Africa and Latin America use the 24-hour clock in writing. The United States, Canada, Australia and a few others mainly use the 12-hour clock day to day.

    Why do many Reddit users prefer the 24-hour clock?

    In Reddit discussions about time formats, the usual reasons are that 24-hour time removes AM/PM mistakes, sorts correctly in files and spreadsheets, and matches travel, medical and military schedules.

    Paul Mills is a web developer and writer at webcode.tools. He covers the site's generators and online utilities, with a focus on making everyday HTML, CSS, and JavaScript tasks quicker for people who would rather build something than look up syntax for the tenth time.