Unix Timestamp Converter
Convert between Unix timestamps and human-readable dates.
# Timestamp to Date
📅 Date to Timestamp
About this tool
The Unix Timestamp Converter turns epoch integers into human-readable dates and vice versa. Paste any timestamp in seconds or milliseconds and see it formatted in UTC, your local timezone, and ISO 8601; or enter a date and get the epoch value back. The live clock at the top of the tool shows the current Unix time updating every second, useful when you need to hard-code "now" into a test payload or database seed.
Use it when you're debugging log files that only store epoch time, translating between API responses that use different formats (seconds vs. milliseconds), or confirming that a scheduled job will fire at the moment you expect. Timezone offsets, DST transitions, and leap-second edge cases are all handled by the browser's native Date implementation, which is reliable for any date after 1970.
Formula
Unix time = seconds since 1970-01-01 00:00:00 UTC. To convert to milliseconds, multiply by 1,000. To convert to a Date in JavaScript: new Date(timestamp * 1000). Add or subtract 60, 3600, or 86400 to shift by minutes, hours, or days respectively.
When to use it
Daily tasks: reading timestamps out of logs, parsing API responses, setting scheduled job expressions, or sanity-checking that a token's expiry is what you think it is. Pair with the JSON Formatter when the timestamp is buried in a JSON payload, and the Encoding Converter when the payload itself is Base64-encoded.
Frequently asked questions
What is the current Unix timestamp?
How do I convert a Unix timestamp to a date?
Is a Unix timestamp in seconds or milliseconds?
What is the year 2038 problem?
How do I get a Unix timestamp in JavaScript?
What's the difference between ISO 8601 and Unix timestamp?
Related tools
Text Encoding Converter
Convert between Text, Base64, Binary, Hexadecimal, and Decimal formats.
Use tool ➜JSON Formatter
Validate, format, and minify JSON data with syntax highlighting.
Use tool ➜Password Generator
Generate secure, random passwords locally in your browser.
Use tool ➜Color Picker
Pick colors and convert between HEX, RGB, HSL, CMYK, and HSV formats.
Use tool ➜