AWS cron generator
Cron generator
Text counter
JSON to CSV converter
CSV to JSON converter
Unix timestamp converter
UUID v4 and v7 generator
JSON to TypeScript converter
Markdown to PDF
Base64
Images
JSON
QR Code
Passwords
Units
Hash
Colors
PDF Tools
PDF Editor
URL Encoder
Case Converter
Lorem Ipsum
Regex Tester
JWT Decoder
Text Diff
SVG Optimizer
EXIF Viewer
Color Extractor
Favicon Generator
Universal Converter
Hours Converter
PDF Splitter
Images to PDF
PDF to Image
Background Remover
Developer Tools

Unix timestamp converter

Convert Unix seconds or milliseconds to UTC ISO dates and local time, or turn an ISO date with an explicit offset into a timestamp. Choose units explicitly for every conversion.

On your device

Files and text are processed in your browser.

Privacy Policy
Processed in this browser. No data is uploaded or saved.

01Input

Use a whole integer or an ISO date with seconds and Z or ±HH:MM. Maximum 100 characters.

02Result

00:00:00

Add an input and run the conversion to see your result.

Whole seconds round down, including before 1970: 1969-12-31T23:59:59.500Z becomes −1.

How to use this tool

  1. Input

    Choose the direction and select seconds or milliseconds. The tool does not guess the unit from the number length.

  2. Options

    Enter a whole integer or an ISO date with Z or an explicit offset. Now captures the instant when clicked.

  3. Result

    Select Convert and compare UTC with local time and its displayed zone. Copy each representation separately.

Worked example

Worked example · Unix timestamp converter

The +01:00 offset makes 01:00 the same instant as midnight UTC. Seconds since the Unix epoch are therefore zero.

Input

1970-01-01T01:00:00+01:00

Result

0
1970-01-01T00:00:00.000Z

Options: Seconds

Formats and limits

Limits
Use a whole integer or an ISO date with seconds and Z or ±HH:MM. Maximum 100 characters.
Options
Use the unit documented by the source system. One second is 1,000 milliseconds. The tool does not automatically infer the unit.
Result
UTC and local time represent the same instant. Local formatting uses the zone detected by your browser and its daylight saving rules.

Common issues

Are negative timestamps supported?

Yes. They represent instants before 1970-01-01T00:00:00Z, within the Date range and safe integer limits.

Which ISO format is accepted?

A real date with T, hours, minutes, seconds and Z or an explicit ±HH:MM offset. One to three fractional digits are accepted; impossible or timezone-free dates are rejected.

Unix timestamp converter

Convert Unix seconds or milliseconds to UTC ISO dates and local time, or turn an ISO date with an explicit offset into a timestamp. Choose units explicitly for every conversion.

Review the result before using it

The +01:00 offset makes 01:00 the same instant as midnight UTC. Seconds since the Unix epoch are therefore zero.

Formats and limits

Use a whole integer or an ISO date with seconds and Z or ±HH:MM. Maximum 100 characters. Processed in this browser. No data is uploaded or saved.

Frequently Asked Questions

Which unit should I choose?

Use the unit documented by the source system. One second is 1,000 milliseconds. The tool does not automatically infer the unit.

Why does local time differ?

UTC and local time represent the same instant. Local formatting uses the zone detected by your browser and its daylight saving rules.

Are negative timestamps supported?

Yes. They represent instants before 1970-01-01T00:00:00Z, within the Date range and safe integer limits.

Which ISO format is accepted?

A real date with T, hours, minutes, seconds and Z or an explicit ±HH:MM offset. One to three fractional digits are accepted; impossible or timezone-free dates are rejected.

What happens to fractional seconds?

Whole seconds round toward negative infinity. For example, 1969-12-31T23:59:59.500Z becomes −1, not 0. Use milliseconds to preserve that precision.