TXT · Text & Data tools

Epoch (Unix Timestamp) Converter

Input
Output
Epoch → DateModeBatchInput0Items0Output lines0Output charssecondsUnitUTCTimezone

Conversion modes

Paste a Unix timestamp to read it as a date, or paste a date to get the timestamp. The mode toggle switches the direction between Epoch and Date. Output appears instantly and can be copied with one click.

Seconds and milliseconds

Unix time is usually stored in seconds, but JavaScript Date and many APIs use milliseconds. Use the unit selector to tell the converter which magnitude to expect. A 10-digit value is typically seconds, while a 13-digit value is milliseconds.

Timezone handling

Toggle UTC on to parse and format dates using fixed Coordinated Universal Time. Turn it off to fall back to your device’s local timezone. Using UTC ensures the exact same string across all regions, which is useful when comparing logs or debugging APIs.

Processing lists

Turn on Batch by newline to process multiple values at once. Each line converts independently, so a single invalid entry will not stop the rest of the list. Enable Trim lines to automatically remove stray spaces copied from spreadsheets or database tables.

Frequently Asked Questions

The number of seconds since 1970-01-01 00:00:00 UTC. Some systems store it in milliseconds instead, which is 1000 times larger for the same moment.

A seconds timestamp for a recent date has 10 digits; the millisecond version has 13. Set the unit selector to match the value you paste.

UTC is the timezone-independent value used in logs and APIs. Local time uses your device's timezone, so the same timestamp reads differently depending on where you are.

Yes. Turn on Batch by newline and put one value per line. Each line converts on its own.

A line that is not a valid number (in epoch mode) or not a parseable date (in date mode) is marked with an error in place. The other lines are unaffected.

No. your input is not sent to a server.

Explore Our Tools

Browse all tools