Convert a Unix timestamp to a human-readable date, or a date back to a timestamp, in your browser.
Updated
/ 5 - Be the first to rate this tool Thanks for rating!
Verification failed - please try again.
Quick check
Please verify you're not a robot to submit your rating.
Give feedback
Tell us what you think about Convert a Unix timestamp to a date.
Timestamp to date
- Local time
- UTC
Date to timestamp
- Seconds
- Milliseconds
- Runs entirely in your browser — nothing is sent to a server
- Auto-detects seconds vs. milliseconds, shown in local time and UTC
- Free, no account required
How it works
-
1
Paste a timestamp, or press Now.
-
2
Read the local and UTC dates.
-
3
To go the other way, pick a date and time.
-
4
Copy the seconds or milliseconds value.
About the Unix Timestamp Converter
Logs, databases and APIs record time as Unix timestamps, the number of seconds or milliseconds since 1 January 1970 UTC, which no one can read at a glance. This converter turns a timestamp into a readable date in both your local time zone and UTC, and turns a date you pick back into seconds and milliseconds. It works out whether a number is seconds or milliseconds on its own.
What you can do
- Paste a timestamp in seconds or milliseconds; values of 13 digits or more are treated as milliseconds.
- See the matching date and time in your local time zone and in UTC.
- Press Now to load the current timestamp.
- Pick a date and time to get its Unix timestamp in seconds and milliseconds.
- Copy any result with its own button.
When it works best
- Reading created_at or exp values from a database row, log line or JWT.
- Working out when a cache entry, signed URL or token expires.
- Writing a timestamp into a test or API call for a specific date.
Things to know
- Conversions use your browser's clock and time zone settings, and nothing is sent to a server.
- Local time follows the time zone of your device, so a colleague elsewhere will see a different local result for the same number.
- Only whole numbers are accepted. Negative values for dates before 1970 work, but fractional seconds and date strings in the timestamp field do not.
- To read the exp claim in a token first, use the JWT Decoder. For schedules, use the Cron Parser.
Frequently asked questions
Numbers with 13 or more digits are treated as milliseconds.
Results show in both UTC and your device's local zone, so colleagues elsewhere see a different local time.
Yes, with negative numbers. Fractional seconds and date strings are not accepted in the timestamp field.
Press Now.