Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Converters & Encoders
  3. Unix Timestamp Converter
Add to favorites

Unix Timestamp Converter

Convert Unix timestamps to dates and dates to timestamps in any time zone, with seconds, milliseconds, microseconds and nanoseconds detected automatically.

Runs locally in your browserMore converters & encodersJump to full guide
Related readingWorking with Time Zones: A Developer's Guide to Dates and Times12 minUnix Timestamps Explained: Working with Epoch Time7 min

Initializing in your browser…

You might also like

Timezone Converter

Convert a time between any two cities or time zones, with daylight saving handled correctly, plus a live world clock and a meeting planner.

Unit Converter

Convert length, weight, temperature, volume, data and 13 more categories as you type, with the exact factor and definition behind every result.

Color Converter

Convert colours between HEX, RGB, HSL, OKLCH, Lab and five more formats, check WCAG contrast, and preview colour-blind vision.

An example conversion

A webhook payload says "created": 1718900000123, and a colleague in Berlin wants to know when that was on their clock.

Unix timestamp, zone Europe/Berlin

1718900000123
What Unix Timestamp Converter produces

Result

Read as milliseconds
Europe/Berlin  2024-06-20 18:13:20, Thursday, UTC+02:00 CEST
ISO 8601       2024-06-20T18:13:20.123+02:00
ISO 8601 UTC   2024-06-20T16:13:20.123Z
HTTP date      Thu, 20 Jun 2024 16:13:20 GMT
Seconds        1718900000

Thirteen digits is far too large to be seconds: read that way, the value would land in the year 56439. As milliseconds it falls on 20 June 2024, the only reading between 1990 and 2100, so that is the one chosen. Berlin was on Central European Summer Time that day, two hours ahead of UTC, which turns 16:13:20 UTC into 18:13:20 local time. The HTTP date drops the .123 because that format carries whole seconds only, and the seconds value is the same instant rounded down.

What this converter does

Turn a Unix timestamp into a readable date in any time zone, or a date and time into a timestamp. Seconds, milliseconds, microseconds and nanoseconds are all understood, decimal seconds included, and every result can be copied as ISO 8601, an HTTP date, seconds or milliseconds with one click.

How it works

Unix time counts the seconds since 00:00:00 UTC on 1 January 1970. Because it is anchored to UTC, the same number means the same moment everywhere; the time zone only decides how that moment is written on a local clock. The timestamp 1700000000, for example, is 22:13:20 UTC on 14 November 2023, which was 14:13:20 in Los Angeles and 07:13:20 the next morning in Tokyo.

Nothing in the number says which unit it uses. Classic Unix tools and most databases count seconds, JavaScript and Java count milliseconds, and tracing tools and Go often use microseconds or nanoseconds. Counting digits is the usual shortcut, and it fails at the edges. This converter looks at the size of the number instead and picks the reading that gives a date between 1990 and 2100, then 1900 to 2200 if none does, so 500000000000 is read as milliseconds in November 1985 rather than as seconds in the year 17814. The result says which unit was chosen, More details lists what the number would mean in the other three, and the unit buttons override the guess whenever you know better. Decimal seconds such as 1704067200.5, the shape Python's time.time() prints, work too.

Offsets and abbreviations come from the time zone database built into your browser, for the exact moment being converted, so historical changes are respected: Moscow was UTC+4 in July 2010 and UTC+3 in July 2016, and New York shows EST in January and EDT in July. Going from a date to a timestamp, daylight saving gets special care. A time inside the spring-forward gap, such as 02:30 on 8 March 2026 in New York, never happens; the tool says so and uses 03:30, where the clock lands. A time in the autumn overlap, such as 01:30 on 1 November 2026, happens twice, and both timestamps are shown.

A few limits are worth knowing. A signed 32-bit time_t ends at 2147483647, which is 03:14:07 UTC on 19 January 2038, and the tool warns when a value is past it or before its negative limit in December 1901. Negative timestamps for dates before 1970 convert normally, with a reminder that some software rejects them. JavaScript dates reach about 275,760 years either side of 1970, and anything further out is refused with an explanation rather than shown as an invalid date. Microsecond and nanosecond input keeps every digit in its readouts instead of being rounded to the millisecond.

The date side also reads a date pasted as text. ISO 8601 with Z or an offset is exact; an ISO date and time without an offset is read as a wall clock in the selected zone; a bare date means midnight UTC, as the JavaScript standard specifies; and RFC 2822 dates with a zone such as GMT or EST are read as written. Other shapes, like 03/04/2024, are refused rather than guessed, because browsers disagree about what they mean.

How to use

  1. 1Paste a timestamp into the box, or tap Now, Y2K or another example. The date appears as you type.
  2. 2Check the time zone. It starts on your device's zone; search for any city or zone name, or tap UTC.
  3. 3Copy the format you need: ISO 8601 with the zone's offset, ISO 8601 in UTC, the HTTP date, seconds or milliseconds.
  4. 4If the unit guess is wrong, pick s, ms, µs or ns above the box.
  5. 5To go the other way, switch to To timestamp, choose a date and a time (or tap Now), and copy the Unix timestamp. You can also paste a date written as text.

Key features

  • Converts as you type, in both directions
  • Seconds, milliseconds, microseconds and nanoseconds, detected from the size of the number, plus decimal seconds
  • Any IANA time zone, with its offset, abbreviation and daylight saving status at that moment
  • One-click copy of ISO 8601 (local and UTC), HTTP date, relative time, seconds and milliseconds
  • Daylight saving gaps and overlaps explained, with both timestamps when a local time happens twice
  • Warnings for the 2038 limit of 32-bit systems and for dates before 1970
  • Weekday, day of year, ISO week number and quarter
  • A live clock showing the current Unix time
  • ISO 8601 and RFC 2822 dates read from pasted text without guessing
  • Runs in your browser, and a share link reproduces the conversion

Tips & best practices

  • Store and exchange times as UTC or Unix time, and convert to a local zone only when showing them to people.
  • In JavaScript, Date.now() returns milliseconds; Math.floor(Date.now() / 1000) gives the seconds most APIs expect.
  • For logs and file names, copy the ISO 8601 UTC form: it sorts correctly as text and nobody has to guess the zone.
  • A ten-digit timestamp covers every date from September 2001 to November 2286 in seconds, so a value with any other length deserves a second look at its unit.

Where this fits

  • Reading timestamps in logs

    Paste an epoch value from a server log or a database row and read it in the zone your team works in rather than doing the UTC arithmetic in your head.

  • Checking an API field

    An endpoint returns 1718900000123 and the documentation does not say which unit it is. The tool reads it as milliseconds on 20 June 2024 and shows that as seconds it would be tens of thousands of years away.

  • Scheduling a job

    Turn 09:00 on a given day in Chicago into the exact epoch seconds a cron service or a database column needs, with daylight saving taken into account.

  • Testing the 2038 boundary

    Enter dates after January 2038 to see which values no longer fit a signed 32-bit field, a common check for embedded systems and old database schemas.

Frequently asked questions

What is a Unix timestamp?

The number of seconds that have passed since 00:00:00 UTC on 1 January 1970, also called epoch time. It is the same everywhere in the world at a given moment, which makes it a convenient way for computers to store and exchange times.

How does the tool know whether my number is in seconds or milliseconds?

It tries all four units and picks the one that gives a date between 1990 and 2100, widening to 1900 to 2200 if none does. A ten-digit number today is seconds and a thirteen-digit one is milliseconds, but the size check also handles older and newer dates where digit counting breaks down. You can always choose the unit yourself.

Why is my date a day off?

Almost always a time zone. Midnight UTC is still the previous evening in the Americas, so a timestamp for 1 January 00:00 UTC shows as 31 December there. Set the zone to UTC to see the instant as stored, or to the zone of the people reading it.

What happens to a time that falls in a daylight saving change?

When clocks spring forward, the skipped hour does not exist, so the tool tells you and uses the time the clock jumps to. When clocks fall back, an hour happens twice, and the tool shows both timestamps so you can pick the one you mean.

What is the year 2038 problem?

Systems that store Unix time in a signed 32-bit integer can only count to 2147483647, which is 03:14:07 UTC on 19 January 2038. One second later the value wraps to a negative number and reads as December 1901. The tool flags any timestamp past that limit.

Does Unix time include leap seconds?

No. Unix time treats every day as exactly 86,400 seconds, so a timestamp converts cleanly to a UTC clock reading, but the difference between two timestamps ignores any leap seconds inserted in between.

Can I convert dates before 1970?

Yes. Earlier dates have negative timestamps, so -2208988800 is 1 January 1900. They are converted normally, with a note that some programs and databases do not accept negative values.

Related tools and how they differ

  • Timezone Converter: Use it to convert a local time from one city to another or to plan a meeting across several zones, rather than to read epoch numbers.

Further reading

  • Working with Time Zones: A Developer's Guide to Dates and Times12 min read
  • Unix Timestamps Explained: Working with Epoch Time7 min read

Private by design

Conversions run on your device in JavaScript. The values you enter are never sent over the network.