Hex to Date Converter
Decode a hex Unix timestamp into a readable UTC date and time — the format many file systems and binary logs use to store dates.

Built by
Swapnil SanghviFull-Stack Web Developer & WordPress Developer
Swapnil Sanghvi is a full-stack web and WordPress developer, UI designer, and full-time freelancer who builds and maintains Hex Calculator.
Further reading: Unix time — Wikipedia
How to Convert Hex to a Date
A Unix timestamp counts whole seconds since midnight UTC on January 1, 1970 (the "epoch"). Converting a hex timestamp to a date means converting the hex value to decimal first, then adding that many seconds to the epoch to get a calendar date and time.
Hex to Date Example, Step by Step
0x5F5E100 = 1973-03-03 09:46:40 UTC
0x5F5E100 -> 1973-03-03 09:46:40 UTC
0x5F5E100 = 100,000,000 (decimal) 100,000,000 seconds after 1970-01-01 00:00:00 UTC = 1973-03-03 09:46:40 UTC
| Step | Description | Result |
|---|---|---|
| Convert hex to decimal | 0x5F5E100 = 100,000,000 | 100,000,000 seconds |
| Add to the Unix epoch | 1970-01-01 00:00:00 UTC + 100,000,000 seconds | 1973-03-03 09:46:40 UTC |
100,000,000 seconds is a nice round test value — exactly 100 million seconds after the epoch, useful for sanity-checking any timestamp converter.
Where Hex to Date Actually Comes Up
Reading a Timestamp From a Binary File Header
Many binary file formats (executables, archives, disk images) embed a creation or modification timestamp as a raw hex value in the header — decoding it gives you the actual date without a hex editor's built-in date parser.
file header hex field -> creation date
Decoding a Log Entry's Raw Timestamp
Low-level or embedded system logs sometimes record events as a hex Unix timestamp rather than a formatted date string — converting makes the log human-readable during debugging.
log line hex value -> event date and time
Verifying a JWT or Token's Expiry
Some tokens and certificates encode expiry as a raw timestamp that may appear in hex in debugging tools — converting confirms exactly when the token expires.
hex exp claim -> readable expiry date
Why Use This Calculator Instead of Doing It by Hand
- Handles the hex-to-decimal conversion and epoch math in one step
- Always shows the result in UTC, avoiding timezone confusion
- Runs entirely in your browser — nothing you type gets sent anywhere
- Works for timestamps beyond the classic 32-bit range, not just up to 2038
Limitations
- Treats the hex value as an unsigned count of seconds since 1970 — it doesn't reproduce a signed 32-bit time_t's wraparound-to-negative behavior past 0x7FFFFFFF.
- Always shown in UTC — convert to your local timezone separately if needed.
Frequently Asked Questions
How do I read a hex Unix timestamp found in a log or binary file?
Convert it with this tool — the hex value is interpreted as seconds since January 1, 1970 (UTC), and the result is a standard human-readable date and time.
Why store timestamps in hex instead of a readable date?
A Unix timestamp is just a number of seconds since 1970; hex is a compact, fixed-width way to store or display that number in binary file formats and logs.
What's the largest date a 32-bit hex timestamp can represent?
0x7FFFFFFF, which corresponds to January 19, 2038 — the well-known "Year 2038 problem" for systems still using a 32-bit signed timestamp.
What timezone is the result shown in?
UTC — Unix timestamps are timezone-independent by definition, so the result is always shown in UTC rather than your browser's local timezone, to avoid ambiguity.
Can this handle timestamps beyond the 32-bit range?
Yes — hex values larger than 0xFFFFFFFF are still decoded correctly, as long as the resulting date stays within JavaScript's representable date range (year ±275,760).