Time tools
Unix Timestamp Converter
Convert Unix seconds or milliseconds to UTC dates and back. Tool input is processed locally, without uploading it.
Runs locallyPreparing local converter…
Preview limit: 1 MB (1,000,000 UTF-8 bytes). Output is limited to 2 MB. Large text scrolls horizontally.
Guide
Convert between a Unix timestamp and a calendar date. Choose seconds or milliseconds when reading a timestamp, or include a time zone when entering a date, so the result refers to the intended instant.
- Choose a direction
Select Timestamp to date or Date to timestamp.
- Choose the unit
For timestamps, select Seconds or Milliseconds to match your source.
- Add a value
Paste a value, try Example: 2024 or Example: 1970, or use Open file. Dates need Z or a timezone offset.
- Read the result
Output updates automatically. Convert runs the current value again.
- Keep or share it
Copy or download Output. Share input creates a link containing your input and selected settings.
On mobile, choose Output to read the result. Clear removes both fields.
Direction
- Timestamp to date: enter a numeric timestamp and select its unit.
- Date to timestamp: enter a date with Z for UTC (Coordinated Universal Time) or an explicit time-zone offset.
Unit
- Seconds: count seconds since 1 January 1970. Example: 1704067200.
- Milliseconds: count thousandths of a second since 1 January 1970. Example: 1704067200000 represents the same instant.
Shortcuts
- Ctrl / Cmd + Enter — Run selected action
- Ctrl / Cmd + Shift + C — Copy output
- Ctrl / Cmd + S — Download output
- ? — Show shortcuts outside text fields
Shortcuts work while focus is in the workspace. Copy and download need valid output.
Common questions
- Is my timestamp in seconds or milliseconds?
- Choose the unit used by your source. The tool never guesses; a millisecond value is 1,000 times the corresponding seconds value.
- Why must a date include Z or an offset?
- A timezone makes the instant unambiguous. Z means UTC. A date without a timezone is rejected rather than interpreted using your device's timezone.
- Can I use negative or fractional timestamps?
- Yes. Seconds allow up to three decimal places, and milliseconds must be integers. Supported UTC years are 0001–9999.
- Is my data saved?
- No. Only the direction and unit preference are saved when storage is available. Your input, output and file names stay in the open page.
- What do the example years mean?
- Example: 1970 represents timestamp 0, when Unix time starts. Example: 2024 represents 1 January 2024, 00:00 UTC.
Was this tool helpful?
Only your rating and optional feedback are sent. Your tool input and output are never included.