Skip to content
Kordu Tools
Developer Tools Runs in browser Updated 30 Mar 2026

Timestamp Converter

Convert Unix timestamps to human-readable dates or dates to epoch timestamps — with timezone support and multiple formats.

Timestamp to Date

Detected as seconds

UTC

Thu, 23 Apr 2026 11:52:13 GMT

ISO 8601

2026-04-23T11:52:13.000Z

Timezone ISO

2026-04-23T12:52:13

Timezone

Thu, 23 Apr 2026, 12:52:13

Local

23/04/2026, 12:52:13

Relative

1 second ago

Date to Timestamp

Unix seconds

1776945120

Unix milliseconds

1776945120000

UTC

Thu, 23 Apr 2026 11:52:00 GMT

Timezone

IANA zone

What the converter uses

  • Timestamps above 10 billion are treated as milliseconds.
  • Date formatting is driven by the selected IANA timezone.
  • Relative time is calculated against the current moment in your browser.

Tip: paste a timestamp directly, or use the date picker to compare local, UTC, and timezone-specific representations side by side.

Loading rating…

How to use Timestamp Converter

  1. Enter a Unix timestamp

    Type or paste a Unix timestamp in the input field. The tool accepts both seconds (10 digits) and milliseconds (13 digits) and detects the unit automatically.

  2. Click Now for the current time

    Click the Now button to fill the input with the current Unix timestamp in seconds and see all conversions immediately.

  3. View all output formats

    See the timestamp displayed as ISO 8601, RFC 2822, UTC, your local timezone, and relative time (e.g. '5 minutes ago') simultaneously.

  4. Select a timezone

    Choose any IANA timezone from the dropdown to see the corresponding local time for that region. All outputs update instantly.

  5. Convert a date to a timestamp

    Use the date picker to select a specific date and time. The corresponding Unix timestamp in seconds and milliseconds is shown alongside all formatted outputs.

Timestamp Converter FAQ

What is a Unix timestamp?

A Unix timestamp is the number of seconds (or milliseconds) elapsed since the Unix epoch: January 1, 1970, 00:00:00 UTC. It is timezone-independent and used universally in databases, APIs, log files, and programming languages.

How does the tool detect seconds vs milliseconds?

If the timestamp value is greater than 10,000,000,000 (10 billion), it is treated as milliseconds. Otherwise it is treated as seconds. This heuristic correctly identifies timestamps for dates from 1970 through well past 2100.

What is ISO 8601 format?

ISO 8601 is the international standard for date and time representation. A typical value looks like 2025-06-15T14:30:00Z (UTC) or 2025-06-15T14:30:00+05:30 (with offset). It is unambiguous and widely used in APIs, databases, and configuration files.

What is the difference between UTC and a Unix timestamp?

A Unix timestamp is a single integer that represents a universal point in time. UTC is a human-readable timezone — the same moment can be expressed as a Unix timestamp or as a UTC string. They represent the same instant, just in different formats.

How do I convert a JavaScript Date to a Unix timestamp?

Use Date.now() for the current timestamp in milliseconds, or Math.floor(Date.now() / 1000) for seconds. For a specific date: Math.floor(new Date('2025-01-01').getTime() / 1000).

Can I see timestamps in different timezones?

Yes. The timezone dropdown includes all IANA timezone zones. Select any zone and all localised outputs update to show the equivalent local date and time.

What is relative time?

Relative time shows how far in the past or future the timestamp is compared to right now — for example '3 hours ago', 'yesterday', 'in 2 days'. Useful for quickly assessing the age of a log entry or API response without mental arithmetic.

Can I use this to check JWT expiry times?

Yes. JWT tokens contain an exp claim that is a Unix timestamp in seconds. Paste that value here to immediately see whether the token has expired and by how much. For full JWT inspection use the JWT Decoder tool.

Is there a year 2038 problem?

Not in this tool. JavaScript uses 64-bit floating point for Date, which handles timestamps well beyond the year 9999. The year 2038 problem affects 32-bit signed integer timestamp storage in C and legacy databases.

Background

Timestamp Converter handles the most common Unix timestamp operations developers encounter daily. Paste a timestamp — in seconds or milliseconds — and instantly see the equivalent date in six formats: ISO 8601, RFC 2822, UTC, local timezone, and relative time ("2 hours ago", "in 3 days").

The tool auto-detects whether your input is in seconds or milliseconds based on magnitude: values over 10 billion are treated as milliseconds, everything else as seconds. This heuristic correctly handles timestamps from 1970 through well past 2100.

Going the other direction is equally fast: use the date and time picker to select any date and see its Unix timestamp in both seconds and milliseconds alongside all the formatted representations.

The timezone dropdown covers the full IANA timezone database — over 400 zones including all major cities and regional zones. Select any timezone and all outputs update immediately so you can compare timestamps across different regions without mental arithmetic.

Copy any format with a single click. Essential for debugging API logs, verifying JWT exp claims, correlating database records, and working with scheduled jobs. All conversions use your browser's built-in Intl and Date APIs — nothing is sent to a server.

Learn more