Skip to content

← All tools

Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and back, with live epoch time and both local and UTC output. Everything runs locally in your browser.

New to this? Read the Timestamp Converter guide →

Current Unix time

Timestamp → date

Local
UTC
ISO 8601
Relative

Date → timestamp

Seconds
Milliseconds

How to use the timestamp converter

  1. Paste a Unix timestamp to see the human-readable date in both UTC and your local time zone.
  2. Or enter a date and time to get the matching Unix timestamp.
  3. It accepts both seconds and milliseconds and converts instantly, all in your browser.

Seconds vs. milliseconds

A Unix timestamp counts the time since 1970-01-01 UTC. The catch that trips everyone up: it can be in seconds or milliseconds. JavaScript's Date.now() returns milliseconds, while most databases and APIs use seconds. A quick check: a "now" timestamp in seconds has 10 digits; in milliseconds it has 13. If a date comes out wildly wrong, you probably need to multiply or divide by 1000.

UTC vs. local time

A timestamp itself has no time zone; it is an absolute instant in UTC. Time zones and daylight saving only matter when you format it for a person. The rule that prevents most bugs: store and compute in UTC, and convert to local time only for display. This converter shows both so you can confirm which one you are looking at.

Where you'll use it

Reading timestamps out of logs, database rows, JWT exp claims or API responses, and turning a human date into the epoch value a query needs. For the full story, including the Year 2038 problem and getting epoch time in each language, see Unix timestamps explained.

Where you'd use this

Reading machine time. Databases, logs and APIs store epoch seconds or milliseconds; humans need a date and a timezone to reason about an incident.

For example: An error log shows 1738368000. Converting it gives 1 February 2025 00:00 UTC — which lines up exactly with a scheduled job, turning "random errors" into "the nightly batch".

Frequently asked questions

What is a Unix timestamp?

A Unix timestamp is the number of seconds (or milliseconds) since 1 January 1970 UTC. It is a compact, timezone-free way to store a moment in time.

How do I convert a timestamp to a date?

Paste the timestamp to see the equivalent local and UTC date and time, or enter a date to get the timestamp back. The tool handles both seconds and milliseconds.

Is anything uploaded?

No. Conversion happens locally in your browser.

Related reading

Related tools