Back to Tools
Stopwatch & Timer
Precise stopwatch and countdown timer
Mode
Controls
Stopwatch
00:00.00
Features
- • Precise stopwatch with centiseconds
- • Save and compare lap times
- • Start, pause and reset
- • Ideal for sports, training and time measurement
API Endpoint
You can also use the stopwatch via an API:
GET /api/tools/stopwatch
Query Parameters:
action(required): start, stop, reset, lapmode(optional): stopwatch, timer (default: stopwatch)currentTime(optional): Current time in milliseconds (default: 0)isRunning(optional): true/false (default: false)laps(optional): Comma-separated lap times in milliseconds
Examples:
/api/tools/stopwatch?action=start&mode=stopwatch¤tTime=0&isRunning=false/api/tools/stopwatch?action=lap&mode=stopwatch¤tTime=5000&isRunning=true&laps=2000,5000/api/tools/stopwatch?action=reset&mode=stopwatchPOST /api/tools/stopwatch
Request Body (JSON):
{
"action": "start",
"mode": "stopwatch", // or "timer"
"currentTime": 0,
"isRunning": false,
"laps": [],
"timerMinutes": 5, // only for timer mode
"timerSeconds": 30 // only for timer mode
}Response:
{
"success": true,
"data": {
"time": 5000,
"isRunning": true,
"mode": "stopwatch",
"laps": [2000, 5000],
"formattedTime": "00:05.00",
"formattedLaps": ["00:02.00", "00:03.00"]
}
}