Unix Timestamp Converter — Epoch to Date & Back

Convert Unix timestamps to human dates and back. Seconds and milliseconds supported, UTC and local time shown.

—

How it works

A 9–11 digit input is treated as Unix seconds, 12–13 digits as milliseconds (milliseconds since 1970-01-01T00:00:00Z, the Unix epoch). Anything else is parsed as a date string and converted back to a timestamp.

Examples

InputOutput
17356896002025-01-01 00:00:00 UTC
1735689600000 (13 digits)same instant, milliseconds input
2025-06-15 12:001749988800 (in your local zone)

Frequently Asked Questions

What is a Unix timestamp?

The number of seconds elapsed since 1970-01-01 00:00:00 UTC (the Unix epoch). It is timezone-independent, which is why APIs, databases and logs use it everywhere.

Is my timestamp in seconds or milliseconds?

Count the digits: 10 digits is seconds (until the year 2286), 13 digits is milliseconds. JavaScript's Date.now() returns milliseconds; most server logs and APIs use seconds.

Why does the same timestamp show a different time on my machine?

The instant is the same everywhere — only the display differs. UTC is the universal reference; the Local line shows the same instant in your device's timezone.

What happens in 2038?

Systems storing the timestamp as a signed 32-bit integer overflow on 2038-01-19. This converter uses 64-bit numbers, so dates far beyond 2038 convert correctly.

Related Tools

JSON Formatter & ValidatorRandom Password Generator (Bulk)CSV to JSON ConverterJSON to YAML ConverterMarkdown to HTML ConverterText to Unicode Converter (Code Points)MD5 Hash GeneratorHTML Encoder / Decoder (Entities)Base64URL Encoder / DecoderBase64 to PDF ConverterHTML to Markdown Converter