Code tool

Military Time Converter

Enter a 12-hour time or a three- or four-digit 24-hour time to see the equivalent format.

In-browser processingNo account requiredPrivacy details ↗

A QUICK WALKTHROUGH

How to use this tool

  1. Enter hours, minutes, and AM or PM to convert to 24-hour time.
  2. Or enter 3 or 4 digits such as 900 or 1430 to convert back.
  3. Use 0000 for midnight and 1200 for noon.

Midnight and noon

12:00 AM is 0000. 12:00 PM is 1200. Other AM hours keep their hour, while PM hours from 1 PM through 11 PM add 12.

Local conversion

The converter runs in this browser. It does not send or store entered times.

GOOD TO KNOW

Common questions

What is 1300 in regular time?

1300 is 1:00 PM.

Can I enter 900?

Yes. Three-digit input is treated as 0900.

Is military time the same as 24-hour time?

Yes. Military time is the common name for the 24-hour format.