Timestamp Converter
Convert Unix timestamps to human-readable dates and back, in seconds or milliseconds, with UTC, ISO 8601 and local-time output shown side by side.
- Files never leave your device
- Free, no signup
- No watermarks
- Works offline once loaded
How to timestamp converter
- 1
Paste a timestamp or pick a date
Seconds and milliseconds are detected automatically.
- 2
Read every format
UTC, ISO 8601, local time and relative time are all shown.
- 3
Copy what you need
Each format copies with one click.
Why nearly every system counts time this specific way
A Unix timestamp is simply the number of seconds that have elapsed since midnight UTC on 1 January 1970 — an arbitrary reference point chosen decades ago that has since become the near-universal default for representing a point in time inside a computer system. The appeal is that it reduces a date and time to a single, easily comparable, easily stored integer: checking whether one moment is before another is a simple numeric comparison rather than a calendar calculation, and storing it takes a fixed, predictable amount of space regardless of which century the date falls in. This is why it underlies everything from database timestamp columns to API responses to log file entries, even though the raw number is meaningless to a person looking at it directly — which is the entire reason a converter like this one exists.
Telling seconds and milliseconds apart at a glance
A Unix timestamp representing the current moment in seconds is ten digits long, and the same instant expressed in milliseconds is thirteen digits — three additional digits for the thousandths precision. This length difference is the fast, reliable way to identify which unit a given number is in, and it also explains the two most common and most confusing failure modes when the wrong assumption is made. Passing a millisecond value to code expecting seconds multiplies the apparent date by roughly a thousand, landing somewhere in the year 55000 — spectacularly, obviously wrong. Passing a seconds value to code expecting milliseconds does the opposite: dividing the real elapsed time by roughly a thousand, which lands the interpreted date somewhere in 1970, close enough to a plausible-looking date that it is sometimes mistaken for a genuine bug elsewhere rather than a units mismatch.
Why UTC belongs in storage and local time belongs on screen
A raw Unix timestamp carries no timezone information at all — it is simply a count of elapsed seconds, identical everywhere on Earth at any given instant — and the moment of converting it to a human-readable date is where a timezone has to be chosen for display purposes. Storing and logging events using UTC (or the raw timestamp itself, which is timezone-independent by definition) means every record in a system means exactly the same instant regardless of which timezone the server, the database, or the person reading the log happens to be in. Converting to local time is a display-layer decision made only when a human is actually looking at the value, which is why this tool separates the two clearly: UTC and ISO 8601 as the values worth storing and comparing, local time as the version worth reading.
The year 2038 problem, and why it will not affect this tool
A meaningful amount of older infrastructure — legacy C code, some embedded systems, certain older database column types — stores a Unix timestamp in a signed 32-bit integer, which has a hard ceiling: it overflows at 03:14:07 UTC on 19 January 2038 and wraps around to a date in 1901, a bug with the same underlying shape as the Y2K problem but rooted in binary integer limits rather than two-digit years. JavaScript represents numbers as 64-bit floating point values, which have vastly more headroom and are not subject to this specific overflow, so a timestamp calculated in this tool is unaffected — the concern applies to whatever system originally produced the timestamp being converted, not to the conversion happening here.
Frequently asked questions
Is my timestamp in seconds or milliseconds?
The tool detects it. A current Unix timestamp in seconds is 10 digits; in milliseconds it is 13. If a date comes out in 1970 you passed milliseconds as seconds; if it lands in the year 55000 you did the reverse.
What is the Unix epoch?
Midnight UTC on 1 January 1970, the zero point almost every system counts from. Negative timestamps are valid and represent dates before it — this tool handles them.
What is the year 2038 problem?
Systems storing Unix time in a signed 32-bit integer overflow on 19 January 2038 and wrap to 1901. JavaScript uses 64-bit floats, so this tool is unaffected, but legacy C and older database columns are not.
Which timezone is "local time"?
Your device's timezone, read from the browser. The UTC and ISO 8601 lines are timezone-independent, which is what you should store and log — local time is only for display.
Common timestamp converter tasks
You might also need
JWT Decoder
Decode and inspect JSON Web Tokens
Age Calculator
Exact age in years, months and days
Hash Generator
MD5, SHA-1, SHA-256, SHA-384 and SHA-512
Base64 Encoder & Decoder
Encode and decode Base64 and Base64URL
CSS Formatter
Beautify or minify stylesheets
CSS Minifier
Shrink stylesheets with a real CSS-aware minifier
HTML Formatter
Beautify and indent HTML properly
JavaScript Formatter
Format JS and TypeScript with a real parser