Skip to main content
Convert2JSON Tools

Timestamp Converter

Convert an epoch timestamp into readable dates across formats, or turn a date back into a timestamp.

Your data stays on your device

The unit is detected from the magnitude: 10 digits is seconds, 13 is milliseconds.

About this tool

The recurring problem with timestamps is units. A ten-digit number is seconds, thirteen digits is milliseconds, and mixing them up puts your date somewhere in 1970 or fifty thousand years in the future.

This converter detects the unit from the magnitude, then shows the same instant as ISO 8601, UTC, your local time with its offset, and a relative description such as "3 hours ago". Entering a date string works in reverse.

How to use this tool

  1. Paste an epoch timestamp in seconds, milliseconds or microseconds — the unit is detected for you.
  2. Or enter an ISO 8601 date string to convert in the other direction.
  3. Read the result in every format at once.
  4. Use the "now" button to insert the current timestamp.

Key features

  • Automatic detection of seconds, milliseconds and microseconds
  • ISO 8601, RFC 2822, UTC and local time shown together
  • Local timezone name and UTC offset displayed explicitly
  • Relative time such as "in 2 days" or "5 minutes ago"
  • Reverse conversion from a date string to a timestamp
  • One-click insertion of the current time

Example

Epoch seconds expanded

InputTimestamp

1767225600

OutputDate

ISO 8601   2026-01-01T00:00:00.000Z
UTC        Thu, 01 Jan 2026 00:00:00 GMT
Detected   seconds

Good to know

  • Local time uses your device timezone setting, which may not match the server that produced the timestamp.
  • Leap seconds are not represented; Unix time ignores them by definition.
  • Dates before 1970 are negative timestamps and are supported, but some systems reject them.

Frequently asked questions

Seconds or milliseconds?

Ten digits is almost certainly seconds, thirteen is milliseconds. Unix tools and JWT claims use seconds; JavaScript Date.now uses milliseconds.

Why does my date look wrong by a few hours?

You are probably comparing UTC with local time. The tool shows both, along with your offset, so the difference is visible.

What is ISO 8601?

The international standard date format, such as 2026-07-22T09:30:00Z. It sorts correctly as text and is unambiguous across locales, which is why APIs prefer it.

What does the Z mean?

Zulu time, meaning UTC with no offset. A trailing +09:00 instead would indicate a local offset.

Your data stays on your device

Your data is processed locally in your browser and is not uploaded to our server. This page keeps working after you go offline, because there is nothing to send.

Share this toolXLinkedInHacker News