Unix Time Converter (Seconds/Milliseconds ↔ Date)
Convert Unix time (unixtime) to date/time and back in seconds or milliseconds.
Input & Output
Unix time (seconds/milliseconds) → Date
Date → Unix time (seconds/milliseconds)
Interpret the input as this timezone
Options
Batch conversion (multiple lines)
Paste one value per line. Whitespace, tabs, and commas are supported.
Batch conversion (multiple lines)
Paste one value per line. Whitespace, tabs, and commas are supported.
How to use
Paste a Unix time or a date/time
Check unit and timezone
Copy the result
All conversions run in your browser.
Unix time → date
Date → Unix time
Notes & Tips
Unix time basics
Quick reminders about digits and timezones.
Unix time basics
Quick reminders about digits and timezones.
What is Unix time?
- Unix time (epoch seconds) is the number of seconds since 1970-01-01 00:00:00 UTC.
- Milliseconds are 1000× seconds and are often 13 digits in logs or APIs.
10 vs 13 digits
- 10 digits usually means seconds; 13 digits means milliseconds.
- Seconds will grow in digits over time, so a manual switch is provided.
Timezone notes
- Unix time is always UTC-based.
- Display can be Local/JST/UTC.
- For date → Unix, the input timezone matters.
FAQ
Frequently asked
Common questions about digits, timezones, and ISO format.
Frequently asked
Common questions about digits, timezones, and ISO format.
10 digits or 13 digits?
We auto-detect (10 digits = seconds, 13 digits = milliseconds). You can manually switch if needed.
What about timezone?
Switch Local / JST / UTC for display. For date → Unix, you can also choose which timezone the input should be interpreted as.
I need ISO format
ISO 8601 output is available (e.g., 2026-01-31T12:34:56+09:00 or ...Z for UTC).
How to get the current Unix time quickly?
Use the Now button to fill the current time in seconds or milliseconds.
Can I convert multiple values?
Use Batch conversion to paste multiple lines at once.