Unix Timestamp Converter

Convert Unix timestamps (seconds, milliseconds, microseconds or nanoseconds) to and from dates in any time zone, with exact precision and full DST handling -- all in your browser. Fast, free, and built for simple browser-based workflows.

Instant
Processing
Private
Browser First
Free
No Signup

Unix Timestamp Converter

Now

Seconds —
Milliseconds —

Timestamp to date

or Ctrl+Enter

Converted in this browser tab. Nothing you type is sent anywhere.

Date


Date to timestamp

Used instead of the picker above whenever it has text in it. Examples: 2024-01-15, 2024-01-15T10:00, 2024-01-15T10:00:00+05:30.
or Ctrl+Enter

A date-only value, or a time with no UTC offset, uses the time zone selected above.

Timestamp

Paste a timestamp above, pick a date below, or try the example.

Advertisement

728 x 90 In-Content Ad

About This Tool

Unix Timestamp Converter is a free online tool that converts a Unix timestamp into a calendar date, or a calendar date into a Unix timestamp, in whichever time zone you pick. It auto-detects the unit -- seconds, milliseconds, or finer -- from the number of digits, and shows the exact sub-millisecond remainder down to the nanosecond.

It earns its keep whenever a raw number needs a real date attached: reading a timestamp out of a server log or a JSON API response, scheduling something to land at the right wall-clock moment for someone in another time zone, or working out whether a login happened before or after a deploy. Developers also reach for it when a timestamp arrives in an unfamiliar unit -- a database storing milliseconds, a trace carrying nanoseconds -- and a plain seconds-based tool would round it into something wrong. It also helps with the two clock-change hours every year, when a plain date picker can't tell you which instant you actually meant.

Everything runs inside your browser: the timestamp or date you type never leaves your machine, and the time zone list comes from your browser's own built-in Intl API rather than a server call. That makes it safe to paste a timestamp pulled from an internal log or a client's private API response without it passing through a third party, and because nothing is fetched from a CDN, the page keeps working even with no internet connection once it has loaded.

Auto-detects seconds, milliseconds, or finer units from the number of digits, and shows the exact leftover down to the nanosecond
Offers every IANA time zone, not just UTC and your local one, so you can convert for a specific city anywhere
Flags daylight-saving edge cases -- a time that doesn't exist each spring, or one that happens twice each autumn -- and shows both real instants for an overlap
Reads free-typed ISO 8601 dates with its own parser instead of JavaScript's Date.parse, so a date-only value and a date-with-time value are never read in different time zones by accident
Shows the current time as a live, pausable clock in both seconds and milliseconds
Every result -- UTC time, local time, relative time, RFC 2822 date, ISO week, day of year -- gets its own one-click copy button

How to Use Unix Timestamp Converter

1

Enter a timestamp

Paste a number into the Timestamp field in the Timestamp to Date panel, or click Try an example. The tool reads it as seconds, milliseconds, microseconds, or nanoseconds automatically based on its length -- or you can set the Unit dropdown yourself.

2

Pick a time zone and convert

Choose a zone from the Time zone dropdown -- any IANA zone, not just UTC -- then click Convert to Date (or press Ctrl+Enter). The result lists the UTC and local time, a relative description, the RFC 2822 date, the day of week, and the ISO week number.

3

Enter a date or time

In the Date to Timestamp panel, pick a date and time with the built-in picker, or type an ISO 8601 value into the field below it, such as 2024-01-15 or 2024-01-15T10:00:00Z. A date or time with no offset uses the Time zone dropdown next to it.

4

Convert to a timestamp

Click Convert to Timestamp (or press Ctrl+Enter) to get the Unix timestamp in both seconds and milliseconds, plus the normalised UTC date. If the time you entered happens twice because of a daylight-saving change, both possible instants are shown.

Frequently Asked Questions

Is this tool completely free?

Yes! All our tools are 100% free to use with no hidden costs, no registration required, and no credit card needed.

Is my data safe and private?

Absolutely. All tools run entirely in your browser (client-side). Your data never leaves your device and is not sent to our servers.

Can I use this tool offline?

Yes, once the page is loaded, the tool will continue to work even if you lose internet connection since it runs in your browser.

Can I use this for commercial projects?

Yes! All our tools are free for both personal and commercial use.

What's the difference between a Unix timestamp in seconds and one in milliseconds?

A Unix timestamp counts time since January 1, 1970 UTC. In seconds it's a 10-digit number for dates up to 2286; the same instant in milliseconds has 13 digits, in microseconds 16, and in nanoseconds 19. This tool reads the digit count and detects the unit automatically.

Can this tool handle microsecond and nanosecond timestamps precisely?

Yes. Most converters only accept seconds or milliseconds, but this one also reads 16-digit microsecond and 19-digit nanosecond values, and shows the exact leftover below a millisecond using exact integer math rather than a rounded floating-point number -- so no precision is lost on very high-resolution timestamps.

Does the time zone list cover more than UTC and my local time zone?

Yes. The Time zone dropdown lists every zone your browser's IANA database knows -- hundreds of named zones such as Asia/Kolkata or America/Sao_Paulo -- not a short fixed list. Most timestamp converters online only offer UTC and whatever zone your device is set to, which this tool goes well beyond.

What happens when a date falls in a daylight-saving gap or overlap?

Clocks moving forward in spring skip an hour, so a wall-clock time inside that gap never actually happens; this tool moves it forward to the next valid moment and says so. Clocks moving back in autumn repeat an hour, so that time happens twice; the tool shows both real instants.

Why did adding a time to my date change how it was interpreted?

A date alone, like 2024-01-15, is read as midnight UTC. The same date with a time and no offset, like 2024-01-15T10:00, is read in the time zone you've selected instead -- a well-known quirk of JavaScript's own date parser. This tool avoids it with its own explicit parser and tells you which rule applied.

Why is a time like 23:59:60 rejected as invalid?

Unix time doesn't count leap seconds -- every day is treated as exactly 86,400 seconds, even the rare ones with an extra leap second added to UTC. A typed time of 23:59:60 has no Unix timestamp to map to, so this tool rejects it with an explanation instead of silently rounding it away.

What is the Year 2038 problem, and does this tool warn about it?

Some older systems store a Unix timestamp as a signed 32-bit number, which runs out at 2,147,483,647 seconds -- 03:14:07 UTC on 19 January 2038 -- and wraps to a negative value after that. This tool flags a timestamp right at that limit so you know it's the edge a 32-bit system would overflow on.

How do I convert a specific date and time in another time zone to a Unix timestamp?

Type the date into the ISO field (for example 2024-07-04T09:30:00) without a Z or offset, and pick that place's zone from the Time zone dropdown beside it -- America/Chicago for US Central time, for instance. The tool works out the correct UTC offset for that exact date, including any daylight-saving adjustment.

Can this tool convert dates before 1970 or negative timestamps?

Yes. A negative number of seconds, milliseconds, microseconds, or nanoseconds converts to a date before 1 January 1970 UTC, the same way a positive one converts to a date after it -- there's no artificial floor, only the practical range JavaScript's own Date object supports (roughly +/-271,000 years).

Why do my Now panel's seconds and milliseconds keep changing?

The Now panel is a live clock showing the current Unix timestamp as it ticks, once a second, so you can read off "right now" without typing anything. Click Pause to freeze it and copy a steady value, or Resume to let it continue; it also pauses automatically whenever the tab is hidden.