About the Unix Timestamp Converter tool
Unix time, also called epoch time, counts the seconds that have passed since 1 January 1970 at 00:00 UTC. It is how databases, APIs, log files, JWTs and most programming languages store moments in time, but a number like 1719792000 means nothing to a person. This converter shows the current Unix timestamp ticking live and translates timestamps into readable dates and back again.
Paste any timestamp and the tool detects its unit from its size: seconds, milliseconds (as used by JavaScript and Java), microseconds or nanoseconds. You get the date in your local time zone, in UTC and in ISO 8601 format, plus a relative description such as “3 days ago”. To go the other way, pick a date and time and read the matching timestamp in seconds and milliseconds, treating your input as either local time or UTC. For lots of values, the batch converter accepts one timestamp or date per line and produces a CSV table you can copy or download.
All conversions use your browser’s built-in date functions and your device’s time zone. Nothing is sent to a server.
How to use Unix Timestamp Converter
- Read the current epoch time at the top; use Copy to grab it or Pause to freeze it.
- Under “Timestamp to date”, type or paste a timestamp, or click “Now”, and read the local, UTC, ISO 8601 and relative values.
- Under “Date to timestamp”, pick a date and time and switch on “Treat as UTC” if the time is not in your local zone.
- For many values, paste one per line into the Batch convert box or click “Load sample”.
- Click “Copy” or “Download” to save the batch result as a CSV file.
Features
Live epoch clock
The current Unix time in seconds and milliseconds updates every second.
Automatic unit detection
Seconds, milliseconds, microseconds and nanoseconds are recognised by length.
Local, UTC and ISO 8601
See every timestamp in the formats developers need, each with a copy button.
Relative time
Understand at a glance how long ago or how far in the future a moment is.
Date to timestamp
Convert a local or UTC date and time into seconds and milliseconds.
Batch CSV export
Convert a whole list of timestamps or dates and download the table.
When to use it
- Read created_at and updated_at values from a database or API response.
- Check the expiry time of a JWT, cookie or cache entry.
- Convert log file timestamps into IST or another local time.
- Create a timestamp for a scheduled job, test fixture or query filter.
- Convert a whole column of epoch values into dates for a report.
Frequently asked questions
How does the tool know if my timestamp is in seconds or milliseconds?
By its size. Values below 100 billion are treated as seconds, larger values as milliseconds, then microseconds and nanoseconds. The detected unit is shown above the result.
Which time zone is used for “Local”?
Your device’s time zone, shown next to the Local label. For India this is Asia/Kolkata (IST, UTC+5:30).
What is the year 2038 problem?
Systems that store Unix time as a signed 32-bit number overflow on 19 January 2038. This tool uses JavaScript numbers, so it handles dates far beyond 2038.
Can I convert negative timestamps?
Yes. Negative values represent dates before 1 January 1970 and are converted normally.
What date formats does the batch converter accept?
Timestamps, and dates your browser can parse, such as ISO 8601 (2024-08-15T10:30:00+05:30). Lines it cannot read are marked invalid in the CSV.
Does Unix time include leap seconds?
No. Unix time ignores leap seconds, which is also how JavaScript dates work, so results match other programming tools.