Unix Timestamp Converter โ Epoch to Date & Time
Convert a Unix timestamp to a human-readable date and back. Auto-detects seconds vs milliseconds and shows local, UTC, ISO 8601, and relative time โ free, in your browser.
Current Unix Timestamp
โ
Loading current timeโฆ
Timestamp โ Date
Date โ Timestamp
About This Tool
Epoch time, made readable
Logs, databases, and APIs store time as a Unix timestamp โ a plain number of seconds since 1970. This converter turns that number into a date you can actually read, and converts any date back into a timestamp.
Working with API data? Pair this with the JSON Formatter to read a response, or the Base64 Decoder to inspect a JWT's expiry claim.
Live Epoch
The current Unix timestamp, ticking every second, ready to copy.
Both Directions
Timestamp to date, and any date back to a timestamp.
Auto-Detect
Recognises seconds vs milliseconds automatically.
Local + UTC
See local time, UTC, ISO 8601, and relative time at once.
Quick Start
How to Convert a Unix Timestamp
Paste Timestamp
Enter a Unix timestamp โ seconds or milliseconds.
Read the Date
Local, UTC, ISO 8601, day, and relative time appear.
Reverse It
Pick a date to get its timestamp, or click 'Use now'.
Copy
Copy seconds, milliseconds, or the ISO string.
Use Cases
When to Use a Timestamp Converter
Epoch time shows up everywhere in development โ these are the moments you reach for a converter.
Reading Logs
Translate a Unix timestamp in a server log or error trace into a readable local time.
JWT Expiry
Check a token's 'exp' or 'iat' claim by converting the epoch value to a date.
Database Records
Convert a created_at or updated_at integer column into a human date while debugging.
API Responses
Many APIs return time in epoch seconds or milliseconds โ convert to confirm the value.
Scheduling & Cron
Verify when a scheduled job or expiry will actually fire in your local timezone.
Testing & Mocks
Generate a timestamp for a specific date to use as test data or a fixed clock.
Conversions
Common Unix Time Conversions
Whatever direction you need, the tool above handles it. Here is what each common epoch conversion does.
Unix Timestamp to Date
Paste a 10-digit epoch (seconds) and read the local time, UTC, ISO 8601, day of week, and relative time instantly.
Date to Unix Timestamp
Pick any calendar date and time to get its epoch value in both seconds and milliseconds, ready to copy.
Milliseconds to Date
Paste a 13-digit timestamp โ the tool auto-detects milliseconds (the format JavaScript's Date.now() returns) and converts it.
Epoch to ISO 8601
Every conversion includes the ISO 8601 string (e.g. 2026-06-07T12:00:00.000Z) โ the safest format for storing dates.
Current Unix Timestamp
The live epoch at the top ticks every second in both seconds and milliseconds โ copy 'unix time now' with one click.
Timestamp to UTC
See the universal-time value alongside your local time, since a Unix timestamp always represents a UTC instant.
FAQ
Frequently Asked Questions
The number of seconds since 00:00:00 UTC on 1 January 1970 (the Unix epoch), not counting leap seconds. It's a compact, timezone-independent way to represent a moment in time.
Paste it into the Timestamp โ Date box. You instantly get local time, UTC, ISO 8601, the day of week, and a relative description like '3 hours ago'.
Classic Unix time is in seconds (10 digits). JavaScript and many APIs use milliseconds (13 digits). This tool auto-detects: 13+ digit numbers are read as milliseconds.
A timestamp is always a UTC instant. The 'Local' line converts it to your device's timezone; the 'UTC' and 'ISO 8601' lines show universal time.
Yes. Everything runs in your browser with JavaScript โ no data is sent to a server, so it keeps working without a connection once loaded.
A standard date-time format like 2026-06-07T12:00:00.000Z. The trailing Z means UTC. It's the safest format for storing and exchanging dates between systems.