Unix Timestamp Converter

Convert Unix time to dates and back, across time zones.

  • Free
  • No sign-up
  • Runs in your browser
  • Developer
Use the tool

Why use it

APIs, databases and logs store time as Unix timestamps, ISO strings or MySQL DATETIME values, often in UTC. Paste any of them to see the same moment in every common format, in your time zone and another one, and how long ago or how far ahead it is.

Automatic unit detection

Seconds, milliseconds and microseconds are recognised from the number of digits.

Time zones

Compare your local time with UTC or a second zone such as the server's.

Every format

Unix, ISO 8601, RFC 2822 and MySQL DATETIME, each with a copy button.

  1. 01

    Paste a Unix timestamp (seconds, milliseconds or microseconds) or a date string such as 2026-10-21T09:30:00Z.

  2. 02

    The unit is detected automatically from the number of digits.

  3. 03

    Pick a second time zone to compare, for example the server's or a client's.

  4. 04

    Copy whichever format you need: Unix, ISO 8601, RFC 2822 or MySQL DATETIME.

Who it’s for

Typical situations where this tool saves time.

  • API developersRead exp and iat claims or created_at fields from responses.
  • Database workConvert between DATETIME values and Unix time.
  • Support teamsTurn log timestamps into the customer's local time.

Questions

Short answers about privacy, limits and how the tool works.

Seconds or milliseconds?

PHP's time() and most APIs use seconds (10 digits today). JavaScript's Date.now() uses milliseconds (13 digits). The converter detects which one you pasted.

Why is my date off by a few hours?

Usually a time-zone mix-up: a UTC value shown as local time, or the reverse. Store and transfer times in UTC and convert only for display.

What is the year 2038 problem?

Signed 32-bit integers can only count seconds up to 19 January 2038. Use 64-bit integers or DATETIME/TIMESTAMP columns that support later dates.

Need a tool like this inside your product?

I build custom calculators, admin utilities and integrations for WordPress, Laravel and Next.js teams.

↑ ↓ to move, Enter to open, Esc to close

Keyboard shortcuts

Ctrl+K
Search tools, articles and projects
/
Search
[
Previous lesson (on articles)
]
Next lesson (on articles)
T
Switch light / dark theme
GthenH
Go to the home page
GthenT
Go to the tools
GthenA
Go to the articles
?
Show this list