What is the Timestamp Converter?
The Timestamp Converter turns Unix epoch timestamps into human-readable dates in UTC and your local time zone, and converts dates back into timestamps. It detects automatically whether a value is in seconds or milliseconds.
The current Unix time is shown live at the top for quick reference.
Who is the Timestamp Converter for?
- Developers reading Unix timestamps in logs, databases and APIs.
- Analysts converting epoch values in exported data.
- Anyone who needs a date as a timestamp, or the reverse.
Key features
- Auto-detects seconds or milliseconds.
- Shows UTC ISO, local time, HTTP date and a relative description.
- Converts a date and time (local or UTC) back to a timestamp.
Why use it?
Databases, APIs and log files store time as seconds or milliseconds since 1 January 1970 UTC. Converting these numbers is constant work when debugging scheduling bugs, expired tokens or event ordering.
How to use the Timestamp Converter
- Enter a timestamp in the first panel; leave Unit on Auto-detect unless the guess is wrong.
- Read the UTC ISO date, your local date, the HTTP date format and a relative description.
- To go the other way, pick a date and time in the second panel and choose whether it is local time or UTC.
- Copy any value with its Copy button.
Examples
Checking token expiry
A JWT has "exp": 1767225600. Converting shows 2026-01-01T00:00:00.000Z, so the token expires at midnight UTC on New Year's Day 2026.
Milliseconds from JavaScript
Date.now() returns values like 1763700000000. Auto-detect recognises 13-digit values as milliseconds.
Supported formats and inputs
- Integer or decimal timestamps in seconds or milliseconds.
- Dates from about 271,821 BC to AD 275,760 (the JavaScript Date range).
Limitations to know about
- Unix time does not count leap seconds, matching how almost all systems behave.
- Auto-detection treats values of 100 billion or more as milliseconds. Very distant dates in seconds may need the unit set manually.
Privacy
Everything is processed by JavaScript running in your browser tab. Your input is not sent to a server, logged or stored, so it is safe to use with configuration files and internal data. As always, avoid pasting production secrets into any website you do not control.
Frequently asked questions
What is the Unix epoch?
00:00:00 UTC on 1 January 1970. Unix time counts the seconds elapsed since then.
What is the year 2038 problem?
Systems storing Unix time as a signed 32-bit integer overflow on 19 January 2038. Modern 64-bit systems are not affected.
Why does local time differ from UTC?
Local time applies your device's time-zone offset and daylight saving rules; UTC never changes with seasons.