TimestampUnix

bulk conversion

Batch Timestamp Converter

Converting timestamps one by one from a log dump or API response is tedious. Paste the whole list — one per line — and get a UTC, ISO 8601 and timezone table back instantly, ready to copy or download as CSV.

Typical uses

Bulk conversion in code

Prefer a script? The same logic in two lines:

# shell (GNU date) — decode a file of second-precision timestamps, one per line
while read ts; do date -u -d "@$ts" '+%Y-%m-%d %H:%M:%S UTC'; done < timestamps.txt
# macOS/BSD: date -u -r "$ts" '+%Y-%m-%d %H:%M:%S UTC'

# python
from datetime import datetime, timezone
[datetime.fromtimestamp(int(line), timezone.utc) for line in open('timestamps.txt')]

Watch the unit: if date or fromtimestamp shows dates in 1970, your values are milliseconds — divide by 1,000. The auto-detect above handles this per row.

Frequently asked questions

How do I convert a list of timestamps at once?
Paste one timestamp per line into the box above and press Convert. Every valid row is converted to UTC, ISO 8601 and your selected timezone. Invalid rows are highlighted but never break the rest of the batch.
Can the batch contain mixed units?
Yes — with Auto-detect, each row is classified independently by magnitude (10 digits → seconds, 13 → milliseconds, 16 → microseconds, 19 → nanoseconds). If your whole list uses one unit, selecting it explicitly avoids surprises with unusually sized values.
How do I get the results into a spreadsheet?
Use Download CSV for a file, or Copy table to paste tab-separated values directly into Google Sheets, Excel or Notion. Both include the input, detected unit, UTC, ISO 8601 and the timezone column.
Is my data sent to a server?
No. Every conversion runs locally in your browser with BigInt arithmetic — nothing you paste leaves your machine, and there is no row limit beyond your browser's memory.

Related tools