Unix Timestamp Converter
Convert Unix timestamps to dates and back, with ISO, local, Hijri and relative time.
Loading…
Runs entirely in your browser. Nothing you enter is uploaded or stored on a server.
About this tool
A timestamp counts the seconds since 1 January 1970, and it is what most databases and server logs store. Confusing seconds with milliseconds throws the date back to 1970 or far into the future, so this tool detects the unit from the length of the number and shows local time and UTC side by side.
How to use
- 1Paste the timestamp, or pick a date to go the other way.
- 2Read the result in local time, UTC and ISO format.
- 3Copy whichever format your system needs.
When you need it
- Reading a timestamp in a server log or error message.
- Turning a date into a timestamp for a database query.
- Checking the expiry on a JWT.
Frequently asked questions
Seconds or milliseconds?
Unix and most databases use seconds (ten digits today); JavaScript uses milliseconds (thirteen). The tool detects which from the length of the number.
What is ISO 8601?
A standard format such as 2026-10-07T12:30:00Z that reads clearly and sorts correctly as text. The Z means the time is UTC.
Why does local time differ from UTC?
UTC is a fixed reference; local time adds your offset and shifts with daylight saving where it applies. Store in UTC, display in local time.
Related tools
- Number Base ConverterConvert between binary, octal, decimal, hex and any base up to 36. Handles very large numbers.
- Color Converter & Contrast CheckerConvert HEX, RGB and HSL, and check WCAG contrast against white and black.
- XML Formatter & ValidatorFormat or minify XML and check that it is well formed, with the error explained.
- Base64 Encoder / DecoderConvert text to Base64 and back. Handles Arabic and any Unicode text correctly.
- JSON Formatter & ValidatorFormat, minify and validate JSON. Errors point to the exact position.
- URL Encoder / DecoderPercent-encode and decode URLs, and split a query string into readable lines.