Utility Tools logo

UtilityBox – Free Online Utility Tools

Smart tools for daily tasks — no sign-up needed

Timestamp Converter

Convert Unix timestamps to human dates and vice versa.

Unix Timestamp Converter – Epoch to Date & Date to Epoch

UtilityBox's Unix timestamp converter turns an epoch value into a readable date and turns any date back into a Unix timestamp. Paste a timestamp and it converts as you type — 10-digit seconds and 13-digit milliseconds are detected automatically — showing UTC, your local time, ISO 8601 and a relative time such as "3 days ago". In the other direction, pick a date and time, choose Local or UTC, and get the timestamp in seconds and milliseconds plus ISO 8601. A live bar at the top shows the current Unix time in seconds and the current UTC time, updating every second. Everything runs in your browser and nothing you enter is sent to a server.

How to Use the Unix Timestamp Converter

  1. The Current Unix bar at the top shows the current timestamp in seconds and the UTC time, updating every second; click ⎘ to copy the timestamp.
  2. To convert epoch to date, paste the timestamp into the Unix Timestamp → Date panel. Seconds (10 digits) and milliseconds (13 digits) are detected automatically and the result appears as you type (or click Convert →).
  3. Read the date as UTC, Local time (with your time-zone name), ISO 8601 and Relative time.
  4. To convert a date to Unix, pick a date and time in the Date → Unix Timestamp panel (it starts at the current time), choose Local or UTC, and click Convert → to get seconds, milliseconds and ISO 8601.
  5. Click the ⎘ button beside a result to copy it to the clipboard.

Key Features

  • Live bar — the current Unix time in seconds and the UTC date-time, ticking every second, with a copy button.
  • Unix → Date with automatic seconds/milliseconds detection; converts as you type.
  • Shows UTC, local time (with time-zone name), ISO 8601 and relative time such as "3 days ago" or "in 2 hours".
  • Date → Unix with a date-time picker and Local or UTC interpretation; returns seconds, milliseconds and ISO 8601.
  • ⎘ copy buttons beside the UTC, local, ISO 8601, seconds and milliseconds results.
  • Runs entirely in the browser — no server calls, completely private.
  • Completely free with no sign-up required.

Common Use Cases

  • Debugging APIs and backend responses: Decode the epoch values returned by REST APIs, webhooks and JSON payloads. Paste a raw timestamp such as 1721520000 and instantly see the date in UTC and your local time. Millisecond values from JavaScript's Date.now() are detected automatically, so you never have to guess the unit.
  • Reading and correlating log files: Server logs, database records and monitoring tools often store event times as Unix epoch. Turn those numbers into readable dates plus a relative time like "3 hours ago", and convert dates back to epoch to cross-check the exact moment something happened.
  • Checking token and session expiry: JWTs, OAuth tokens, cookies and cache entries record their expiry as an epoch time. Paste the exp value to see exactly when a token expires in your local time zone and how long from now that is.
  • Scheduling and data migration: When building scheduled jobs or migrating records between databases, you often need a specific date as a Unix timestamp. Use the Date → Unix Timestamp panel to get the exact seconds or milliseconds value, choosing Local or UTC, and copy it into your config, script or SQL query.

Frequently Asked Questions

What is a Unix timestamp?

A Unix timestamp (also called epoch time or Unix time) is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, not counting leap seconds. It is a compact, timezone-independent way to represent a single moment in time, which is why databases, APIs and log files store dates this way. Some systems use milliseconds instead of seconds; this converter accepts both.

How do I convert epoch to a human date?

Paste the epoch value into the Unix Timestamp → Date panel. The date appears as you type in UTC, your local time zone, ISO 8601 and a relative time such as "2 days ago". Click the ⎘ button beside a result to copy it.

How do I convert a date to a Unix timestamp?

Use the Date → Unix Timestamp panel: pick a date and time, choose whether it is Local time or UTC, and click Convert →. You get the timestamp in seconds and milliseconds plus the ISO 8601 string, each with a copy button.

Does it support milliseconds?

Yes, and there is nothing to choose. In the Unix Timestamp → Date panel, values of 1,000,000,000,000 or more are treated as milliseconds (13 digits, like JavaScript's Date.now()) and smaller values as seconds (10 digits, like date +%s). When converting a date to Unix, the result is shown in both seconds and milliseconds.

Does it show UTC and local time?

Yes. Converting a Unix timestamp shows the date in both Coordinated Universal Time (UTC) and your browser's local time zone, alongside the ISO 8601 string and a relative time. In the Date → Unix Timestamp panel you choose whether the date you pick is local time or UTC.

Is it free?

Yes, the UtilityBox timestamp converter is 100% free. There is no sign-up, no account, no download and no paywall. Every feature — the live Unix clock, automatic seconds and milliseconds detection, UTC and local output, relative time and copy buttons — is available to everyone, and all conversions run in your browser.

Can I use it on mobile?

Yes. The timestamp converter is fully responsive and works on smartphones and tablets. The live clock, the Unix Timestamp → Date panel and the date-time picker all adapt to smaller screens, and the copy buttons work on mobile browsers. No app download is required — just open the page in a mobile browser such as Chrome, Safari or Firefox.