SITE UNDER CONSTRUCTION. Everything here is provided AS IS, WITHOUT WARRANTIES, to the extent the law allows. It is information, not professional advice. Use at your own risk. Terms and liability limits →

eThorns ES
← DeveloperES

Tool 5.12

Unix timestamp converter (epoch to date and back)

Convert Unix timestamps in seconds or milliseconds to ISO 8601, UTC and your local time, or a date back to epoch. Detects the unit and shows relative time.

Runs on your deviceRuns entirely in your browser: nothing you type or upload leaves your device.

How to use it

  1. Paste a Unix timestamp (seconds, ms, µs or ns) or a date like 2025-01-31T14:30:00Z.
  2. The unit is detected automatically; change it if needed.
  3. Copy the format you need: Unix seconds or milliseconds, ISO 8601, UTC or local time.

Where you find these long numbers

Databases, server logs, APIs, exported spreadsheets and app records often store time as a plain number like 1735689600: the seconds since 1 January 1970 in UTC. It is easy for computers to compare and it means the same moment everywhere, but nobody can read it at a glance.

Paste the number and the tool shows it as a readable date in UTC and in your own time zone, how long ago it was, and the same moment in the other common formats. It also works the other way: type a date and get its Unix time. The conversion runs in your browser.

Example: the New Year that happened on 31 December

Paste 1735689600. The tool reads it as seconds (10 digits) and shows 2025-01-01T00:00:00.000Z in the ISO 8601 (UTC) row: midnight, New Year's Day. In Colombia, UTC−5 all year, the ISO 8601 (your time zone) row shows 2024-12-31T19:00:00.000-05:00: 7 p.m. on 31 December.

That five-hour gap explains many report problems. A payment stored at that timestamp belongs to December for a customer in Bogotá but to January for a report that groups by UTC dates. When two systems disagree about the day of a transaction, check which time zone each one uses. The same number with 13 digits, 1735689600000, is read as milliseconds and gives the same date.

Typing dates: use year-month-day

Don't type dates as dd/mm/aaaa. Browsers read slashed dates the US way, month first, so 05/03/2025 becomes 3 May, not 5 March, and 31/01/2025 is usually rejected as invalid. Type 2025-03-05 (year-month-day) and there is no ambiguity.

One more trap: a date alone, like 2025-03-05, is read as midnight UTC, which in Colombia is 7 p.m. the day before. If you mean midnight in your own time zone, add the time: 2025-03-05T00:00. A date and time without Z or an offset is always read as your local time.

FAQ

How do I get the current Unix time?

It is at the top of this page, under Current Unix time, and the Now button copies it into the converter. In a terminal on Linux or macOS, `date +%s` prints it in seconds; in PowerShell, `[DateTimeOffset]::UtcNow.ToUnixTimeSeconds()`. In JavaScript, `Date.now()` gives milliseconds, so divide by 1000 for seconds.

How do I know if it's seconds or milliseconds?

Current timestamps have 10 digits in seconds and 13 in milliseconds. The tool detects the unit by size, and you can force it.

What about the year 2038 problem?

Systems that store Unix time as a signed 32-bit number overflow on January 19, 2038. This converter has no 32-bit limit and handles dates far beyond that.

How do I convert a Unix timestamp in Excel?

Excel counts days since 1900, not seconds since 1970. With the timestamp in A1, use `=A1/86400+25569` and format the cell as a date: that gives UTC. For Colombia's time, subtract 5 hours: `=A1/86400+25569-5/24`. If the timestamp has 13 digits, divide by 86400000 instead.

Why is my date one day off?

You probably entered a date without a time, which is read as midnight UTC. In the Americas that moment is still the previous evening, so the local row shows the day before. Add a time, like `2025-03-05T00:00`, to mean midnight where you are.

  • 5.1JSON formatterFormat or minify JSON and find syntax errors by line and column.
  • 5.2CSV to JSON converterConvert CSV to JSON or JSON to CSV with comma, semicolon or tab separators.
  • 5.3YAML to JSON converterConvert YAML to JSON and back in your browser.
  • 5.4Base64Encode or decode Base64 in your browser: UTF-8 text, URL-safe Base64, files to Base64 or data URLs, and Base64 back to a downloadable file.
  • 5.5Color contrast checkerCheck the contrast ratio of a text color on its background against WCAG 2.2 AA and AAA, for normal text, large text and UI components.
  • 5.6Cron explainerRead a 5-field cron expression as a plain sentence and see its next 5 run times in your time zone.
  • 5.7Number base converterConvert whole numbers between decimal, hexadecimal, binary and octal, with bit length and grouped digits.
  • 5.8HTML entity encoderEncode text as HTML entities (named, decimal or hex) or decode entities back to text: <, >, &, quotes, Spanish accents, Latin-1 symbols.
  • 5.9URL encodePercent-encode or decode URLs and query values, and break any URL into protocol, host, path, query parameters and fragment.
  • 5.10SHA-256 hashGet SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files and verify a download against its published checksum.
  • 5.11UUID generatorGenerate random UUID v4 or time-ordered UUID v7 (RFC 9562) in your browser, 1 to 1000 at a time, in uppercase or without dashes.
  • 5.13JWT decoderDecode a JSON Web Token in your browser: see the header and payload as formatted JSON and whether it has expired.
  • 5.14Regex testerTest regular expressions live: highlighted matches, capture and named groups, flags and clear errors.

╌╌ END ╌╌