Unix time converter
Convert between Unix timestamps and human dates, both directions. Accepts seconds or milliseconds and shows UTC and local time.
Date
InvalidEnter a whole-number timestamp.
A free Unix timestamp converter that translates between Unix epoch values and human-readable dates in both directions. Paste a timestamp in seconds or milliseconds and see the UTC and local date-time; or pick a date and get its Unix timestamp instantly. Everything runs in your browser with no server round-trip.
How to use the Unix time converter
- To convert a timestamp to a date: paste the Unix timestamp (seconds or milliseconds) into the timestamp field.
- The tool auto-detects seconds vs milliseconds and shows the UTC and local date-time.
- To convert a date to a timestamp: enter or pick a date-time and the Unix value appears immediately.
- Copy either the timestamp or the formatted date with one click.
What is Unix time?
Unix time (also called epoch time) is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970 — the Unix epoch. It is the standard way computers and APIs represent moments in time because it is timezone-independent and easy to compare, sort, and do arithmetic on. Millisecond timestamps (13-digit) are also common in JavaScript and many web APIs.
Common reasons to convert Unix timestamps
- Reading a timestamp from a database, log file, or API response.
- Building a date string to pass to an API that expects epoch seconds.
- Debugging a created_at or expires_at field in a JWT or session token.
- Converting a user-entered date to a Unix value for a query parameter.
Frequently asked questions
What is a Unix timestamp?
A Unix timestamp is the number of seconds since 1970-01-01 00:00:00 UTC (the Unix epoch). Some systems use milliseconds — a 13-digit number instead of a 10-digit one.
How do I know if my timestamp is in seconds or milliseconds?
A 10-digit number is almost certainly seconds; a 13-digit number is almost certainly milliseconds. The converter detects this automatically.
Does the converter show the correct local time?
Yes. It shows both UTC and the local time based on your browser's timezone, so you can see both representations at once.
What is the Unix epoch?
The Unix epoch is 1970-01-01 00:00:00 UTC. All Unix timestamps count forward (positive) or backward (negative) from that moment.
Can I convert a negative Unix timestamp?
Yes — negative values represent dates before 1 January 1970. The converter handles them correctly.
Randomly