Timestamp Converter
Convert between Unix timestamps and human dates, both ways. Everything is computed in your browser using your local time zone.
Timestamp → Date
- Local
- —
- UTC
- —
- ISO 8601
- —
- Relative
- —
Date → Timestamp
- Seconds
- —
- Milliseconds
- —
How to convert a timestamp
- Paste a Unix timestamp into the timestamp field, or press Now to drop in the current moment.
- Set the unit to Seconds or Milliseconds so the number is read on the right scale. A 10-digit value is usually seconds; a 13-digit one is milliseconds.
- Read the same instant four ways: your local time, UTC, the ISO 8601 string, and a relative time such as ‘3 days ago’.
- To go the other way, pick a date and time in the date-to-timestamp section and copy the resulting seconds or milliseconds value.
When to use it
Logs, databases, and API responses store time as a Unix number that means nothing at a glance. Pasting it here tells you when the event actually happened, in your own time zone and in UTC at once, which is what you need when a log line and a bug report are in different zones.
The reverse direction is handy when a query, a test fixture, or a config file wants a timestamp rather than a date. Pick the moment in the calendar, switch the unit to match what the system expects, and copy the number straight out.
Frequently asked questions
What does it convert between?
Unix timestamps and human-readable dates, both directions: timestamp → date, and a date picker → timestamp.
Seconds or milliseconds?
Either. A unit selector lets you read or produce the timestamp in seconds or milliseconds.
Which date formats does it show?
Your local time, UTC, the ISO 8601 string, and a relative time like “3 days ago”.
Which time zone is used?
Your browser’s local time zone for local/relative output, with UTC shown alongside. Everything is computed on your device.