Lukis' Space

← Tools

Timestamp converter

Unix time to a calendar date and back, in every format at once. Live clock included.

Runs entirely in your browser. Nothing you enter here is sent to the server.

Now

Unix seconds
—
Local time
—

Ticking. It pauses while you are typing in a field below.

Convert

Seconds, milliseconds or microseconds — detected from the size.

ISO 8601, YYYY-MM-DD HH:MM:SS, or anything your browser understands.

The same moment, every way

Unix seconds
—
Unix milliseconds
—
ISO 8601 (UTC)
—
ISO 8601 (local)
—
RFC 2822 / HTTP
—
SQL datetime (UTC)
—
Local, spelled out
—
Relative
—
Weekday
—
Day of year
—
ISO week
—
Your timezone
—
What Unix time actually counts

Unix time is the number of seconds since 1 January 1970, 00:00:00 UTC. It has no timezone: the same instant is the same number everywhere on Earth. Everything on this page is that one number, formatted differently.

Seconds, milliseconds, microseconds

Different systems count in different units and none of them label it. The unit is guessed from the magnitude: today's time in seconds is ten digits, in milliseconds thirteen, in microseconds sixteen. The guess is shown, so you can see when it is wrong. This is the single most common bug in date handling — a timestamp read in the wrong unit lands in 1970 or in the year 55000.

Timezones

The picker uses your computer's timezone unless you tick the UTC box. "ISO 8601 (local)" carries your offset, which is the format to store if a local wall-clock time matters. Plain UTC is what to store otherwise.

Leap seconds do not exist in Unix time — it repeats a second rather than counting it. Days before 1970 are negative and work fine here.

The clock pauses while a field has focus, so a value you are half-way through typing is not overwritten. That behaviour came from the old tool and it was worth keeping.

Other tools

  • Code scanner — Read QR codes and barcodes with your camera or from an image. Every format ZXing knows.
  • Code generator — Make a QR code, Data Matrix, Aztec, PDF417 or a linear barcode and download it.
  • Link inspector — See where a link really goes before you open or shorten it: the real host, lookalike letters, hidden redirects and tracking parameters.
  • Base converter — Encode and decode between text and Base2 through Base85, or convert integers between any two bases.
  • Hash generator — MD5, SHA family, CRC32 and MySQL5 over text or a file. The file is read in your browser.
  • JWT decoder — Read a JSON Web Token's header and claims, with every timestamp as a date. Decoded right here; the token is never sent or stored.
  • SSH key fingerprint — SHA256 and MD5 fingerprints, key type and size, and SSHFP records for a public key. Private keys are refused unread.
  • Password generator — Random passwords from a CSPRNG, with the character classes you pick.
  • TOTP generator — Turn a TOTP secret or otpauth:// link into the current code. The secret stays on your device.
  • Subnet calculator — IPv4 and IPv6: network, range, host count, masks and reverse-DNS pointers.
  • Image resizer — Resize and convert an image without it ever leaving your browser. Re-encoding drops EXIF and GPS.
  • IP info — Your public IPv4 and IPv6, as this server sees them.
  • PHP obfuscator — Wrap PHP so it self-decodes at runtime. Runs on the server; the code is never stored.