Skip to content

Menu

Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and vice versa.

Runs entirely in your browserConvertersFree, no sign-up
Loading tool

01What is Unix Timestamp Converter?

A log line says 1700000000 and you need to know if that was before or after the deploy. This converter turns that number into a date you can read, and turns a date back into a number. A Unix timestamp counts time from the epoch, 1 January 1970 at 00:00:00 UTC. POSIX defines it in seconds and ignores leap seconds. JavaScript's Date works in milliseconds instead, and that factor of 1000 causes most timestamp bugs we see. Paste a value into Unix Timestamp and click Convert to Date. The result block lists five things: the UTC string, ISO 8601, your browser's local time with its offset, and the value in both seconds and milliseconds. A first line tells you which unit the tool used. That unit choice matters. In Auto mode the tool strips any sign and leading zeros and counts the digits. Ten or fewer means seconds. Eleven or more means milliseconds. So 1700000000 reads as seconds and 1700000000000 reads as milliseconds, and both land on 2023-11-14T22:13:20.000Z. The guess fails at the edges. Millisecond values from the first few months of 1970 have ten digits or fewer, and second values after the year 2286 have eleven. Pick Seconds or Milliseconds from the menu when you know better. Input has to be a plain number. A leading minus works, so -86400 gives 1969-12-31T00:00:00.000Z. Decimals work too, and 1700000000.5 shows the half second as .500Z. Scientific notation such as 1e9 is rejected with a short message. Values past 2147483647, the 32-bit signed limit, convert without trouble, because JavaScript numbers are not 32-bit. Anything beyond 8.64e15 milliseconds from the epoch, roughly 273,790 years either way, is outside what a JavaScript Date can hold, and the tool says so. The second panel goes the other direction. Pick a date and time and click Convert to Timestamp. The picker reads that time in your own time zone, not UTC, so the same wall-clock time gives a different number in Berlin than in Chicago. The Current Timestamp button fills in the current second. The conversion runs on the Date object in your browser, so the numbers you paste never leave your machine. Local time follows your operating system's zone settings, so a misconfigured clock or zone will show up in the Local line.

Backend developers and on-call engineers who need to turn epoch numbers from logs, APIs and databases into dates, and back again. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Unix Timestamp Converter

  1. Type or paste a number into the Unix Timestamp field
  2. Leave the unit menu on Auto, or choose Seconds or Milliseconds if you know the unit
  3. Click Convert to Date to see UTC, ISO 8601, Local, Seconds and Milliseconds
  4. To go the other way, set Date and time (your local time zone) and click Convert to Timestamp
  5. Click Current Timestamp for the current second, then use the copy icon on the Result panel

03Worked examples

Input: 1700000000 (Auto)
Result: Read as: seconds (auto-detected) UTC: Tue, 14 Nov 2023 22:13:20 GMT ISO 8601: 2023-11-14T22:13:20.000Z
Local, Seconds and Milliseconds lines are trimmed here.
Input: 1700000000000 (Auto)
Result: Read as: milliseconds (auto-detected) ISO 8601: 2023-11-14T22:13:20.000Z
Thirteen digits, so Auto treats it as milliseconds, the unit of JavaScript's Date.now().
Input: 1700000000 (Milliseconds)
Result: Read as: milliseconds ISO 8601: 1970-01-20T16:13:20.000Z
Forcing the wrong unit drops you in January 1970.
Input: -86400 (Auto)
Result: Read as: seconds (auto-detected) ISO 8601: 1969-12-31T00:00:00.000Z
Negative values count back from the epoch.
Input: 1700000000.5 (Auto)
Result: Read as: seconds (auto-detected) ISO 8601: 2023-11-14T22:13:20.500Z
Fractional seconds are kept to the millisecond.
Input: 1e9
Result: Enter a whole or decimal number, like 1700000000 or -86400.
Scientific notation is not accepted. Type the digits out.

04Common use cases

  • Reading a created_at value of 1700000000 from a database row and checking it against an incident window
  • Working out whether an API field holds seconds or milliseconds before writing the parsing code
  • Building the from and to values for a log query or a Stripe-style created[gte] filter
  • Checking how a pre-1970 date such as a birth date is stored as a negative timestamp
  • Confirming that a value just past 2147483647 still maps to a sensible 2038 date in your stack
  • Converting a meeting time in your local zone to an epoch value for a cron job or test fixture

05Tips

  • If a date comes out in January 1970, you almost certainly fed seconds in as milliseconds. If it comes out tens of thousands of years ahead, it is the reverse.
  • Signed 32-bit time_t overflows after 2038-01-19 03:14:07 UTC. Test any C code, embedded device or old MySQL TIMESTAMP column that might still use it.
  • The date picker uses your local zone. To get a timestamp for a UTC time, either set your zone to UTC or adjust by your offset first.
  • Unix time skips leap seconds, so subtracting two timestamps can be off by a second or more from true elapsed time across a leap second.
  • Microsecond values (16 digits) will be read as milliseconds in Auto mode. Divide by 1000 before pasting.

06Related concepts

Epoch time, UTC, Year 2038 problem, Time zone conversion.

Frequently Asked Questions

What is Unix Timestamp Converter?

Unix Timestamp Converter is a free, browser-based developer tool on AIDToolStack. Convert Unix timestamps to human-readable dates and vice versa. It requires no installation or sign-up and works entirely in your browser.

Is Unix Timestamp Converter free to use?

Yes. No sign-up, no fees and no usage cap.

Does Unix Timestamp Converter store my data?

No. It runs in your browser; nothing is uploaded.

Video

From our YouTube channel. The player loads from YouTube only when you press play.

Cheat sheet

Related Tools

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe