Unix Timestamp Converter in your browser

Convert a Unix (epoch) timestamp to a date and time, or a date and time back to a timestamp, right in your browser, and nothing you type is uploaded. It reads seconds, milliseconds, microseconds and nanoseconds, and shows the time in UTC and in any time zone.

  • Nothing uploaded
  • Seconds to nanoseconds
  • Any time zone
  • Free, no sign-up

Unix timestamp to date

Now on this device: 0 seconds, 0 milliseconds.

Type a Unix timestamp to see the date and time.

Date and time to Unix timestamp

Enter a date to see its Unix timestamp.

Getting ready…

Quick facts from our tests

Check it yourself: once the page has loaded, turn off Wi-Fi and mobile data, and the Unix Timestamp Converter still works. Your browser's network panel (F12 on a computer) shows what you type is never sent. Google's ad code loads here too; our code never gives it what you type. How we prove it

How to convert a Unix timestamp

  1. Choose the time zone

    Your own, UTC, a zone from the list or any zone name. It is used for the answers and for the date and time you type.

  2. Type a timestamp or a date

    A timestamp in seconds, milliseconds, microseconds or nanoseconds, or a date and time. The answer follows as you type.

  3. Read and copy

    See the time in UTC and on the zone's clocks, the timestamp in every unit, and how it was worked out. Copy the result.

When this tool isn't the right fit

  • You need a date before 1900. The tool covers 1 January 1900 to 31 December 9999. Before 1900 clocks followed local mean time, which it does not model.
  • You need leap seconds counted. Unix time does not count leap seconds, so a day is always 86,400 seconds here, as in a Unix timestamp.
  • You have a date written as text, like 14/11/2023 22:13. The tool reads a timestamp, or the boxes for a date and time. Type the day, month, year and time in the boxes.
  • You need a time far in the future in a zone whose clock rules may change. The page uses the time zone rules of your browser. They change from time to time, so such a time can come out differently later. Check it again nearer the date.

Why convert timestamps here

More free tools

Private like this one: your files stay on your device.

Unix Timestamp Converter: the complete guide

What a Unix timestamp is, the four units, time zones and daylight saving, the year 2038, real results, privacy and tips.

In this guide
  1. What it does
  2. Step by step
  3. What it does exactly
  4. Real results
  5. The four units
  6. Time zones
  7. 2038 and the limits
  8. Privacy
  9. Tips
  10. Limits
  11. Terms explained

What a Unix timestamp is, and when you need to convert one

A Unix timestamp, also called epoch time, is a moment written as one number: the count of seconds since 00:00:00 UTC on 1 January 1970. Computers like it because it is the same everywhere in the world and easy to compare or subtract. 1700000000, for example, is Tuesday, 14 November 2023, 22:13:20 UTC, which on Indian clocks was 03:43:20 the next morning.

This converter works both ways. Type a timestamp and it shows the date and time in UTC and on the clocks of the time zone you choose, how long ago that was, and the same moment in every unit. Or type a date and a time and it gives the timestamp. It also shows the current time as a timestamp, ticking every second. It all happens in your browser: nothing you type is uploaded or kept.

Where it helps:

  • Reading logs and API replies that say "created": 1700000000 instead of a date.
  • Database columns in milliseconds, such as 1700000000000 from a JavaScript or Java app.
  • Token dates. The exp and iat of a JWT are Unix timestamps in seconds.
  • Scheduling and testing: the exact timestamp of a deadline, an offer's end or a test case, on Indian clocks or any other zone's.

Step by step: converting a timestamp

  1. Choose the time zone first. This device's zone is chosen to begin with; you can pick UTC, one of 20 common zones, or type any zone name.
  2. Add a timestamp. Type or paste it, press Try an example (1700000000), or press Use the current time.
  3. Leave the unit on Auto, or choose seconds, milliseconds, microseconds or nanoseconds when you know it.
  4. Read the answer. It gives UTC in ISO 8601 (2023-11-14T22:13:20Z), UTC in words, the time on your zone's clocks, how long ago that was on this device's clock, how the number was read, and the moment in all four units. How this was worked out shows the steps.
  5. Going the other way? In the second half, type the day, month, year, hour, minute and second. An empty clock box counts as 0, and Use the current time fills in your zone's clocks now.
  6. Copy result takes the timestamp, the UTC time and your zone's time in one block, ready for a ticket or a note.

Above the tool, a line shows “Now on this device” in seconds and milliseconds, with a Copy button for each.

What the page does, exactly

These are the page's rules in full, and the same rules are checked by our tests.

PartThe ruleExample
A Unix timestampThe time since 00:00:00 UTC on 1 January 1970, counted in seconds, milliseconds, microseconds or nanoseconds. Leap seconds are not counted, so a day is always 86,400 seconds. A time before 1970 has a minus sign0 is 1 January 1970; -1 is one second before
The unitAuto reads a number by its size: below 100,000,000,000 it is seconds, from there to below 100,000,000,000,000 milliseconds, from there to below 100,000,000,000,000,000 microseconds, and above that nanoseconds. You can also choose the unit. A number may have digits after the point: up to 9 in seconds, 6 in milliseconds, 3 in microseconds and none in nanoseconds, so every nanosecond can be written in every unit1700000000 and 1700000000000 are the same instant
What you can typeDigits (also those of Hindi, Tamil and other scripts), a plus or minus sign at the start, a point, and commas or spaces between groups of three digits. A number with e in it (1.7e9) is not read: write it in full. The numbers are kept exactly, however long, with no rounding1,700,000,000.5
The years coveredFrom 1 January 1900 to 31 December 9999. A timestamp outside them gets a message, not a guess253402300799 is 31 December 9999, 23:59:59
UTCThe day and the clock in UTC are worked out with whole numbers on the Gregorian calendar, not with the browser's Date, so they are the same on every device. The weekday follows. The ISO 8601 form ends in Z and has a fraction of 3, 6 or 9 digits only when the instant has one2023-11-14T22:13:20Z, a Tuesday
A time zoneThe time on a zone's clocks is the UTC time plus the zone's offset at that moment, which the browser's own time zone rules (Intl) give: the offset is shown as UTC+05:30. You can use this device's zone, UTC, a zone from the list or any name the browser knows, such as Asia/Kolkata. The zone is shown by its name in use today03:43:20 UTC+05:30 (Asia/Kolkata)
Date and time to timestampThe date is a day from 1 to 31, a month and a year from 1900 to 9999; the hour is from 0 to 23, the minute and the second from 0 to 59, and a box left empty counts as 0. The time is read on the clocks of the zone you chose, and the offset of that zone then is taken off to give the instant15 November 2023, 03:43:20 in India is 1700000000
A time that never happenedWhen a zone's clocks go forward, the hour they skip never happens. A time in it is read with the offset from before the change, which puts it just after the gap, and the page says so02:30 on 8 March 2026 in New York is read as 03:30
A time that happened twiceWhen the clocks go back, an hour happens twice. The page uses the first of the two and shows the second as well01:30 on 1 November 2026 in New York happened at 05:30 UTC and again at 06:30 UTC
How long agoThe distance from this device's clock, in the largest unit that fits (seconds, minutes, hours, days, months or years), always "about", and refreshed every 15 seconds3 days ago
The current timeThe line under the box shows this device's clock as a Unix timestamp in seconds and in milliseconds, each second, with a button to copy eitherThe clock of a device can be wrong; the page cannot tell

What the rules don't decide: a timestamp doesn't say which zone it was written in, because it is the same instant everywhere; only its written form changes from zone to zone. The page reads time zones with the rules your browser knows, which are the world's rules as of that browser's version. Countries change their rules from time to time, so a future time in a zone whose rules later change could be written differently then. The page also doesn't know about leap seconds, and neither does Unix time itself.

Real results from our tests

We tested the Unix Timestamp Converter with headless Chromium 148, the open-source browser Chrome is built on, on a Windows laptop with an Intel Core i7-1185G7 and 32 GB of memory, on 13 October 2026. Other work was running on the laptop at the same time, so times vary a little from run to run: each time below is the middle one of 3 runs.

The answers are in place at once. The page drew the answer to a typed timestamp in 0.39 millisecond (the middle of 3 runs of 200 timestamps typed in a row) and the answer to a date and time in 0.29 millisecond, not counting the moment the browser takes to paint the screen. The page's code read and described 100,000 timestamps in UTC in 868 milliseconds.

Checked against a second program. Python's integers, datetime and zoneinfo, none of the page's code, worked out 21,000 results, and the page's code gave the same every time. There were 7,000 timestamps in seconds, milliseconds, microseconds and nanoseconds, with fractions, between 1900 and 9999, with their day, clock, weekday and ISO 8601 text and the exact number in every unit; 7,000 instants written on the clocks of a time zone; and 7,000 times typed on a zone's clocks and turned into an instant, 1,482 of them times that never happened and 1,364 times that happened twice when the clocks changed, which is where such a tool most often goes wrong. The zones were UTC and 17 others: India, Nepal, Japan, the United Kingdom, Germany, the United States, Brazil, Australia, New Zealand and more, with Lord Howe, where the clocks change by half an hour, and Chatham, whose clocks are 12 hours 45 minutes ahead. The page's code ran in Node 24 and Python was 3.14, each with its own copy of the time zone database, and they agreed. 20,000 more instants were written on a zone's clocks and read back, and every one came back.

Size and offline. On a first visit the page downloads about 0.1 MB for the tool: the page, its styles, its script and the fonts, with Google's ad code not counted. In our test we switched the network off after the page had loaded and pressed Try an example and typed a date and time: the answers showed 0.3 seconds later or less in each of 15 runs, and 0.1 seconds later in 8 of them.

Phone-sized screen. We also ran every test on a phone-sized screen in Chromium (390 × 844 pixels, with touch). That is not a real phone. Every button and box was 44 pixels high or more, and the page did not scroll sideways.

Try it yourself: press "Try an example" at the top of this page. It puts 1700000000 in the box and the answer shows 2023-11-14T22:13:20Z, a Tuesday, and on the clocks of India (choose them in the time zone list) Wednesday, 15 November 2023, 03:43:20 UTC+05:30. Then type 15 November 2023 and 3, 43, 20 in the boxes for a date and time, in India: the answer is 1700000000 again.

Try the example

Seconds, milliseconds, microseconds or nanoseconds: how Auto decides

The same moment can be counted in four units:

  • Seconds: what Unix tools, most APIs and JWTs use. 1700000000.
  • Milliseconds, thousandths of a second: JavaScript, Java and many databases. 1700000000000.
  • Microseconds, millionths: some databases and logs.
  • Nanoseconds, billionths: Python's time_ns, Go and some high-precision logs.

Auto guesses the unit from the size of the number: below 100,000,000,000 it reads seconds, below 100,000,000,000,000 milliseconds, below 100,000,000,000,000,000 microseconds, and above that nanoseconds. That works for every date from 3 March 1973 to the year 5138, which covers almost every timestamp people meet. Its blind spot is a small number meant in milliseconds: 1700000000 read as milliseconds is only 20 January 1970, but Auto reads it as seconds. When you know the unit, choose it, and the line Read as shows what was used.

Fractions are kept exactly: up to 9 digits after the point in seconds, 6 in milliseconds and 3 in microseconds, so 1700000000.123456789 is read to the nanosecond.

The Unix Timestamp Converter after turning the date and time 15 November 2023 at 03:43:20 on India's clocks into a Unix timestamp: the answer shows 1700000000 seconds, the same in milliseconds, and the time in UTC and in India
The Unix Timestamp Converter after converting our example date and time.

Time zones, India Standard Time and daylight saving

A timestamp is one instant, the same everywhere; the zone only changes how it is written. India has one offset all year, UTC+05:30, with no daylight saving, so 1700000000 is 22:13:20 on 14 November in UTC and 03:43:20 on 15 November in India: Wednesday, 15 November 2023, 03:43:20 UTC+05:30 (Asia/Kolkata). The page calls India's zone Asia/Kolkata, today's name, even when the browser reports the older Asia/Calcutta.

Zones with daylight saving have two offsets a year, and the changes create two odd cases when you type a date and time:

  • A time that never happened. When clocks jump forward, an hour is skipped: 02:30 on 8 March 2026 in New York didn't exist. The page reads it with the clocks as they were before the change, so it lands just after the gap, and says so: “This time never happened in America/New_York: the clocks went forward at that moment.”
  • A time that happened twice. When clocks go back, an hour repeats. The page uses the first of the two, says so, and also gives the second one.

These are the same rules Python's time zone library uses, and our tests checked 1,482 times that never happened and 1,364 that happened twice against it.

The year 2038, negative timestamps and the limits of the tool

The year 2038 problem. Many older systems keep a timestamp in a signed 32-bit number, whose largest value is 2147483647: Tuesday, 19 January 2038, 03:14:07 UTC. One second later such a counter wraps around to a negative number, a date in December 1901. This tool uses exact whole numbers that never wrap, so 2147483648 is simply 19 January 2038, 03:14:08 UTC, and you can use it to test how your own systems handle the change.

Before 1970. Earlier moments are negative: -1 is Wednesday, 31 December 1969, 23:59:59 UTC. The tool covers 1 January 1900 to 31 December 9999; outside that it says “That is outside the years 1900 to 9999, which this tool covers.”, because before 1900 most places kept local solar time and their clocks don't map cleanly to zones.

Leap seconds. Unix time treats every day as exactly 86,400 seconds and ignores the leap seconds sometimes added to UTC, and so does this tool.

Private: what you type stays on your device

Your timestamps and dates never leave your device. The tool runs inside your browser and has no upload step: it never sends the timestamps and dates you type or paste anywhere, and it does not save them, so closing the page forgets them. The page's Content Security Policy lets it contact only this site and Google's ad service, which pays for the site; our code never gives your timestamps and dates to the ad code. You can check it yourself in your browser's network panel (F12 on a computer): converting adds no request that carries your timestamps and dates.

What gets pasted here often comes from work: log lines, API replies, the dates inside a token, a deadline from a contract. A converter that works on a server receives whatever you type; here your browser does the arithmetic, and nothing is kept once you close the page. It works offline too once the page has loaded: in our test we switched the network off, pressed Try an example and typed a date and time, and the answers showed 0.3 seconds later or less in each of 15 runs. Read our privacy policy and how we prove your files are never uploaded.

The Unix Timestamp Converter after turning the date and time 15 November 2023 at 03:43:20 on India's clocks into a Unix timestamp: the answer shows 1700000000 seconds, the same in milliseconds, and the time in UTC and in India, at a phone's size with the internet switched off by our test, between our test's bands that read "Internet switched off" and "Nothing uploaded: 0 requests sent data"
Proof from our testOn 9 November 2026, our test opened Unix Timestamp Converter at a phone's size, switched the internet off and ran it on its built-in example. It finished with no connection, and none of the page's 17 requests sent any data.How we test, and how to check it yourself

Tips

  • A date in 1970? The number was probably in milliseconds or smaller units but read as seconds. Choose the unit.
  • A date tens of thousands of years away? Then it was seconds read as something smaller. Choose seconds.
  • Paste it as it is. Commas between groups of three digits, as in 1,700,000,000, are read, and so are Devanagari or Tamil digits.
  • Write numbers in full. 1.7e9 gets a gentle reminder to type 1700000000 instead.
  • Check the zone before you read the clock time. The timestamp is the same everywhere; the clock time is not.
  • Reading a token? Its exp and iat are seconds, and the JWT Decoder shows them as dates for you.
  • Need an age or a gap in days? The Age Calculator counts years, months and days between dates.

Limits

  • The years 1900 to 9999. A timestamp outside them gets a message. Before 1900 clocks followed local mean time, which this tool does not model.
  • The zone rules of your browser. The page uses the time zone rules that your browser has. They change from time to time, so a time far in the future in a zone whose rules may change can come out differently later.
  • No leap seconds. Unix time does not count them, so a day is always 86,400 seconds, and so does this page.
  • Boxes, not text. It reads a timestamp or the boxes for a date and time. It does not read a date written as text, like 14/11/2023 22:13.
  • Your device's clock. The current time and the 'how long ago' line come from the clock of this device, which can be wrong.
  • Not saved. What you typed and the answers are forgotten when you close the page.
  • Browsers. We tested only in Chromium, the engine behind Chrome and Edge, with computer and phone-sized screens. We did not test on real phones, in Safari or in Firefox, so we cannot promise how they behave.

Terms explained

Unix timestamp
The number of seconds since 00:00:00 UTC on 1 January 1970, also called epoch time or POSIX time.
Epoch
The starting moment of the count: 1 January 1970 at 00:00:00 UTC.
UTC
Coordinated Universal Time, the world's reference time, which has no daylight saving.
ISO 8601
The international way of writing a date and time, like 2023-11-14T22:13:20Z, where Z means UTC.
Time zone and offset
A zone is a place with its own clock rules, like Asia/Kolkata; its offset is how far its clocks are from UTC, like +05:30.
Daylight saving time
Moving the clocks forward in summer, which makes one hour that never happens in spring and one that happens twice in autumn.
Millisecond, microsecond, nanosecond
A thousandth, a millionth and a billionth of a second.

Frequently asked questions

Is the Unix Timestamp Converter free?

Yes. There is no sign-up, no watermark and no limit on how often you use it. Ads from Google help pay for the site, and they are kept apart from the tool.

Is what I type uploaded anywhere?

No. The tool has no upload step: it never sends what you type anywhere, and it doesn't save it. Google's ad code loads on the page, and our code never gives it what you type. You can check in your browser's network panel (F12 on a computer).

What is a Unix timestamp?

The number of seconds since 00:00:00 UTC on 1 January 1970, also called epoch time. Computers use it because it is the same everywhere and easy to compare. Moments before 1970 are negative.

How do I convert a Unix timestamp to a date?

Type or paste it in the first box. The answer shows the date and time in UTC and on your chosen zone's clocks; 1700000000 is Tuesday, 14 November 2023, 22:13:20 UTC. Try an example shows how it looks.

How do I convert a date to a Unix timestamp?

In the second half, type the day, month, year, hour, minute and second, and choose the zone the time is on. The timestamp follows as you type, and an empty clock box counts as 0.

How does Auto know if a number is seconds or milliseconds?

By its size: below 100,000,000,000 it reads seconds, below 100,000,000,000,000 milliseconds, then microseconds, then nanoseconds. That is right for dates from 1973 to 5138. A small number meant in milliseconds is read as seconds, so choose the unit when you know it.

Why does my timestamp show a date in 1970?

The number was probably in milliseconds, microseconds or nanoseconds but was read as seconds, or a small millisecond value was read as seconds. Choose the right unit and the date follows.

What time zone does it use?

This device's zone to begin with. You can choose UTC, one of 20 common zones, or type any zone name, such as America/Chicago. The zone is used both for the answers and for the date you type.

Why is India's time 5 hours 30 minutes ahead of UTC?

India keeps one time, Indian Standard Time, which is UTC+05:30 all year with no daylight saving. So 1700000000, 22:13:20 UTC, was 03:43:20 the next morning in India. Its zone name is Asia/Kolkata.

What happens at daylight saving changes?

A time that never happened, when clocks jumped forward, is read just after the gap; a time that happened twice, when clocks went back, is read as the first of the two, and the second is shown too. The page says so in both cases.

Can it handle negative timestamps and dates before 1970?

Yes, back to 1 January 1900. Type a minus sign: -1 is Wednesday, 31 December 1969, 23:59:59 UTC.

What is the year 2038 problem?

A signed 32-bit count of seconds ends at 2147483647, which is 19 January 2038, 03:14:07 UTC, and wraps to 1901 a second later on older systems. This tool doesn't wrap: 2147483648 is 19 January 2038, 03:14:08 UTC.

Does it count leap seconds?

No. Unix time doesn't either: every day counts as exactly 86,400 seconds.

Does it work offline?

Yes, once the page has loaded. In our test we switched the network off, pressed Try an example and typed a date and time, and the answers showed 0.3 seconds later or less in each of 15 runs.

Does it save or remember what I type?

No. The tool doesn't save it, so closing or reloading the page forgets it.

By the PDFGuild team · Updated · How we test