Zero Signup ToolsFree browser tools

Date & Time Tools

Time Format Converter

Convert between 12-hour (AM/PM) and 24-hour (military) time, with a full reference chart and batch column conversion for spreadsheets.

Converter mode

Enter a 12-hour clock time like 1:30 PM to see the 24-hour (military time) equivalent.

Output detail

Most schedules display HH:MM. Switch to HH:MM:SS for logs or precise timing.

Examples: 9 AM, 12:00 PM, 1:30 PM, 5:45:15 PM. Lowercase am/pm and periods (a.m.) are accepted.

Common conversions

Reference: every hour of the day

Quick lookup for the 24 round hours. Click any row to load it into the converter above.

24-hour12-hourNote
Midnight
Noon

How 12-hour and 24-hour clocks map

  • 12:00 AM is midnight. The 24-hour equivalent is 00:00 (sometimes written 0000). This is the most-confused mapping on the chart.
  • 12:00 PM is noon. The 24-hour equivalent is 12:00 (sometimes written 1200).
  • AM hours stay as-is. 1:00 AM through 11:59 AM map 1:1 to 01:00 through 11:59. Just zero-pad.
  • PM hours add 12. 1:00 PM is 13:00, 5:00 PM is 17:00, 11:59 PM is 23:59. Minutes and seconds never change.

When to use which

  • 24-hour clock: standard in Europe, on military and aviation timestamps, in transit schedules, in log files, and in most database fields. It is unambiguous because every hour of the day has exactly one value.
  • 12-hour clock: standard in the US and Canada, in most consumer apps, and in casual writing. The AM/PM suffix carries the ambiguity that the 24-hour clock removes.
  • Schedules and CSVs: if you are merging a 12-hour and 24-hour column for sorting or filtering, convert both to 24-hour first. Sorting AM/PM text gives wrong results.
  • Cross-border meetings: for time-zone math, convert to 24-hour, do the time-zone arithmetic, and convert back to whichever format your audience prefers.

How to use

  1. Pick a mode at the top: 12-hour to 24-hour for a single AM/PM value, 24-hour to 12-hour to invert, or Batch to convert a pasted column.
  2. Choose the output detail: HH:MM is the schedule default, HH:MM:SS adds seconds for logs or precise timing.
  3. Type a single time like 1:30 PM or 13:30, or paste a column of times in the batch input. Results update on every keystroke.
  4. Read the converted time in the result panel and use Copy summary, or in batch mode use Copy column or Copy as table for a clean spreadsheet paste.
  5. Use the 24-hour reference chart at the bottom for a quick lookup; click any row to load it back into either single-value converter.

About this tool

Time Format Converter switches a clock entry between the two formats every operating system, scheduling app, and travel itinerary eventually mixes: the 12-hour AM/PM clock used in the US and most consumer apps, and the 24-hour clock (often called military time) used in Europe, in aviation and transit schedules, on log files, and in most database fields. The conversion rules are the published clock-time rules: 12:00 AM is 00:00, 12:00 PM is 12:00, the AM hours from 1:00 through 11:59 map one-to-one to 01:00 through 11:59, and the PM hours from 1:00 through 11:59 map to 13:00 through 23:59 by adding 12 to the hour. Seconds are optional in both directions, so 1:30:45 PM round-trips cleanly with 13:30:45. The single-value modes accept flexible input (9 AM, 12:00 PM, 1:30 PM, 5:45:15 PM in 12-hour; 0, 6:30, 12:00, 13:45, 18:00, 23:59:59 in 24-hour), report both the HH:MM and HH:MM:SS forms, echo the cleaned-up input back, and call out the two edge cases (midnight at 12:00 AM / 00:00 and noon at 12:00 PM / 12:00) that account for most of the search traffic. The batch mode runs the same conversion in either direction across a pasted column of times, ready to paste back into Excel, Google Sheets, or Numbers without reformatting; valid lines convert and invalid lines are flagged so you can fix them in the source. The reference panel ships a full 24-row chart from 00:00 to 23:00 with the matching 12-hour value and the midnight and noon labels, and every row in the chart is a button: click a 24-hour value to load it into the 24-to-12 converter, or click a 12-hour value to load it into the 12-to-24 converter, so the chart doubles as a one-click time lookup. The two explainer panels lay out the four mapping rules, the AM/PM versus 24-hour use cases, and the practical advice that when you sort or filter a mixed-format column, you should convert to 24-hour first because sorting AM/PM text alphabetically gives the wrong order. Everything runs locally in your browser, so the schedules, itineraries, and shift times you paste here never leave your device.

Free to use. Works in your browser. No signup, no login.

Related tools

You may also like

All tools
All toolsDate & Time Tools