Unix Time Converter (Seconds/Milliseconds ↔ DateTime)
Convert Unix time (unixtime) to date-time, and convert date-time back to Unix time.
Auto-detects 10/13 digits, switches between Local/JST/UTC, and provides ISO 8601 output with one-click copy.
How To Use
- Open the tool and paste a Unix value or date-time value.
- Use Card A for Unix → DateTime and Card B for DateTime → Unix.
- Copy each output line, or use batch conversion for multiple values.
- Use Share Result to copy a reproducible URL with the current settings.
Unix Time (Seconds/Milliseconds) → DateTime
Paste a 10-digit or 13-digit Unix value to convert instantly. The tool auto-detects seconds/milliseconds and lets you override manually when needed.
DateTime → Unix Time (Seconds/Milliseconds)
Enter date-time using calendar input or free text. Choose interpretation timezone (Local/JST/UTC) to avoid conversion mistakes.
Batch Conversion (Multiple Lines)
Paste multiple Unix values, choose output format and timezone, then copy all results at once.
What Is Unix Time? (10/13 digits, timezone, ISO)
- Unix time (epoch seconds) is the elapsed seconds since 1970-01-01 00:00:00 UTC.
- Milliseconds are 1000 times seconds.
- As a rule of thumb, 10 digits indicate seconds and 13 digits indicate milliseconds.
- Unix time itself is UTC-based. Only the display format changes by selected timezone.
Frequently Asked Questions
10 digits or 13 digits: which one is it?
This tool auto-detects by digit length (10 = seconds, 13 = milliseconds). You can override with manual unit selection.
How does timezone work?
You can switch display timezone among Local/JST/UTC. For DateTime → Unix, you also choose interpretation timezone for the input.
Can I get ISO output?
Yes. ISO 8601 output is available and copyable. UTC uses Z, while Local/JST use numeric offsets.
How do I get current Unix time quickly?
Use the Now button to fill current time immediately in seconds or milliseconds.
Can I convert multiple Unix values at once?
Yes. Open Batch Conversion and paste multiple lines.