Timestamp Converter
Timestamp → Date
Local time
UTC
ISO 8601
Relative
Date → Timestamp
Unix timestamp (seconds)
What is a Unix timestamp?
A Unix timestamp counts the number of seconds that have elapsed since January 1, 1970 (the "Unix epoch"), ignoring leap seconds. It's a compact, timezone-independent way to represent a specific moment in time, widely used in databases, APIs, and log files.
When would I use this?
- Debugging an API response or log entry that shows a raw timestamp instead of a readable date.
- Converting a specific date and time into a timestamp to use in a script, query, or test fixture.
- Checking how much time has elapsed (or remains) relative to a given timestamp.
How it works
Conversion uses your browser's native Date object, correctly handling both seconds- and milliseconds-based timestamps, and displaying results in your local timezone as well as UTC.
Frequently asked questions
A Unix timestamp is the number of seconds (or sometimes milliseconds) that have elapsed since January 1, 1970 00:00:00 UTC, known as the Unix epoch. It's a common way to store and compare dates in databases, APIs, and logs.
Yes, it auto-detects whether a pasted timestamp is in seconds or milliseconds based on its magnitude, and converts accordingly.
Both your local browser timezone and UTC are shown side by side, so you can see the exact moment in either reference.
Yes, use the date/time picker to select any date and time, and the tool will compute the corresponding Unix timestamp.
Related tools
Cron Builder
Build cron expressions visually or decode existing ones into plain English.
Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal.
SQL Formatter
Format and beautify messy SQL queries instantly.
JSON Formatter
Format, validate, and beautify JSON instantly in your browser.