Skip to content
Filebird

Timestamp converter

Convert Unix time to dates and back

Files never leave your device

A Unix timestamp counts the seconds that have passed since midnight UTC on 1 January 1970. Servers, databases, log files, JWT tokens and APIs love them because they are compact and unambiguous. People do not, because 1760745600 tells you nothing at a glance. This converter turns a timestamp into a date you can read, shows it in both your local time and UTC, and goes the other way, from a calendar date and time to a timestamp. It also gives you the current time as a ready-to-copy value.

How to convert a timestamp

  1. To decode a number, paste the timestamp into the timestamp field. The tool works out whether it is in seconds or milliseconds and shows the matching date.
  2. Read the result in local time and UTC. The difference between the two is your time zone offset, and it is the first place to look when a time seems wrong by a few hours.
  3. To create a timestamp, choose a date and time with the date inputs and read the seconds and milliseconds values that result.
  4. For the present moment, use the current timestamp display and copy it. It is useful when writing test data or checking whether a token has expired.
  5. Copy the ISO 8601 string when you need a standard text format for a JSON payload, a database import or a message to a colleague in another time zone.

Options explained

  • Seconds vs milliseconds: Classic Unix timestamps have 10 digits at present, while JavaScript and many APIs use milliseconds with 13 digits. A seconds value read as milliseconds lands in January 1970, which is the quickest sign you picked the wrong unit.
  • Local time: Shown in the time zone your device is set to, including daylight saving rules for that date. This is what you would see on a wall clock where you are.
  • UTC: Coordinated Universal Time, the neutral reference with no daylight saving. Logs and APIs normally record it, so compare against this when debugging across regions.
  • ISO 8601: The international text format such as 2026-10-18T14:30:00.000Z. The trailing Z means UTC. It sorts correctly as text and is understood by almost every programming language.
  • Date to timestamp: The date and time you enter are interpreted in your local time zone, then converted. If you need a UTC moment instead, adjust for your offset or use the ISO string with a Z.
  • Current timestamp: The moment you open or refresh, taken from your device clock.

Tips and common problems

Check the digit count first: Ten digits means seconds, thirteen means milliseconds, and sixteen or more usually means microseconds or nanoseconds, which need to be divided by a thousand or a million before pasting.

Negative timestamps are valid: They represent dates before 1970. Some systems cannot handle them, but the converter will show the date.

Time zones cause most confusion: A timestamp itself has no time zone; it is one exact moment. Only the display changes. If two people see different clock times for the same value, they are in different zones, not looking at different moments.

Your device clock matters for "now": The current timestamp comes from your own computer, so if its clock is wrong the value will be too. Date conversions are not affected by it.

Year 2038: Systems that store seconds in a signed 32-bit integer overflow in January 2038. This tool uses larger numbers and handles dates beyond that, but old software and some databases may not.

Dates inside tokens: The exp and iat fields in a JWT are timestamps in seconds. Paste them here to see when a token expires. If the payload is encoded, decode it first with Base64, and format the JSON with the JSON formatter.

Your files stay on your device

Conversions are done by your browser using your device's clock and time zone settings. The numbers and dates you enter are not sent anywhere and nothing is saved. There is no extra data to download. Read How it works for the wider picture.

Frequently asked questions

What is a Unix timestamp?

The number of seconds elapsed since 00:00:00 UTC on 1 January 1970, known as the epoch. It does not count leap seconds in the usual implementation.

Why does my date show 1970?

The timestamp is probably in seconds but read as milliseconds, or it is very small or zero. Check the digit count and the unit.

How do I get a timestamp in milliseconds?

Use the milliseconds value shown after choosing a date, or multiply a seconds value by 1000. JavaScript's Date.now() returns milliseconds directly.

Does daylight saving time affect the timestamp?

No. A timestamp is the same instant everywhere. Daylight saving only changes how the local clock time is displayed for that instant.

What does the Z in an ISO string mean?

Z stands for zero offset, meaning UTC. A value like +03:00 at the end would show the same moment in a zone three hours ahead.

Can it convert dates far in the future?

Yes, within the range browsers can represent as dates, which extends far beyond 2038. Whether other software handles those values is a separate question.