Unix Timestamp Converter
Convert Unix timestamps to readable dates and back. Handles seconds and milliseconds, your local time zone and UTC, live as you type.
How to use the Unix Timestamp Converter
- Paste a timestamp. Seconds and milliseconds are detected automatically.
- Or pick a date. Use the date field to go the other way and get a timestamp.
- Read it in both zones. Results are shown in UTC and in your local time zone.
Frequently asked questions
- What is a Unix timestamp?
- It is the number of seconds elapsed since midnight UTC on 1 January 1970, known as the Unix epoch. Because it is a single number in UTC, it is unambiguous anywhere in the world.
- Is my timestamp in seconds or milliseconds?
- Ten digits is almost always seconds and thirteen digits is milliseconds. JavaScript uses milliseconds while most databases and Unix tools use seconds, which is a very common source of dates landing in 1970 or far in the future.
- What is the year 2038 problem?
- Systems that store the timestamp as a signed 32-bit integer overflow on 19 January 2038. Modern systems use 64-bit values, but legacy formats and embedded devices can still be affected.
- Why does the local time differ from UTC here?
- The local value is rendered using your device time zone, including daylight saving if it applies on that date. The UTC value is the same instant with no offset applied.
Learn more
Related tools
- Converters
Color Converter
Convert colors between HEX, RGB, HSL and OKLCH. Pick a color or paste any format, and see every equivalent at once.
- Converters
CSV to JSON Converter
Turn CSV into JSON in your browser. Handles quoted fields, embedded commas and line breaks, with a choice of delimiter and header row.
- Converters
Number Base Converter
Convert numbers between binary, octal, decimal, hexadecimal and any base from 2 to 36. Arbitrary precision, so large values stay exact.
- Image Tools
Favicon Generator
Turn any image into a favicon.ico plus the PNG sizes browsers and phones ask for, with the link tags to paste. Nothing is uploaded.
- Image Tools
Image Compressor
Shrink an image until it is small enough, with the saving shown as you drag. Runs in your browser, so nothing is uploaded anywhere.
- Image Tools
Image Format Converter
Convert images between PNG, JPEG and WebP in your browser. Pick a format, see the size before you save, and upload nothing anywhere.
Last updated