Unix Timestamp Converter
Turn a Unix timestamp (seconds or milliseconds, auto-detected) or any human-readable date into ISO 8601, RFC 2822, RFC 3339, relative time and raw epoch values — shown in UTC or your local timezone.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
Two directions, one box
Type a Unix timestamp — seconds or milliseconds — or any parseable date string and the tool converts between them. A numeric input is treated as an epoch value; anything else is handed to the browser’s date parser. The output mode “All formats” returns a table of Unix seconds, Unix milliseconds, ISO 8601, RFC 2822, RFC 3339, the day of the week and a relative phrase like “3 days ago”.
Choosing the unit and timezone
Auto-detect treats values up to 100 billion in magnitude as seconds and larger values as milliseconds, which keeps a modern timestamp from being read as a date in 1970. If a value sits on the boundary and is misread, force Seconds or Milliseconds. The display timezone picks between UTC (ISO 8601 with a Z, and RFC 2822 in GMT) and your machine’s local zone with a proper offset.
Narrowing the output
If you only need one value, set Output to ISO 8601, RFC 2822, Relative or Unix seconds and you get a single string instead of the full table — handy when copying straight into a script or a header. Relative output measures from the moment you run the tool, so a future date reads “in 2 hours” and a past one reads “2 hours ago”.
Caveats and privacy
Date-only strings are interpreted by the browser, whose rules follow the ECMAScript date-time format rather than any server’s locale, so an ambiguous string like 01/02/2024 can differ by region — prefer an explicit ISO form. There is no lookup and no clock sync: everything is computed in the page, offline, and nothing you type is uploaded.
Questions
How does auto-detect tell seconds from milliseconds?
Timestamps up to 100 billion in magnitude are treated as seconds (dates until the year 5138); anything larger is treated as milliseconds. Force the unit with the option if a value is misread.
Does anything leave my browser?
No. All conversion happens on-device and works fully offline.
Why can a date-only string such as 01/02/2024 be read differently by region?
Non-numeric input is parsed by the browser, whose rules follow the ECMAScript date-time format rather than any server locale. Use an explicit form like 2024-02-01T00:00:00Z to avoid ambiguity.
Related tools
See categoryTimezone Converter
Convert a date and time across world timezones in one table.
Date Difference Calculator
Measure the exact gap between two dates in every unit, including business days.
Duration Converter
Convert durations between human, ISO 8601, clock and plain-seconds forms.
Cron Expression Parser
Explain a cron expression in plain English and list its next run times in UTC.