Toolich
Important tasks

100% Local & Secure

All utility tools process your data entirely in your browser. No inputs or files are ever sent to a server.

Dark mode

Timestamp Converter

New Tab (Alt+A)

Convert between Unix timestamps, ISO 8601, and human-readable date formats across timezones.

Documentation & User Guide

Unix Timestamp Converter Guide

A Unix timestamp counts the seconds (or milliseconds) that have passed since 1 January 1970 at 00:00 UTC. Databases, log files, APIs and JWT tokens store time this way because it is compact and independent of time zones, but it is unreadable to people. The Timestamp Converter turns a timestamp into a readable date in any time zone and back again, so you can check when a log entry was written, when a token expires, or what value to put in a query. It shows the result as ISO 8601, RFC 2822, a relative time such as '3 hours ago' and a localized date, with a live clock for reference.

⚙️ Key Features

  • Converts Unix timestamps to dates and dates back to timestamps, in both directions.
  • Detects seconds or milliseconds automatically, or lets you force either unit.
  • Interprets and displays times in your local zone, UTC or major zones such as New York, London, Kolkata, Tokyo and Sydney, including daylight saving time.
  • Outputs ISO 8601, RFC 2822, relative time and a localized date and time, each with one-click copy.
  • A live clock and a Now button that fills in the current timestamp.
  • Accepts date strings with their own offset, such as 2026-01-01T09:00:00+05:30 or a trailing Z, and respects that offset.

📖 How to Use

  1. Paste a Unix timestamp, such as 1767225600, into the timestamp box; the unit is detected automatically.
  2. Or type a date and time, such as 2026-01-01T00:00:00, into the date box.
  3. Choose the time zone the date should be read and displayed in; switching zones keeps the same moment in time.
  4. Read the converted values in the outputs panel and use the copy button next to any of them.
  5. Click Now to start from the current time, or Clear to reset both inputs.
🔒
Privacy & Security:

All conversions run locally in your browser with the date-fns and date-fns-tz libraries. The timestamps and dates you enter are not sent to any server.

Frequently Asked Questions (FAQ)

How do I tell seconds from milliseconds?

Current timestamps in seconds have 10 digits (for example 1767225600), while milliseconds have 13 (1767225600000). Auto mode treats values below 10,000,000,000 as seconds, which covers every date up to the year 2286. JavaScript and Java usually use milliseconds; Unix tools, Python and most databases use seconds.

Why is my converted date off by a few hours?

The timestamp itself has no time zone; only the displayed date does. If the result looks shifted, check the selected time zone. A date typed without an offset is read in the selected zone, so 09:00 with Asia/Kolkata selected is a different moment from 09:00 in UTC.

What is the difference between ISO 8601 and RFC 2822?

ISO 8601 (2026-01-01T09:00:00+05:30) sorts correctly as text and is the standard for APIs and JSON. RFC 2822 (Thu, 01 Jan 2026 09:00:00 +0530) is the format used in email headers and some HTTP headers.

What is the year 2038 problem?

Systems that store seconds in a signed 32-bit integer overflow on 19 January 2038 at 03:14:07 UTC. Modern 64-bit systems and JavaScript are not affected, but it matters for older embedded devices, legacy databases and file formats.

How do I read the exp value in a JWT?

JWT exp, iat and nbf claims are Unix timestamps in seconds. Paste the number here to see the exact expiry date and how long ago or how soon it is.

Assistant & feedback