Skip to content
  • Image CompressorImage Tools · Make photos and graphics smaller by re-encoding them as JPG or WebP, with a quality slider and optional downscaling.
  • Image ResizerImage Tools · Change the width and height of an image in pixels or by percentage, with high-quality downscaling.
  • Image ConverterImage Tools · Change the format of one or many images to JPG, PNG or WebP, with control over quality and transparency.
  • Image CropperImage Tools · Cut out part of an image with a draggable selection, aspect ratio presets and exact pixel inputs.
  • Rotate & Flip ImageImage Tools · Turn a picture by 90° or 180° and mirror it horizontally or vertically, with a live preview.
  • Merge PDFPDF Tools · Combine several PDF files into one document, in the order you choose, with optional page ranges per file.
  • Split PDFPDF Tools · Extract pages into a new PDF or split a document into several files by page, range or fixed page count.
  • Reorder PDF PagesPDF Tools · Change the page order of a PDF with drag and drop, delete unwanted pages and save the result.
  • Rotate PDFPDF Tools · Turn individual pages or the whole document by 90° steps, preview the result and save the corrected PDF.
  • Images to PDFPDF Tools · Combine photos and scans into a single PDF, one image per page, with page size, orientation and margin options.
  • PDF to JPG / PNGPDF Tools · Turn PDF pages into JPG or PNG images at the resolution you need and download them as one image or a ZIP.
  • Sign PDFPDF Tools · Create a signature by drawing, typing or uploading it, place it on the pages of a PDF and save the signed file.

Unix Timestamp Converter

Turn Unix epoch timestamps into readable dates and convert dates back to timestamps.

Runs locally in your browser – your data is not uploaded

Loading tool…

About the Unix Timestamp Converter

A Unix timestamp (also called epoch time or POSIX time) counts the seconds since 1 January 1970 00:00:00 UTC. It is how most databases, log files, APIs and programming languages store moments in time, but it is hard to read: 1700000000 is 14 November 2023, 22:13:20 UTC.

This converter shows a timestamp as a readable date in UTC and in your own time zone, works out how long ago or how far ahead it is, and converts a date and time back into a timestamp. It recognises seconds, milliseconds, microseconds and nanoseconds automatically. All calculations run in your browser.

How to use it

  1. The current Unix time is shown at the top in seconds and milliseconds; use Copy to grab either value.
  2. To read a timestamp, paste it into "Timestamp". The unit is detected from the number of digits; choose it under "Unit" if the guess is wrong.
  3. Read the result in UTC, in your time zone, as ISO 8601 and relative to now.
  4. To create a timestamp, pick a date and time under "Date to timestamp" and choose whether that time is your local time or UTC.
  5. Copy the seconds, milliseconds or ISO 8601 value you need.

Features

  • Automatic unit detection: Seconds, milliseconds, microseconds and nanoseconds are recognised by their length, with a manual override.
  • UTC and local time side by side: See the same moment in UTC and in the time zone your device is set to, including the zone name.
  • Relative time: Know at a glance whether a token expiry or log entry is "in 3 hours" or "2 days ago".
  • Both directions: Convert timestamps to dates and dates to timestamps in seconds, milliseconds and ISO 8601.
  • Dates before 1970: Negative timestamps for dates before the epoch are supported.

Examples

Reading a log entry

A log line contains 1793093400. Paste it to see Tue, 27 Oct 2026 09:30:00 UTC and the same moment in your local time.

JavaScript milliseconds

Date.now() returns 13 digits, such as 1793093400000. The converter detects milliseconds and shows the same date as above.

Setting an expiry time

An API needs an expiry date as a Unix timestamp. Pick the date and time, choose UTC, and copy the value in seconds.

Limitations and notes

  • Only UTC and the time zone of your device are shown; other time zones cannot be selected.
  • Unit detection is based on the number of digits. Millisecond values for dates before March 1973 are short enough to look like seconds – choose Milliseconds under Unit in that case.
  • Microsecond and nanosecond values are shown to the millisecond; smaller parts are dropped.
  • Browsers can only display dates within about 273,000 years of 1970 (±8.64e15 milliseconds).
  • Leap seconds are not counted, exactly as in Unix time itself.

Frequently asked questions

What is the Unix epoch?

It is the reference point 1 January 1970 00:00:00 UTC. A Unix timestamp is the number of seconds (or milliseconds) since that moment.

How do I know if a timestamp is in seconds or milliseconds?

Current timestamps in seconds have 10 digits and in milliseconds 13 digits. Microseconds have 16 and nanoseconds 19 digits. The converter uses this to pick the unit automatically.

Does a Unix timestamp depend on the time zone?

No. A timestamp is the same everywhere; only the way it is displayed as a local date and time changes with the time zone.

What happens in 2038?

Systems that store Unix time as a signed 32-bit number overflow on 19 January 2038 at 03:14:07 UTC. This converter uses arbitrary-size integers, so later dates work fine.

More free tools