Unix timestamp converter
Convert seconds/milliseconds ↔ dates with Beijing time or UTC, live “now” stamps, and batch lines — all local.
Updated 2026-12-04
Loading the tool in your browser…
What it does
The header shows Beijing time, local time, and live second/millisecond stamps you can pause and copy.
Timestamp ↔ date share timezone and unit settings. In auto mode, absolute values under 1e12 are seconds; otherwise milliseconds. Beijing time uses Asia/Shanghai. Paste one value per line for batch conversion.
How to use
- 1
Copy the live second/millisecond timestamps if needed.
- 2
Pick timezone and unit, then convert timestamp → date or date → timestamp.
- 3
Paste multi-line values into batch mode.
Limits
- Math runs in your browser; nothing is uploaded.
- Auto unit splits at 1e12; pick seconds or milliseconds manually near the boundary.
- Batch handles up to 500 lines; dates parse in the chosen timezone.
FAQ
10 digits vs 13?
10 is usually seconds; 13 is usually milliseconds. Auto mode splits at absolute 1e12 and supports negatives.
How is Beijing time computed?
Formatting and parsing use Asia/Shanghai, independent of your OS city setting.
How does batch work?
One timestamp or date per line; choose direction and unit for the output.
Are values stored on the server?
No. It is a local calculation.