Skip to developer tool
DEVELOPER WORKSPACE · LOCAL ONLY

Epoch Converter V2

Exact Unix timestamps, named timezones, batch logs and developer-ready exports. Nothing is uploaded.

Conversion guide ↓

Timestamp workspace

BigInt precision · Browser timezone rules · Local processing

Input & conversion

or encode a calendar time

Timezones use your browser's IANA data. A nonexistent or repeated clock time is rejected unless you choose a resolution.

Exact instant

Awaiting conversion
—
—
Projection / precision / source details
Ready. Source units are always explicit.

How to use Unix Epoch & Batch Timestamp Converter

  1. Select seconds, milliseconds, microseconds or nanoseconds before decoding. The tool does not guess the unit.
  2. For date input, choose local time or UTC. Use the current-time action when you need a fresh reference.
  3. For a list, enter one timestamp per line and convert the batch. Download the CSV to review valid dates and individual row errors.

When to use this tool

Convert a list of event timestamps into dates for a spreadsheet or log investigation. This batch-oriented workflow exports CSV; use Unix Timestamp Converter for an individual timestamp report.

Epoch units and precision

Unix time measures elapsed time relative to 1970-01-01T00:00:00Z. Milliseconds use one thousand units per second; microseconds use one million. The V2 engine preserves signed integer nanoseconds exactly using BigInt. Browser Date and Intl provide the calendar projection with millisecond precision; the full UTC ISO fraction separately retains up to nine digits. A timestamp outside the Date calendar range remains an exact number without a fabricated date.

Worked example

Unit: seconds
0 → 1970-01-01T00:00:00.000Z
1700000000 → 2023-11-14T22:13:20.000Z
A negative timestamp refers to an earlier instant.

Choose the unit before comparing log timestamps

Authored equivalent timestamp inputs
Selected unitInputExpected instant
Seconds1One second after the Unix epoch
Milliseconds1000The same instant
Microseconds1000000The same exact instant
  1. Read the timestamp unit from the log format or producing system. Digit count alone is not an embedded unit declaration.
  2. Select that unit and convert a representative value. Compare UTC output when reconciling logs; the readable local display depends on the browser's timezone.
  3. For batch conversion, group values by unit before pasting one per line. By default one selected unit applies to each row. CSV/TSV users can select an explicit per-row unit column; timestamps are never auto-guessed.
  4. Review valid rows and explicit row errors before downloading CSV. An invalid row is not silently repaired or omitted.
  5. When converting a calendar value back, choose UTC or local time deliberately. The exact BigInt calculation preserves sub-millisecond timing, while the browser calendar projection is separately labeled.

Calculated unit examples, not a new batch report. Use Timezone Converter for its separate zone-based calendar workflow, or CSV Editor to inspect exported text records.

Limits and output checks

Batch conversion accepts up to 1,000 nonempty lines and uses the selected unit for every row. Dates must fit the browser's Date range. A readable zoned display depends on the selected IANA timezone and your browser's timezone rules; CSV timestamps are exact UTC ISO strings. Formula-like invalid inputs are prefixed with an apostrophe for spreadsheet handling. Calendar leap-second notation is not supported.

Reference: JavaScript Date range and timestamps.

Frequently asked questions

Why does the same number give a different year in another unit?

A timestamp has no unit embedded in the digits. Seconds and milliseconds differ by a factor of one thousand.

Are microseconds preserved in the date?

Yes in the exact ISO/epoch output, including negative instants. Browser calendar and Intl timezone projection have only millisecond resolution, which the tool distinguishes from exact nanoseconds.

Does one invalid batch row stop every conversion?

No. The CSV keeps an error for that row while reporting valid rows as UTC dates.

Convert a batch using one declared unit

Choose the source unit for the entire batch and enter one value per line. Inspect both successful rows and row-level errors in the CSV result.

Scope of this workflow

This batch workflow differs from single-value inspection. Exact timestamps keep nanosecond precision; calendar projection uses Date with millisecond resolution. Invalid rows remain explicit errors.

Unix Timestamp Converter - Seconds, ms & UTC · All developer tools · Privacy policy · Contact PixelOkay