JustConvertAll-in-One Convert

Unix Timestamp Converter

Convert Unix timestamps to human-readable dates instantly online. Supports seconds and milliseconds. Shows UTC, local time, ISO 8601, and relative time. Free and runs in your browser.

Unix Timestamp

Related Tools

Advertisement

A Unix timestamp (also called POSIX time or Epoch time) is an integer count of seconds elapsed since 00:00:00 UTC on January 1, 1970. It provides a timezone-independent, locale-neutral way to represent a point in time as a single number, making it the default time representation in operating systems, databases, and network protocols.

Unix timestamps appear in JWT expiry claims (exp, iat, nbf), HTTP cache headers (Expires, Last-Modified), filesystem metadata (mtime, ctime), PostgreSQL and MySQL TIMESTAMP columns, Redis TTLs, S3 presigned URL expirations, and log aggregation systems like Splunk and Datadog that sort events by epoch.

This tool auto-detects whether an input is in seconds or milliseconds (values above 9,999,999,999 are treated as milliseconds), then outputs seven human-readable formats: ISO 8601, UTC, local time, relative time, date only, time only, and day of week. The 'Use Now' button inserts the current epoch instantly.

Common Use Cases

Debugging JWT token expiration

JWTs store exp and iat as Unix timestamps in their payload. Pasting the exp value here and checking the ISO 8601 output instantly shows whether a token has expired, which is faster than decoding the full JWT and mentally parsing the raw number.

Inspecting HTTP cache headers

HTTP Last-Modified and Expires headers sometimes appear as Unix timestamps in proxy logs or CDN dashboards. Converting the raw number to a readable date lets you verify whether a cached asset is stale without writing a one-off script in a terminal.

Auditing database timestamp columns

PostgreSQL stores created_at columns internally as epoch values visible in raw query output tools. When reviewing a pg_dump export or a BI tool showing raw integers, converting timestamps here confirms whether records fall within an expected date range during a data integrity audit.

Setting Redis TTL values correctly

Redis EXPIREAT commands accept an absolute Unix timestamp in seconds. Using the 'Use Now' button and adding the desired offset lets you calculate and verify the exact expiry epoch before issuing the command, avoiding off-by-one errors between seconds and milliseconds.

How to Use the Unix Timestamp Converter

  1. Enter a Unix timestamp in the input field — seconds or milliseconds both work.
  2. The converted date appears instantly in UTC, local time, ISO 8601, and more.
  3. Click Use Now to insert the current Unix timestamp automatically.
  4. Click Copy next to any row to copy that value, or Copy All for all formats.
  5. Use Load Example to see a sample timestamp conversion.

About Unix Timestamps