Developer
Unix Timestamp Converter
Convert a Unix timestamp to a human date (local, UTC, ISO) and back. Seconds or milliseconds.
Seconds or milliseconds - auto-detected.
About this tool
A Unix timestamp is the number of seconds that have elapsed since 1 January 1970, 00:00:00 UTC (the "Unix epoch"). It's how most databases, APIs, and logs store time. This converter turns a timestamp into a human-readable date - in your local time, UTC, and ISO 8601 - and converts a date back into a timestamp.
What it handles
- Seconds or milliseconds - paste either; the tool detects which based on length (13+ digits is treated as milliseconds).
- Local and UTC - see the moment in your own timezone and in UTC side by side.
- ISO 8601 - the standard machine-readable format used in APIs and JSON.
Why timestamps are stored in UTC
A Unix timestamp represents a single instant regardless of timezone, which is why systems store and exchange time this way - it sidesteps timezone and daylight-saving confusion. The conversion to a local date happens only when it's shown to a person. Use the "Use now" button to grab the current timestamp instantly.
All conversions run in your browser, using your device's timezone for the local display. Nothing is sent to a server.
Frequently asked questions
What is a Unix timestamp?
It is the number of seconds since 1 January 1970 at 00:00:00 UTC, known as the Unix epoch. It is a compact, timezone-independent way to represent a moment in time.
Is the timestamp in seconds or milliseconds?
Both are common. Unix timestamps are traditionally in seconds, while JavaScript uses milliseconds. This tool auto-detects: 13 or more digits is treated as milliseconds, otherwise seconds.
How do I convert a date to a timestamp?
Use the "Date → Unix timestamp" field, pick a date and time, and the tool shows the equivalent timestamp in both seconds and milliseconds.
Why does the local time differ from UTC?
The timestamp marks one universal instant. The local time applies your device's timezone offset, while UTC shows the same instant with no offset.
Is my data sent anywhere?
No. All conversions happen in your browser using your device's clock and timezone.
Related tools
JSON Formatter & Validator
Beautify, validate, or minify JSON instantly in your browser. Spot syntax errors fast.
Developer
Base64 Encode & Decode
Encode text to Base64 or decode Base64 to text, with full Unicode support. Runs in your browser.
Developer
URL Encoder & Decoder
Percent-encode text for safe use in URLs, or decode encoded links back to readable text.
Developer
UUID Generator
Generate random version 4 UUIDs one at a time or in bulk, using secure browser randomness.
Developer
