---
title: "Military Time Converter"
method: POST
path: "/api/v1/tools/military-time-converter"
tags: ["tools"]
---

# Military Time Converter

`POST /api/v1/tools/military-time-converter`

## Request

- Base URL: `https://toolforte.com`
- URL: `https://toolforte.com/api/v1/tools/military-time-converter`
- Auth: HTTP bearer

Convert a time between the 24-hour military clock and the 12-hour AM/PM clock, in either direction, and get both spellings plus the spoken military phrase. Accepts 1:30 PM, 130pm, 1330 and 13:00.

## Request body

- object
  - `time` string
  - `from` string

## Response `200`

Successful result

- object
  - `ok` boolean
  - `data` object
    - `input` string
    - `readAs` string
    - `hours` integer
    - `minutes` integer
    - `military` string
    - `military24` string
    - `standard` string
    - `spoken` string

## Other responses

- `400`: Missing or invalid request fields
- `401`: Invalid or missing API key
- `429`: Monthly plan limit reached

---

[API](https://skmtc.dev/toolforte/apis/toolforte-api.md) · [All operations](https://skmtc.dev/toolforte/apis/toolforte-api/llms.txt) · [OpenAPI document](https://skmtc.dev/toolforte/apis/toolforte-api/revisions/4d814d484dfc?raw)
