Unix Timestamp Converter

Convert Unix timestamps to readable dates or create seconds and milliseconds values from a date and time.

Timestamp to date

Unit

Seconds may contain up to three decimal places.

Date to timestamp

Interpret input as

The current value is inserted once and is not updated by a timer.

What this tool does

A Unix timestamp counts the seconds or milliseconds elapsed since January 1, 1970 at 00:00:00 UTC.

This tool converts timestamps to readable dates and creates timestamps from a date and time.

How to use the tool

  1. Enter a timestamp and choose seconds, milliseconds, or automatic detection.
  2. Review UTC, browser local time, the ISO 8601 representation, and both unit values.
  3. For the reverse direction, choose a date, time, and whether the input should be interpreted as browser local time or UTC.
  4. Use the button when you want to insert the current date and time once.

Useful applications

  • Understand time values in logs, databases, and APIs.
  • Convert timestamps for scheduled operations or technical troubleshooting.
  • Compare UTC and local representations of the same point in time.

Notes and limitations

  • The timestamp itself has no timezone; UTC and local time are different representations of the same point in time.
  • Millisecond timestamps normally have a much larger number than second timestamps.
  • For local time, the tool uses the browser or operating system timezone and its daylight saving rules.
  • Automatic unit detection is a convenience; for important values, choose the correct unit deliberately.

Frequently asked questions

What is the difference between seconds and milliseconds?

Seconds count whole or fractional seconds since the Unix epoch. Milliseconds divide each second into 1,000 parts, so their numbers are normally much larger.

Why are UTC and local time different?

Both displays describe the same point in time but use different representations. The local display applies the browser timezone and, where relevant, daylight saving time.