12-Hour to 24-Hour Converter
Convert AM/PM times like 2:30 PM into 24-hour format instantly.
12-hour → 24-hour
Accepts 2:30 PM, 02:30 pm, 12:00 AM, noon and midnight.
—
Common conversions
| 12-hour | 24-hour | Military |
|---|---|---|
| 12:00 AM (midnight) | 00:00 | 0000 |
| 1:00 AM | 01:00 | 0100 |
| 6:30 AM | 06:30 | 0630 |
| 11:59 AM | 11:59 | 1159 |
| 12:00 PM (noon) | 12:00 | 1200 |
| 2:30 PM | 14:30 | 1430 |
| 6:00 PM | 18:00 | 1800 |
| 11:59 PM | 23:59 | 2359 |
How it works
- The 12-hour clock repeats 1–12 twice a day with AM (before midday) and PM (after); the 24-hour clock runs 0–23 once. Converting is an hour remap; minutes and seconds pass through unchanged.
- Midnight is the special case: 12:00 AM becomes 00:00, and noon 12:00 PM stays 12:00. These two cases cause most off-by-twelve errors and are handled explicitly here.
- Anything with an AM/PM marker (or the words noon / midnight) is parsed strictly; invalid input like 0:30 PM is rejected with an explanation instead of a guess.
Good to know
- Hours on the 12-hour clock run 1–12: 0:30 AM is not a valid time, and the tool says so rather than assuming you meant 12:30 AM.
- The military (four-digit) form is shown alongside: 2:30 PM is 14:30 and 1430.
- This tool converts format only. For zone-aware instants, use the time zone converter.
Related tools
Time Converters
24-Hour to 12-Hour Converter
Convert 24-hour times like 14:30 into AM/PM format.
Open Tool
Time Converters
Military Time Converter
Convert four-digit military time (1430) to standard time and back.
Open Tool
Time ConvertersFeatured
UTC Time Now
Live UTC clock with date, ISO 8601 string, and Unix timestamp.
Open Tool
Frequently asked questions
What is 12:00 AM in 24-hour time?
00:00. Midnight starts the day, so 12 AM becomes hour zero. Conversely 12:00 PM (noon) stays 12:00. These two cases are the most common source of off-by-twelve errors and are handled explicitly.
What happens to minutes?
Minutes pass through unchanged; only the hour and meridiem determine the 24-hour value. Both 2:30 PM and 2:45 PM map to hour 14.
Is 0:30 AM valid input?
No: on a 12-hour clock hours run 1–12. The tool rejects it and explains the range, instead of guessing that you meant 12:30 AM.