Unix Timestamp Converter

Convert Unix timestamps to readable dates or create second and millisecond timestamps from a date and time.

Timestamp to date

Unit

Seconds may have up to three decimal places; milliseconds must be whole numbers.

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 represents a point in time as seconds or milliseconds relative to 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.
  • Negative timestamps represent dates before the Unix epoch.
  • 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 measure time relative to the Unix epoch. Milliseconds divide each second into 1,000 parts, so their numeric values 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.