JSON Formatter & Validator
Format, minify and validate JSON, with the line and column of any error.
Developer
Convert Unix timestamps to readable dates and dates back to timestamps, in UTC and your time zone.
Seconds (10 digits) or milliseconds (13 digits).
Enter a timestamp or press Now to see it as a date.
Pick a date and time to get its Unix timestamp.
Processed locally in your browser.
A Unix timestamp counts the seconds (or milliseconds) since January 1, 1970 at 00:00:00 UTC. Logs, APIs, databases and JWTs use it because it is a single number with no time zone attached.
The tool tells seconds and milliseconds apart by size, so a 10-digit value is read as seconds and a 13-digit value as milliseconds. You can override that. Results are shown as UTC (ISO 8601), in your device's time zone, in a US-friendly format and as relative time, such as 3 days ago. The date-to-timestamp panel reads the time in your time zone.
Input
1700000000
Result
2023-11-14T22:13:20.000Z Tuesday, November 14, 2023, 5:13:20 PM (America/New_York)
Input
1700000000000
Result
Detected milliseconds: 2023-11-14T22:13:20.000Z
Input
2023-11-14 17:13:20 in America/New_York
Result
1700000000
By magnitude. Values with an absolute size of 100 billion or more are read as milliseconds, anything smaller as seconds. That covers every date from 1973 to the year 5138 in seconds. Choose a unit yourself if you have an unusual value.
The time zone your browser reports for your device. The date-to-timestamp panel reads the date and time you enter in that same zone, including its daylight saving rules.
Systems that store seconds in a signed 32-bit number overflow on January 19, 2038. This converter uses 64-bit floating point numbers, so dates far beyond 2038 work fine here.
Tools guide
Make messy JSON readable, shrink it again for production, and find the exact line and column of a syntax error, with the five mistakes behind most failures.
· 3 min read
Tools guide
A Unix timestamp counts the seconds since January 1, 1970 UTC. Learn seconds versus milliseconds, time zones, the year 2038 issue and how to convert one.
· 3 min read
Tools guide
A tour of the free developer and generator tools in the Gametroz catalog: JSON, Base64, URL, timestamps, hashes, UUIDs, passwords, QR codes and more.
· 3 min read