Unix Timestamp Converter
Converts a Unix timestamp to a readable date and back. Seconds and milliseconds are detected automatically, and UTC and your local time are shown side by side so the offset is never a guess.
Unix Timestamp Converter
- Seconds
- 1700000000
- Milliseconds
- 1700000000000
- ISO 8601 (UTC)
- 2023-11-14T22:13:20.000Z
- RFC 1123 (UTC)
- Tue, 14 Nov 2023 22:13:20 GMT
- Your time (UTC)
- Tuesday, November 14, 2023 at 10:13:20 PM UTC
- Day
- Tuesday
- Relative
- 3 years ago
How to use it
- Paste a timestamp to get the date, or switch direction to go the other way.
- Leave the unit on automatic — ten digits is seconds, thirteen is milliseconds.
- Override the unit only if your value is unusual, such as a historical date stored in seconds.
- Read both the UTC and local rows: they are the same instant shown in two zones and can differ by a day.
- Use the relative description underneath as a sanity check that you converted the right value.
Frequently asked questions
- How do I tell whether a timestamp is in seconds or milliseconds?
- By size. A present-day timestamp in seconds has ten digits; in milliseconds it has thirteen. This page detects it automatically and lets you override the choice.
- Why does local time differ from UTC by a day?
- They are the same instant rendered in different zones. An event at 22:13 UTC has already happened on the following day in Sri Lanka, which is five and a half hours ahead. Both readings are correct.
- What is the year 2038 problem?
- Timestamps stored as signed 32-bit integers run out of range on 19 January 2038 and wrap to a negative number, placing the date in 1901. Storing time in 64 bits avoids it entirely.
Related tools
- UUID GeneratorGenerate UUID v4 or the time-ordered v7 in bulk, using your browser's cryptographic randomness. Also validates and inspects existing UUIDs.
- JWT DecoderDecode a JSON Web Token in your browser and read its header, payload and claims. Expiry is checked against your clock. Nothing is ever uploaded.
- JSON Formatter and ValidatorPretty-print, minify or sort JSON, and get syntax errors reported by line and column with the offending line shown. Runs entirely offline.
Built and maintained by Kavitha Kanchana
Software engineer at Cortana AI and co-founder of Ryzera Technologies, based in Sri Lanka. Found a bug or a wrong number? Email me.