JSON Formatter
Pretty-print JSON, minify it, or check that it parses in the page. Comments, trailing commas, and single quotes fail. It does not turn the result into CSV.
Convert Unix timestamps to dates and dates back to timestamps, in seconds or milliseconds.
A Unix timestamp converter turns epoch seconds or milliseconds into dates, and dates back into timestamps.
This tool runs in your browser. Inputs, files and generated values stay on this device. Favorites and recently used tools, if you use them, store only tool names in local storage — never passwords, documents or QR contents. See the privacy policy.
Turn Unix seconds or milliseconds into a date, or turn a date and time back into a timestamp. Use it when a log stores an epoch number and you need the clock time, or the reverse. The unit you pick is the unit that is converted, and named cities belong on the Time Zone Converter.
1710000000 seconds is 2024-03-09T16:00:00.000Z.
1710000000000 milliseconds is the same instant. Using the wrong unit produces a date centuries away.
A Unix timestamp counts time from 1 January 1970 00:00:00 UTC. Some systems store seconds; JavaScript Date uses milliseconds. This tool labels the unit you chose. If the number looks like the other unit, it warns you but still converts with your selection.
The unit you select is the unit that is converted. Milliseconds typed in as seconds are not quietly corrected. A date the browser cannot represent is rejected. Named cities and a second time zone are a different tool.
See the disclaimer for what these tools do not cover.
Pretty-print JSON, minify it, or check that it parses in the page. Comments, trailing commas, and single quotes fail. It does not turn the result into CSV.
Generate one or many UUID v4 values in your browser using a secure random source.
Count years, months, and days from a birth date to today or a later date. An earlier date is rejected. Leap days follow the calendar, not a 365-day year.
Encode text to Base64 or decode it back, using UTF-8. Anyone can decode the result, so it is not a way to hide a password. A file drop is not accepted.
Encode or decode URL components in your browser with encodeURIComponent.
Convert 3-digit, 6-digit and 8-digit hex colors to RGB, RGBA and HSL in your browser.
Guide
Turn seconds or milliseconds since 1970-01-01 UTC into a UTC date, or turn a UTC date back into a timestamp.
Read guideGuide
Add or subtract hours and minutes by converting both sides to minutes, then splitting the signed total back into hours and a remainder.
Read guideGuide
Read a five-field cron expression. When both day fields are set, cron matches either day, not both.
Read guideGuide
How to convert the same instant between two time zones, without turning it into a Unix timestamp.
Read guide