142+ Free Online Tools · Easy. Fast. Accurate.

Epoch Converter

Convert a date and time to its Unix epoch timestamp, instantly in your browser.

How to use the Epoch Converter

  1. Enter a date and time such as 2026-01-01T12:00:00, or a date such as 2026-01-01.
  2. Add Z to the end to treat the time as UTC, or leave it off to use your local time zone.
  3. Leave the field blank to use the current time.
  4. Click Run to see the epoch timestamp in seconds and milliseconds.

How the Epoch Converter works

Unix (or epoch) time counts the seconds since 00:00:00 UTC on 1 January 1970. The converter parses your date with JavaScript's date parser, reads the number of milliseconds since the epoch, and divides by 1,000 for seconds.

Watch the time zone: 2026-01-01T12:00:00 is read in your local time, while 2026-01-01T12:00:00Z is noon UTC, and they give different timestamps. To go the other way, from a timestamp to a readable date, use the Unix Timestamp Converter.

Frequently asked questions

Is this tool free?
Yes. Convert dates to epoch timestamps at no cost, with no account required.
What if I leave the date blank?
The tool uses the current date and time from your device.
What date formats are accepted?
Any format JavaScript's Date parser understands, such as 2024-01-01, 2024-01-01T12:00:00, or 2024-01-01T12:00:00Z.

More Developer Tools

Browse all Developer Tools →