Skip to main content

Military Time Converter

Convert between 12-hour AM/PM, 24-hour, and military time formats.

Written by Golam Rabbani, Founder & Lead Engineer

Hours 1–12.

How to use this military time converter

  1. Choose the conversion direction — 12-hour to 24-hour, or 24-hour to 12-hour.
  2. Enter the time and (for 12-hour input) the AM or PM marker.
  3. Press Convert to see the time in all three formats: military HHMM, 24-hour HH:MM, and 12-hour h:MM AM/PM.
  4. Use Copy to grab any line, or Reset to start over.

About this military time converter

The military time converter switches a clock time between the three formats people actually encounter day-to-day: 12-hour with AM/PM ("9:30 AM"), 24-hour ISO-style ("09:30"), and four-digit military ("0930", spoken "oh-nine-thirty"). Anyone who has worked in aviation, the armed forces, healthcare, or any field where logs must be unambiguous knows why this conversion comes up constantly — a single glance at a 24-hour timestamp eliminates the entire AM/PM guessing game.

Internally the tool parses your input into hours and minutes, normalises everything to a 0–23 hour value, and then re-formats into all three outputs simultaneously. The conversion rules follow the standard clock convention: 12:00 AM is 00:00 (midnight), 12:00 PM is 12:00 (noon), 1:00 PM becomes 13:00, and so on through to 11:59 PM at 23:59. The tool assumes the time falls on a single calendar day; if you need to calculate a duration that crosses midnight, a dedicated hours calculator is a better fit.

For example, entering 2:45 PM produces 14:45 in 24-hour notation and 1445 — spoken "fourteen-forty-five" — in military notation. The reverse works just as cleanly: 0030 becomes 12:30 AM, and 2359 becomes 11:59 PM. The direction toggle is non-destructive — flipping between modes converts your existing input rather than wiping it, so you can cross-check both directions without re-typing.

FAQ

What is the difference between 24-hour time and military time?
They describe the same range of values (00:00 to 23:59) but differ in punctuation. 24-hour time uses a colon ("14:30"); military time drops the colon and reads it as a single four-digit number ("1430", spoken "fourteen-thirty").
How is midnight written?
Midnight is 12:00 AM in 12-hour notation, 00:00 in 24-hour notation, and 0000 ("zero hours") in military notation. Noon is 12:00 PM, 12:00, and 1200.
Is 12 AM at the start of the day or the end?
At the start. 12:00 AM is the first minute of the day (midnight); 12:00 PM is noon; 11:59 PM is the last minute. This is also why a lot of forms use "noon" and "midnight" to avoid the AM/PM ambiguity entirely.
What format should I enter the time in?
For 12-hour input, type h:MM (e.g. 9:30) and pick AM or PM from the dropdown. For 24-hour input, type HH:MM (e.g. 14:30). Leading zeros are accepted but not required.
Is the converter free?
Yes. Everything runs in your browser. No signup, no rate limit, no data sent to a server.