Unix Timestamp Converter

Use this free Unix timestamp converter to convert UTC date-time values into Unix seconds and milliseconds or convert timestamps back to UTC ISO time.

All tools
Illustration for Unix Timestamp Converter showing convert UTC dates to Unix timestamps and Unix timestamps back to UTC date-time strings.
Unix Timestamp Converter artwork matches the live tool workflow: convert UTC dates to Unix timestamps and Unix timestamps back to UTC date-time strings. Use it with the calculator, examples, and result notes. View in the smoke-kawaii gallery
Inputs explained Result checks Example values Runs in your browser
Unix timestamp1777550400

2026-04-30 12:00 UTC

Milliseconds
1.7775504e+12
UTC ISO
2026-04-30T12:00:00.000Z
Time zone
UTC

Formula steps

  1. Read the entered date and time as UTC.
  2. Convert the UTC date-time to milliseconds since 1970-01-01T00:00:00Z.
  3. Divide milliseconds by 1,000 for Unix seconds.

How to use the Unix Timestamp Converter

  1. Choose Date to timestamp when you have a UTC date and time.
  2. Choose Timestamp to date when you have Unix seconds or milliseconds.
  3. Check the unit carefully because milliseconds are 1,000 times larger than seconds.
  4. Use UTC for the calculation, then handle local time-zone display in the app that needs it.

What people use it for

Convert a UTC date and time into Unix seconds for logs or APIs.

Convert Unix seconds or milliseconds into an ISO UTC timestamp.

Check whether a timestamp is seconds or milliseconds.

Compare date-time values without local time-zone ambiguity.

Quick examples

Date to seconds

2026-04-30 12:00 UTC

1777464000 seconds

Milliseconds

1777464000000 ms

2026-04-30T12:00:00.000Z

Unix epoch

0 seconds

1970-01-01T00:00:00.000Z

Need the guide or a nearby tool?

Need a slower walkthrough, a related converter, or the full library? These links keep you close to the task you started.

Frequently asked questions

Plain-language answers about when to use the tool, what it does with your inputs, what to double-check, and how privacy works.

When should I use the Unix Timestamp Converter?

Use it when your task matches one of these common needs: Convert a UTC date and time into Unix seconds for logs or APIs. Convert Unix seconds or milliseconds into an ISO UTC timestamp. It works best when you already know a UTC date and time, or a numeric Unix timestamp with the seconds or milliseconds unit selected.

What is the Unix Timestamp Converter doing with my inputs?

In plain language: Date mode reads the entered date and clock time as UTC, uses Date.UTC to count milliseconds since 1970-01-01T00:00:00Z, then divides by 1,000 for Unix seconds. Timestamp mode reverses that by multiplying seconds by 1,000 or reading milliseconds directly before displaying the UTC ISO time. The examples on the page are there so you can compare your inputs with a UTC timestamp example before copying the answer.

What do the main Unix Timestamp Converter inputs mean?

Date to timestamp mode: Use this when you have a UTC calendar date and UTC clock time and need Unix seconds plus milliseconds. Timestamp to date mode: Use this when you have a stored epoch value and need to read the matching UTC date-time. UTC date: The calendar date is read as UTC, not as your computer or phone time zone. UTC time: The clock time is read as UTC. Convert local times to UTC first when the source time came from a local schedule. Timestamp: Enter the epoch number only. Unix seconds are usually 10 digits for modern dates, while JavaScript-style milliseconds are usually 13 digits. Unit: Choose seconds for compact Unix timestamps and milliseconds for JavaScript Date-style values.

How should I read the Unix Timestamp Converter answer?

Read the headline answer, then check the supporting lines and examples to understand how the calculator got there. If one input changes, rerun the tool and compare the new answer instead of guessing.

What should I double-check before trusting the answer?

The converter uses UTC on purpose. It does not guess your local time zone, daylight-saving rules, database storage format, or event-scheduling rules, so the same timestamp can appear as a different wall-clock time in another app. Check the mode, confirm the time is already in UTC, and make sure you did not paste a millisecond timestamp while seconds is selected.

Are Unix timestamps seconds or milliseconds?

Both show up in real tools. Unix timestamp usually means seconds since the Unix epoch, while JavaScript Date values use milliseconds. For example, 1777464000 seconds and 1777464000000 milliseconds point to the same UTC instant.

Does this converter use my local time zone?

No. It treats the date and time fields as UTC and displays converted timestamps as UTC ISO time. A local app can display the same instant differently after applying its own time-zone rules.

What is the Unix epoch?

The Unix epoch is 1970-01-01T00:00:00.000Z. A timestamp of 0 seconds means that exact UTC instant, and positive values count forward from there.

Why is my converted time off by hours?

The usual causes are using local time as if it were UTC, choosing seconds when the value is milliseconds, or reading the result in an app that applies a local time zone or daylight-saving rule.

Can this schedule an event in a local time zone?

Not by itself. This converter shows one UTC instant. Scheduling real events needs the intended local time zone, daylight-saving behavior, recurrence rules, and the application rules that store or display the event.

Does the site save what I enter?

No. The conversion runs in your browser tab with JavaScript date math, so the timestamp value does not need to be sent to a server.

Related tools