Skip to content
Time helper

UNIX Time Converter

Convert UNIX timestamps (seconds or milliseconds) to UTC/local time and back.
The tool auto-detects whether the input is 10-digit seconds or 13-digit milliseconds
and updates all fields in real time with no API calls.

View ISO 8601 output, human-readable strings, and the detected weekday.
Quick actions let you copy any field, jump to the current time, auto-refresh every second, or clear inputs.
All calculations are done in your browser using the native Date and Intl APIs.

Guide: How to use & features

  • 10 digits are treated as seconds, 13 digits as milliseconds automatically.
  • Editing the date/time field keeps the UNIX timestamp in sync.
  • Use the copy buttons to quickly grab any value for logs or scripts.

Samples: Sample input & output

Get UNIX time from ISO date

Input

2024-02-01T00:00:00Z

Output

1706745600

FAQ: Frequently asked questions

  • Should I enter seconds or milliseconds?

    Toggle the unit selector to choose seconds or milliseconds. The “now” shortcut uses the selected unit as well.
  • Are UTC and local times shown?

    Yes. The converter outputs both UTC and local representations.
  • Can I convert to other formats?

    ISO strings and human-readable date/time formats are displayed alongside the timestamp for easy copying.

Use cases: Common use cases

  • Interpreting timestamps

    Convert UNIX times into readable dates to understand when logs or events occurred.

  • Computing expirations

    Translate specific dates into UNIX seconds or milliseconds for cache or token TTLs.

  • Checking timezone differences

    Compare local times with UTC equivalents to ensure environments stay in sync.

Notes: Notes & limitations

  • Work stays in your browser

    Inputs and outputs remain local. Closing the tab or clearing cache will remove any temporary state.

  • Validate critical data

    Results are helper outputs—double-check them before sending to production systems or sharing externally.

  • Large payloads depend on your device

    Very large text or files can feel slow in some browsers. Use a desktop environment for heavy workloads.

Detected time zone
UTC

Auto-detects seconds or milliseconds

Auto-syncs with UNIX input. Accepts local time.

Converted values
Auto-detects seconds or milliseconds
UNIX (seconds)
0
UNIX (milliseconds)
0
ISO 8601 (UTC)
1970-01-01T00:00:00.000Z
UTC (human readable)
1970-01-01
Local time (detected zone)
1970-01-01

Unix Timestamp Converter

Unix timestamps appear in logs, databases, API responses, JWT claims, analytics exports, and monitoring alerts. This converter turns second-based or millisecond-based timestamps into readable dates and helps you convert dates back into timestamp values.

Common use cases

  • Debug logs: Convert raw timestamps into human-readable times during incident investigation.
  • Check API fields: Review created_at, updated_at, iat, exp, and expiration values.
  • Validate stored data: Confirm whether database timestamps match expected user actions or system events.

Seconds vs milliseconds

A 10-digit timestamp is often seconds, while a 13-digit timestamp is often milliseconds, but systems vary. If the resulting date looks far in the past or future, check whether you are using the correct unit.

Articles for this tool

Recent Articles

Use Case
2026-08-04

CREATE TABLE Reference: MySQL vs PostgreSQL vs SQLite Types & Constraints

A cross-database CREATE TABLE (DDL) reference with cheat sheets for data types, auto-increment keys (AUTO_INCREMENT / IDENTITY / rowid), foreign key ON DELETE behavior, and the CHECK constraint that MySQL silently ignores.

Introduction
2026-08-03

How CREATE TABLE Generation From a Visual Table Design Works | DDL Builder

A look inside DDL Builder, which turns a visually designed table into CREATE TABLE statements and an ER diagram. Covers the MySQL/PostgreSQL/SQLite type-mapping rules and the column-inference algorithm used for JSON samples.

Use Case
2026-07-21

GitHub Actions needs Design Patterns: Speed Up CI, Avoid the Anti-Patterns

A pattern reference for GitHub Actions job dependencies (needs). Covers diamond-shaped fan-out, concurrency cancellation, fail-fast tradeoffs, matrix-plus-needs gotchas, and reusable workflows, with copy-paste YAML examples.

Use Case
2026-07-21

SQL JOIN Types: Complete Reference to INNER, LEFT, RIGHT & FULL

A reference for SQL JOIN types (INNER/LEFT/RIGHT/FULL/CROSS/SELF) with a cheat sheet and row-count walkthroughs. Covers why one-to-many joins duplicate rows, the WHERE-vs-ON NULL trap, and how to write multi-table joins.

Introduction
2026-07-16

Case Converter: camelCase, snake_case & kebab-case — 9 Styles at Once

Convert identifiers between camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case and more — all nine styles side by side. Handles acronym runs like HTTPServer, digits, and bulk multi-line conversion.

Introduction
2026-07-16

LLM API Cost Calculator: Compare Claude, GPT & Gemini Pricing Side by Side

Paste a prompt, set the expected output tokens, and compare per-request API costs across Claude, GPT and Gemini models. Covers input/output pricing structure, auto-updated price tables, and estimate limits.

Ad

Ad