What timestamp formats can I enter?
Timestamp to Date accepts signed numeric Unix values, including decimal text when Seconds or Milliseconds is selected. It does not parse human-readable dates in that mode.
Convert Unix timestamps, milliseconds and readable dates in your browser.
Preparing the editor...
The guide and instructions on this page are available while the tool loads.
Timestamp Converter helps developers convert Unix timestamps to readable dates and convert dates back into seconds or milliseconds.
It is useful for API debugging, log analysis, database inspection, and test data workflows.
Everything runs locally in the browser with live current time, UTC display, local time, ISO 8601 and relative time.
Typical tasks this tool is built for.
Files and inputs stay in your browser during processing.
Practical tips before you download or share the output.
Unix timestamps are usually stored in UTC. Use local time for display only.
Longer reads that pair well with this tool.
Common next steps after using this tool.
Automatically format and validate JSON in your browser.
Create QR codes for URLs, plain text, email, phone numbers, and Wi-Fi credentials in your browser.
Generate strong random passwords directly in your browser.
Encode and decode Base64 text directly in your browser.
Format or minify SQL queries directly in your browser.
Decode JSON Web Tokens directly in your browser.
Situations where this workflow saves time.
Timestamp to Date accepts signed numeric Unix values, including decimal text when Seconds or Milliseconds is selected. It does not parse human-readable dates in that mode.
For an integer value, it chooses milliseconds when the text has at least 13 characters or the numeric magnitude is greater than 9,999,999,999; otherwise it chooses seconds. Decimal input does not pass this detection step.
It uses a datetime-local input, which supplies a date and hour-and-minute value. The component then constructs the date as either local time or UTC according to the selected option.
A successful conversion shows Unix seconds, Unix milliseconds, a UTC display, a browser-local display, an ISO 8601 string, and a relative-time phrase.
The UTC row uses the date’s UTC getters, while the Local time row uses the browser’s toLocaleString formatting. The displayed local zone and locale therefore come from the browser environment.
A completed result keeps the relative-time phrase calculated when that conversion ran. The Current time panel updates once per second; run the conversion again to calculate a fresh relative-time value.
Yes. The Current time panel shows Unix seconds and milliseconds, provides copy buttons for each, and Use current time loads the current Unix seconds into Timestamp to Date.
The Unix seconds and milliseconds result strings use Math.trunc. A decimal timestamp can therefore display truncated integer seconds and milliseconds after conversion.
No download control is implemented. The available output action is copying each displayed result value through the browser clipboard API.
Browse related tools or open the full workspace.