Unix Timestamp Converter

Convert Unix timestamps to readable dates and dates back to seconds or milliseconds.

Your input is processed on this page and is not stored by us.

About this tool

Unix timestamps count elapsed time from 1 January 1970 UTC and are common in APIs, logs, databases and authentication claims. The Timestamp Converter converts seconds or milliseconds into readable UTC and local dates, and can turn a date-time value back into both timestamp units.

The main source of timestamp mistakes is not arithmetic but interpretation: a ten-digit value is usually seconds, a thirteen-digit value is usually milliseconds, and an entered date without a timezone may be interpreted in the browser's local zone. Always record the expected unit and timezone in an API contract. When inspecting token expiry claims, the JWT Expiry Checker provides token-specific context.

How to use it

  1. Select timestamp-to-date or date-to-timestamp mode.
  2. Paste the value and choose seconds, milliseconds or automatic unit detection.
  3. Run the conversion and compare the UTC and local representations.
  4. For a date input, include an explicit timezone when the source is not local time.
  5. Copy the required format and document its unit in code or API schemas.

Useful ways to apply it

  • Reading creation, update and expiry values returned by an API.
  • Converting log timestamps while investigating an incident.
  • Checking whether a value is in seconds or milliseconds.
  • Preparing a future timestamp for a test fixture or scheduled event.
  • Comparing UTC with the browser's local timezone display.

Frequently asked questions

How can I tell seconds from milliseconds?
Current Unix seconds are around ten digits, while milliseconds are around thirteen. Automatic detection uses magnitude, but an explicit unit is safer for unusual historical or future values.
Why is my converted time several hours different?
The source or display timezone may differ. Compare the UTC result first and verify whether the original date included a timezone offset.
What is the Year 2038 problem?
Some older systems store signed 32-bit Unix seconds and overflow in January 2038. Modern 64-bit storage avoids that limit.
Does a Unix timestamp include a timezone?
No. It represents an instant relative to UTC. Timezones matter only when formatting that instant for people.

Privacy

Your input is processed on this page and is not stored by us.