OnlineNotes Logo

    Timestamp Converter

    Convert Unix timestamps and date strings across ISO, UTC, local, and relative formats.

    Inputs

    Output

    Ready

    Unix seconds

    -

    Unix milliseconds

    -

    ISO 8601

    -

    UTC string

    -

    Local time

    -

    Relative

    -

    When to use this tool

    Use timestamp conversion when debugging logs, preparing API payloads, or validating analytics event times.

    The side-by-side UTC and local output helps catch timezone-related mistakes quickly.

    Frequently asked questions

    Can this converter handle both seconds and milliseconds?

    Yes. It auto-detects timestamp precision and lets you copy both seconds and milliseconds outputs.

    Can I convert an ISO date back to Unix time?

    Yes. Enter a valid date string and the tool outputs Unix seconds and milliseconds.

    Does it show UTC and local time?

    Yes. The result includes ISO, UTC string, and localized date-time output for quick comparison.

    Related tools

    Unix timestamp converter to date, UTC, and local time formats

    Use this Unix timestamp converter to turn seconds or milliseconds into a date, or to turn a date string back into a timestamp.

    It shows ISO, UTC, your local time, and a relative time together, which helps with API debugging, analytics event checks, and building incident timelines across timezones.

    How it works

    1. Enter a Unix timestamp or a date string. The page opens with the current time in both fields, and Use current time fills them again.
    2. Press Convert. The timestamp field is tried first. A value of 1e12 or more (ignoring the sign) is read as milliseconds, and anything smaller as seconds.
    3. If the timestamp field is empty or not a number, the date field is parsed with the browser's Date. Date-only ISO strings count as UTC. Date and time with no zone count as your local time.
    4. The output lists Unix seconds, Unix milliseconds, ISO, UTC, local time, and relative time. Copy summary copies all six as labelled lines.

    Worked example

    Input

    1744893000

    Output

    Unix seconds: 1744893000
    Unix milliseconds: 1744893000000
    ISO: 2025-04-17T12:30:00.000Z
    UTC: Thu, 17 Apr 2025 12:30:00 GMT

    A 10-digit value is read as seconds. Entering 1744893000123 gives the same moment in milliseconds, with .123Z at the end of the ISO line. The summary also adds Local and Relative lines, which depend on your device timezone, language, and clock.

    Edge cases and limits

    • Typing in the date field clears the timestamp, so the date is what gets converted. If both fields hold a value, the timestamp wins.
    • Seconds or milliseconds is a guess by size. A millisecond value before September 2001 (under 1e12) is read as seconds and lands far in the future. A 16-digit value is read as microseconds. Nanosecond values need dividing down first.
    • Non-ISO date strings depend on the browser. "04/05/2026" is read as April 5 in Chrome, and "next friday" is rejected. Use ISO 8601 with an explicit Z or offset for a result that does not vary.
    • You cannot pick another timezone: Local always means this device. Relative time is computed once, tops out at days, and does not adjust grammar ("1 minutes ago").

    When to use it

    • Convert log timestamps during incident analysis.
    • Turn ISO date strings into Unix milliseconds for a payload.
    • Compare UTC and local values to catch a timezone error.
    • Copy a conversion summary into debugging notes.