Skip to content
Marvin's Toolbox.

Search tools

Type to filter all tools

Unix Timestamp Converter

Convert Unix timestamps in seconds, milliseconds, microseconds or nanoseconds to readable dates in your local time, UTC or any timezone, and turn any date back into a timestamp. Shows the live current timestamp and relative time.

Everything runs locally in your browser. Your data never leaves your device.

Current time

Updates every second.

Unix seconds
1784111097
Unix milliseconds
1784111097339
ISO 8601 (UTC)
2026-07-15T10:24:57Z
Local time
Wed, 15 Jul 2026, 10:24:57UTC (UTC, UTC)
UTC
Wed, 15 Jul 2026, 10:24:57

Timestamp to date

In other timezones

Showing the current time. Convert a timestamp above to see it here.

UTC
Wed, 15 Jul 2026, 10:24:57UTC, UTC
America/New_York
Wed, 15 Jul 2026, 06:24:57GMT-4, UTC-04:00
Asia/Tokyo
Wed, 15 Jul 2026, 19:24:57GMT+9, UTC+09:00

Date to timestamp

Timezone

ISO 8601 and RFC 2822 work. The timezone above applies when the date has no offset of its own.

Server time

Read from the HTTP Date header, so accurate to about a second at best.

Asking the server for its clock…

Next steps

Send this tool's output straight into another tool.

Convert text into every case at once: title case in the APA, AP, Chicago, MLA, Bluebook, AMA and NYT styles, sentence case, upper, lower, camelCase, snake_case, kebab-case and more.

Count words, characters, sentences, paragraphs, lines and more as you type, with estimated reading and speaking time.

Remove duplicate lines from a list or text, keeping the first occurrence. Optionally ignore case and whitespace, or drop blank lines too.

Replace text in two modes: plain find and replace all, or regular expressions with flag controls and capture group references like $1.

Compare two texts and see every added, removed and changed line highlighted, side by side or inline, with the changed words marked within each line. Ignore case, whitespace or blank lines, read a summary of how much changed, and export the result as a unified diff.

Paste a UUID to see what it carries: version, variant, and for time-based versions the exact timestamp, clock sequence and node. Also shows the raw bytes, the 128-bit integer and the URN form.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Convert numbers between binary, octal, decimal, hexadecimal and any base up to 36. Type into any field and the others update as you go. Handles huge integers without losing precision and accepts 0x, 0b and 0o prefixes.

Convert between scientific notation and full numbers as you type. Reads 1.23e5, 1.23 × 10^5 and plain numbers, shows the value written out, in normalized scientific notation and in engineering notation, and can round to any number of significant digits.

About the Unix Timestamp Converter Tool

This tool converts Unix timestamps to readable dates and dates back to timestamps. Paste a timestamp and it detects on its own whether the number is in seconds, milliseconds, microseconds or nanoseconds, then shows the moment in your local time, in UTC, as ISO 8601 and RFC 2822, and as relative time like 3 hours ago. Type a date instead and you get the matching timestamp in all four units, each one a click away from your clipboard.

A live clock at the top always shows the current Unix timestamp, and a timezone list renders the converted moment in up to four places around the world at once. There is also a server time check that compares your device's clock against this site's server, useful when a token or cache expiry seems off by a suspicious amount.

What you can do

  • Convert a Unix timestamp to a readable date in local time, UTC or any timezone.
  • Convert seconds, milliseconds, microseconds and nanoseconds, detected automatically from the number of digits.
  • Turn a date into a Unix timestamp, typed as ISO 8601 or RFC 2822 or picked with date and time fields.
  • Copy the current Unix timestamp in seconds or milliseconds.
  • Compare one moment across several timezones side by side.
  • Decode negative timestamps for dates before 1970.
  • See the day of week, day of year and ISO week of a timestamp.
  • Check how far your device's clock drifts from the server.

How to use the Unix Timestamp Converter

  1. 1Paste a timestamp, or press Now to load the current one.
  2. 2Check the detected unit, and override it with the unit picker if the guess is wrong.
  3. 3Read the converted date rows, and copy the format you need.
  4. 4For the reverse direction, type a date or pick one with the fields, choose a timezone, and copy the timestamp in the unit you want.

How the unit detection works

A Unix timestamp counts time since January 1, 1970 UTC, but different systems count in different units. The same moment in late 2023 is 1700000000 in seconds, 1700000000000 in milliseconds and 1700000000000000000 in nanoseconds. The tool guesses from the number of digits: up to 11 digits reads as seconds, 12 to 14 as milliseconds, 15 to 17 as microseconds and anything longer as nanoseconds. That covers every plausible modern value, and the picker under the input lets you force a unit when you know better.

Nanosecond timestamps are longer than JavaScript numbers can hold exactly, so the math runs on exact integers throughout. Fractions work too: 1700000000.25 seconds converts down to the nanosecond.

Dates without a timezone are ambiguous

A string like 2024-02-29 13:45 names a wall clock reading, not a moment: it happens at a different instant in Berlin than in New York. When your input carries no offset, the tool interprets it in the timezone you picked and says so under the input. An explicit offset like +02:00 or a trailing Z always wins. The word now also works as an input.

Daylight saving time creates two odd cases the tool calls out: a wall time that never happens when clocks jump forward, and one that happens twice when they fall back.

About the server time check

The server clock comes from the HTTP Date header of a quick request to this site. That header only carries whole seconds and the network adds travel time, so the comparison is accurate to about a second at best. It is still enough to spot a device clock that is minutes off, a common cause of failing TOTP codes and expired-token errors.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Convert a color between HEX, RGB, HSL, HSV, HWB, CMYK, OKLCH and OKLAB. Type into any field and the others update as you go, or pick the color visually. Reads CSS color syntax and keeps alpha where the format supports it.

Convert config and data between JSON, YAML, TOML, JSON5, INI, XML, CSV and .env. Type or paste on the left, pick the output format on the right, and copy the result. Includes a format button and a minify toggle.

Convert between px, rem, em, percent, pt and viewport units with a configurable root font size. Type into any field and the others update as you go, set the parent font size for em math, and read a conversion table for common sizes.

Escape text into HTML entities or decode entities back to plain text. Choose named or numeric entities, escape only the unsafe characters or everything outside ASCII, and read the result live.

Convert images into data URIs you can paste straight into CSS or HTML. Shows the encoded size next to the original, wraps the result as a CSS background or img tag if you want, and handles whole batches at once. Also decodes a pasted data URI back into a file.