Unix timestamp converter

Convert a Unix timestamp to a date and back: it recognises seconds, milliseconds, microseconds and nanoseconds, and shows the time in any time zone, daylight saving changes included.

Your data stays on your computer. Files are processed in your browser and are never uploaded.

Now

Timestamp to date

Date to timestamp

Format YYYY-MM-DD HH:MM:SS (seconds and milliseconds optional). With Z or +01:00 at the end the chosen time zone is ignored.

Several timestamps at once

Type or paste timestamps, one per line.

How the unit is recognised

From the size of the number: below 10^11 it is seconds, below 10^14 milliseconds, below 10^17 microseconds, above that nanoseconds. A date before 1973 in milliseconds therefore looks like seconds: in that case pick the unit by hand.

Daylight saving changes

The time zone is applied with your browser's Intl rules. When a local time does not exist or happens twice, you are told and shown which instant was chosen.

Where the data goes

Everything happens on this page: nothing is saved, put in the address or sent.

Keyboard shortcuts

In this tool

This tool has no keyboard actions.

Everywhere

Open this panel (outside text fields)
?
Closes panels and menus, never clears data
Esc
Search for a tool
/ or CtrlK

Tool chains

Link several tools into a path: after using a tool, “Send to…” offers the next step first. Saved chains keep only a name and the tools, never your data.

Saved chains

No saved chains.

New chain