Skip to main content
DevTool House

Timestamp Converter

timestamp converter

About Timestamp Converter

Convert between Unix timestamps (seconds or milliseconds), ISO 8601 strings, and human-readable dates — useful for API debugging, log analysis, and date arithmetic.

Last reviewed

October 20, 2026

Key Features

  • Converts Unix seconds and milliseconds to readable dates
  • Converts ISO 8601 and date strings to Unix timestamps
  • Supports UTC and local timezone display
  • Shows the current Unix timestamp
  • Useful for log timestamps and API date fields

How to Use Timestamp Converter

  1. 1Enter a Unix timestamp or a date/ISO string into the input.
  2. 2Choose the input format: Unix timestamp, ISO 8601 or a human-readable date. Seconds and milliseconds are detected automatically.
  3. 3Run the conversion and review the output in both formats.
  4. 4Copy the result for use in logs, API requests, or code.

API response date debugging example

API responses often return created_at or expires_at as Unix timestamps. Paste the value here to quickly confirm whether a token is expired or check when a record was created — without mental date arithmetic.

Seconds or milliseconds? How the converter decides

Unix time counts from 1 January 1970, 00:00:00 UTC. Classic Unix tools and many APIs count in seconds (10 digits today), while JavaScript and many newer APIs count in milliseconds (13 digits). The converter detects which one you entered: values above 1,000,000,000,000 are treated as milliseconds and smaller values as seconds.

Both of the values below therefore describe the same moment. The converter accepts dates between the years 1000 and 3000 and rejects anything outside that range, which usually means the value has too many or too few digits.

The same instant in seconds and in milliseconds
1700000000      →  2023-11-14T22:13:20.000Z
1700000000000   →  2023-11-14T22:13:20.000Z

Time zones

A Unix timestamp has no time zone: it is a single instant everywhere in the world. Time zones only matter when the instant is written as a date. An ISO 8601 string that ends in Z is in UTC, and an offset such as +05:00 (Pakistan Standard Time) says how far the local time is from UTC.

When you enter an ISO date without Z or an offset, it is read as UTC. The Human Readable row shows the result in your device's own time zone, while the ISO 8601 and UTC rows always show UTC.

10:00 in Pakistan is 05:00 UTC
Input:   2026-10-20T10:00+05:00
ISO:     2026-10-20T05:00:00.000Z

Common Problems and Fixes

The date shows 1 January 1970
The value was 0, empty or null where it was produced. Check the source field: a real timestamp from recent years is a 10- or 13-digit number.
The time is off by five hours (or your UTC offset)
You are comparing a UTC value with local time. ISO strings that end in Z are UTC; the Human Readable row shows your local time.
"Timestamp resolves to an unlikely date"
The value probably has extra digits. Python and PostgreSQL can produce microseconds (16 digits) and some systems nanoseconds (19 digits); divide by 1,000 or 1,000,000 to get milliseconds first.
"Could not parse ... as a valid iso date"
Use the YYYY-MM-DDTHH:mm:ssZ form, for example 2026-10-20T10:30:00Z. Day-first formats such as 20/10/2026 are not read reliably.

How It Works

The converter parses the input as a numeric Unix time or date string, then formats the output using the selected unit (seconds vs milliseconds) and timezone display option.

Privacy Notes

Timestamps are sent to DevTool House servers for conversion and are not stored once the result is returned.

Limitations

The converter accepts dates between the years 1000 and 3000. Unix values above 1,000,000,000,000 are read as milliseconds and smaller values as seconds, so microsecond or nanosecond timestamps must be divided down first.

Frequently Asked Questions