Skip to content
AldeaCode Logo
Developer100% local · 0 bytes sent

Unix Timestamp Converter

Paste a Unix timestamp (seconds or milliseconds) or any ISO 8601 / RFC 2822 date string and see all useful representations at once: Unix seconds, Unix milliseconds, ISO 8601, UTC, local time, and a relative offset from now. Auto-detects the input format. Use the JSON Formatter and Validator to inspect the API payload that carried the timestamp, or extract the field with the Regex Tester before converting.

Loading…

How it works

If the input is purely numeric we treat values above 1e12 as milliseconds and the rest as seconds. Otherwise we feed it to Date.parse, which handles ISO 8601 and RFC 2822. From the parsed Date we derive every other format directly.

How to use it

  1. Paste the timestamp

    Drop in a Unix timestamp in seconds or milliseconds, or an ISO 8601 string. The tool detects the format automatically.

  2. See every representation

    The same instant is rendered as seconds, milliseconds, ISO 8601, UTC, your local timezone, and a relative phrase like 3 hours ago.

  3. Watch the live now-ticker

    When the input is empty, the tool shows the current Unix timestamp ticking once a second, useful for quick now-snapshots.

  4. Copy the format you need

    Each row has its own copy button. Grab seconds for log queries, ISO for APIs, or local time for human-readable output.

Use cases

Inspect a created_at field from a JSON API.

Convert a database integer column into a readable date.

Find the relative age of a log entry.

Generate a current timestamp for a script header.

Convert between time zones quickly.

When NOT to use it

  • When the timezone matters and you are reading from "local" alone. Always cross-check the UTC line; locales drift between systems.
  • For dates before 1970. Unix timestamps are negative below the epoch and many systems do not handle them.
  • For dates beyond year 2038 if you are storing as 32-bit signed seconds elsewhere. Move to 64-bit (or milliseconds) before transferring.

Your data never leaves your browser

Every utility runs entirely on your device. Nothing is uploaded, nothing is stored on a server. You can disconnect from the internet and they keep working.

Frequently asked questions

Related tools

Curated next destinations. Use complementary tools in a pipeline; alternatives swap in for a different angle; next-step tools pick up where this one leaves off.