IT
OmnvertImage • Document • Network

Timestamp Converter (Unix ↔ ISO)

Convert Unix timestamps and ISO 8601 dates (UTC/local) without guessing units.
Developer Tools →
Timestamp unit
Unix → Date
Date → Unix
UTC ISO (toISOString)
Local time
Unix seconds
Unix milliseconds
About this tool

Timestamps are easy to store but easy to misread. A common source of bugs is mixing Unix seconds with Unix milliseconds, which shifts dates by a factor of 1000. Another common issue is timezone confusion: APIs often return UTC, while dashboards and local machines show local time with offsets and daylight saving rules.

This converter helps you move between Unix time and ISO 8601 quickly. Paste a timestamp, choose the unit (seconds or milliseconds), and get an exact UTC ISO string plus a local-time view. Or paste a date/time string and convert it back to Unix values in both units. When you’re debugging distributed systems, seeing both representations side-by-side saves a lot of guesswork.

ISO 8601 is the safest format to share: it’s unambiguous when you include a timezone (Z for UTC, or an explicit offset). If you paste a date without a timezone, JavaScript interprets it as local time in most cases. That’s why production APIs typically include Z or offsets. When two systems disagree, compare the exact input string and confirm the unit and timezone assumptions.

For everyday developer workflows, you’ll use this tool when inspecting logs, verifying token claims, checking cache expiry, or building test fixtures. It’s designed to be fast and private: you can convert values without installing anything, and you can copy outputs directly into code, SQL, or incident notes.

Use cases
  • Debug log timestamps and compare UTC vs local time.
  • Validate JWT exp/nbf/iat times and TTL calculations.
  • Convert dates for SQL queries (range filters, partitions, rollups).
  • Check whether a timestamp is seconds or milliseconds.
  • Translate API payload dates into consistent ISO 8601 form.
  • Troubleshoot daylight saving changes and offset issues.
How it works
  1. 1Select whether your Unix timestamp is in seconds or milliseconds.
  2. 2Convert Unix → Date to view UTC ISO and your local time side-by-side.
  3. 3Convert Date → Unix to get both seconds and milliseconds outputs.
  4. 4Use the Now button to quickly capture the current moment.
  5. 5Copy values to logs, code, SQL queries, or token validators.
Timestamp Converter FAQ
How do I know if a timestamp is seconds or milliseconds?
Seconds are usually 10 digits for modern dates (e.g., 1700000000). Milliseconds are usually 13 digits (e.g., 1700000000000). When in doubt, try both.
What does Z mean in ISO 8601?
Z means UTC (Zulu). An ISO string with Z is unambiguous and avoids local timezone interpretation.
Why does my local time differ from UTC?
Local time includes your timezone offset and daylight saving rules. UTC does not change with seasons.
Can timestamps be negative?
Yes. Negative timestamps represent dates before 1970-01-01T00:00:00Z. Some systems restrict ranges.
Does this handle leap seconds?
Most Unix and JavaScript Date implementations do not model leap seconds explicitly. They approximate time using UTC with leap-second smearing/steps handled by the OS.
Do you upload my timestamps?
No. Conversion happens locally in your browser.
Popular searches
timestamp converterunix timestamp converterunix time to datedate to unix timestampepoch convertertimestamp seconds vs millisecondsconvert unix ms to dateiso 8601 to timestamputc to local time converterjwt exp timestamp converter
Related tools