What is Epoch Converter?
Epoch Converter converts Unix timestamps (seconds or milliseconds since 1970-01-01 UTC) to human-readable date/time strings, and converts dates back to timestamps. Essential for debugging API responses, log files, and database records that use numeric time values.
Unix timestamps are the internal clock of the internet. HTTP headers, JWT tokens, database records, log files — they all use them. This tool bridges the gap between the number and the date.
Two Directions of Conversion
Timestamp → Date
Enter a 10-digit (seconds) or 13-digit (milliseconds) number to see the UTC and local date/time.
Date → Timestamp
Pick a date and time from a calendar or type an ISO string to get its Unix timestamp.
Current Timestamp
The 'Now' button fills in the current Unix timestamp — useful for testing time-sensitive systems.
Timezone Display
See the timestamp converted to both UTC and your browser's local timezone simultaneously.
How to Use Epoch Converter
Enter a timestamp
Paste a Unix timestamp (e.g. 1715165400) into the input. Seconds or milliseconds both work.
Read the date
The date appears in UTC and your local timezone instantly.
Or pick a date
Use the date/time picker to select a date and get its Unix timestamp.
Copy the result
Copy the timestamp or the ISO date string to use in your code or API call.
Common Timestamp Reference Points
| Unix Timestamp | Date (UTC) |
|---|---|
0 | 1970-01-01 00:00:00 |
1000000000 | 2001-09-09 01:46:40 |
1700000000 | 2023-11-14 22:13:20 |
1715165400 | 2024-05-08 (example) |
2147483647 | 2038-01-19 03:14:07 (32-bit max) |
Tips & Common Mistakes
Check for milliseconds vs seconds. If a timestamp converts to a date in 1970, it’s probably milliseconds being interpreted as seconds. Divide by 1000 or use the ms toggle.
JWT exp and iat claims are always seconds, not milliseconds, regardless of language. JavaScript’s Date.now() returns ms — always divide by 1000 when setting JWT claims in JS.
Log timestamps are always UTC. When reading server logs, remember the timestamps are in UTC. Subtract your UTC offset to get local time, or just use this converter.
Related Tools
- Timezone Converter — convert a time from one timezone to another
- JWT Decoder — decode exp/iat claims from JWT tokens
- Date Difference — calculate the gap between two dates