Skip to main content
Time Utility

Timestamp Converter

Convert Unix seconds, Unix milliseconds, and browser-local date times into UTC, ISO, RFC, local, and relative output without sending the value anywhere.

Unix seconds Waiting for input
Unix milliseconds Waiting for input
UTC string Waiting for input
Local string Waiting for input
ISO 8601 Waiting for input
Relative Waiting for input

Timestamp examples and workflows

Use this Unix timestamp converter for API fields, JavaScript values, logs, database rows, and timezone checks.

Best for

Best for converting API log times, JWT exp, iat, and nbf claims, JavaScript millisecond timestamps, UTC strings, ISO dates, and local time values.

Not for

Not for calendar scheduling across teams, recurring meeting planning, timezone database auditing, or time-sensitive financial and legal records.

Common debugging workflow

Decide whether the value is seconds or milliseconds, compare UTC and local output, then use the readable time to debug JWT claims, API logs, cron schedules, or announcement timestamps.

How to use this tool

  1. Paste a Unix timestamp or choose a local date and time.
  2. Select seconds, milliseconds, or auto detect.
  3. Copy the UTC, local, ISO, or relative output you need.

Real examples

  • 1714852800 is Unix seconds for 2024-05-04T20:00:00.000Z.
  • 1714852800000 is the same instant as JavaScript milliseconds.
  • Use browser-local date input for release notes, cron handoffs, and log review.

Common use cases

  • Convert API timestamp fields before debugging payloads.
  • Check whether a database value is seconds or milliseconds.
  • Compare UTC output with your local timezone before sharing a schedule.

Seconds vs milliseconds

Unix seconds are usually 10 digits, while JavaScript milliseconds are usually 13 digits. If the converted date is decades off, the value probably uses the other unit.

API logs and database rows

Convert raw event times from logs, queues, database exports, and API responses into UTC and local output before comparing systems that store dates differently.

JWT exp and iat claims

JWT exp, iat, and nbf claims normally use Unix seconds. Convert them here after decoding a token to check whether auth failures are time-related.

UTC vs local time

UTC is the stable reference for logs and APIs. Local time is easier for people to read. Both display the same instant when the timestamp is parsed correctly.

Sample input/output

  • Input: 1714852800 with seconds selected.
  • UTC: Sat, 04 May 2024 20:00:00 GMT.
  • ISO: 2024-05-04T20:00:00.000Z.

Common errors and fixes

  • Date is decades off: switch between seconds and milliseconds.
  • Blank output: remove commas, spaces, or copied labels around the number.
  • Unexpected local time: compare the UTC field first, then your browser-local output.

Edge cases table

Case What to check
10 digits Usually Unix seconds, common in APIs and server logs.
13 digits Usually milliseconds from JavaScript Date.now().
Timezone mismatch The instant is the same; only the display timezone changes.

Edge cases / errors

  • Auto detect treats very large values as milliseconds.
  • Negative timestamps can represent dates before 1970.
  • Timezone labels come from your browser environment.

Keep moving through common browser-local developer utilities.

Timestamp Converter FAQ

Practical notes about timestamps and timezone output.

Does this upload my timestamp?

No. Conversion runs in the browser using JavaScript date APIs.

Should I use seconds or milliseconds?

Unix seconds are common in APIs. JavaScript Date values use milliseconds. Auto detect handles both.

Why do local and UTC differ?

They represent the same instant displayed in different timezones.

Can I bookmark this tool?

Yes. This page has its own stable URL and works without an account.