Free Online ToolsMFXGJ

Unix Timestamp Converter

Logs, API responses and database rows store time as a bare number like 1765000000. Paste one timestamp — or a whole column of them, one per line — to see the matching date and time in UTC and in your local time zone. Seconds and milliseconds are detected automatically, and the reverse direction turns a date you type into its timestamp.

Share this tool

How to use the Unix Timestamp Converter

  1. Choose “Timestamp → date” and paste timestamps, one per line (up to 50).
  2. Or choose “Date → timestamp” and type dates as YYYY-MM-DD HH:mm:ss (parsed as UTC).
  3. Read the converted lines plus the current timestamp, shown for reference.

Formula and method

A Unix timestamp counts seconds since 1970-01-01 00:00:00 UTC. Values with an absolute size of 100,000,000,000 (10^11) or more are treated as milliseconds and divided by 1,000; smaller values are treated as seconds. Dates you type are parsed as UTC; the local column converts the same instant to your device time zone.

Example

1765000000 converts to 2025-12-06 05:46:40 UTC (13:46:40 in UTC+8). Use the “Load example” button above to try it with the sample inputs.

Frequently asked questions

How do I know if my timestamp is seconds or milliseconds?

Count the digits: current-era timestamps in seconds have 10 digits (for example 1765000000), milliseconds have 13. This tool detects the unit by size — 10^11 or larger is treated as milliseconds — so you can paste either.

Why do UTC and local time differ?

A timestamp is one instant worldwide; the clock reading depends on the time zone. UTC+8 (Beijing) is 8 hours ahead of UTC, so the same timestamp shows a later clock time there. The local column uses your device’s time zone.

Is anything uploaded?

No. Conversion is plain arithmetic in your browser.

Related tools