Skip to content
Free everyday tool

Military time converter

This converter turns 24-hour military times, such as 1430 or 23:45, into 12-hour AM and PM times, and turns 12-hour times back into 24-hour form. Each line is detected on its own, so you can paste a mixed list. Nurses, pilots, soldiers and travelers use it to read schedules.

  • Runs in your browser
  • Free, no account needed
  • Copy or download the result

Your input

32 characters

24-hour style

Result

12-hour time2:30 PM
InputConverted
14302:30 PM
000512:05 AM
23:4511:45 PM
7:15 AM0715 hours
12:00 PM1200 hours

Lines with AM or PM become 24-hour time, and the rest become 12-hour time.

The short answer

To convert military time to standard time, subtract 12 from any hour above 12 and label it PM. Hours 01 to 11 are AM, 0000 to 0059 is 12 AM (midnight), and 1200 to 1259 is 12 PM (noon). To go the other way, add 12 to PM hours other than 12.

FormulaFor 24-hour hour H: if H = 0 then 12 AM; if 1 to 11 then H AM; if 12 then 12 PM; if 13 to 23 then (H - 12) PM

Worked example1430 becomes 2:30 PM, 0005 becomes 12:05 AM and 23:45 becomes 11:45 PM, while 7:15 AM becomes 0715 hours.

Example

Input
1430
0005
23:45
7:15 AM
12:00 PM
Result
12-hour time2:30 PM
InputConverted
14302:30 PM
000512:05 AM
23:4511:45 PM
7:15 AM0715 hours
12:00 PM1200 hours

Lines with AM or PM become 24-hour time, and the rest become 12-hour time.

How to use the military time converter

  1. Type one time per line, such as 1430, 07:05 or 2:30 PM.
  2. Choose a 24-hour style: 1430 with no colon, or 14:30.
  3. Results update as you type. Press Run any time, then use Copy result or Download.

How it works

A line with AM or PM is converted to 24-hour time. Anything else is read as 24-hour time.

24-hour times can be written as 1430, 930, 14:30 or 14:30:15, with an optional "hours" at the end.

0000 is midnight at the start of the day and 2400 is accepted as midnight at the end of the day.

Hours above 24 and minutes or seconds above 59 are rejected. Up to 200 lines are allowed.

Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.

Questions and answers

What is 1430 in military time?

1430 is 2:30 PM. Subtract 12 from any hour from 13 to 23 and add PM.

How do you say 0005 in regular time?

0005 is 12:05 AM, five minutes after midnight.

Is 12:00 PM noon or midnight?

12:00 PM is noon, which is 1200 in military time. 12:00 AM is midnight, which is 0000.

Last updated November 1, 2026. Maintained by SnowRock. How our tools work

All 220 SnowRock tools