WebKit / Chrome Timestamp Converter - Free Online Tool

Convert between WebKit/Chrome timestamps and Unix timestamps. WebKit timestamps are microseconds since January 1, 1601.

WebKit / Chrome Timestamp Converter

This timestamp format is used by web browsers such as Apple Safari (WebKit), Google Chrome, and Opera (Chromium/Blink). It is a 64-bit value, representing microseconds since January 1, 1601, 00:00 UTC. One microsecond is one millionth of a second.

WebKit to Unix

Unix to WebKit

Programming Examples

Learn how to convert WebKit/Chrome timestamps in various programming languages:

Python
import datetime

def date_from_webkit(webkit_timestamp):
    epoch_start = datetime.datetime(1601, 1, 1)
    delta = datetime.timedelta(microseconds=int(webkit_timestamp))
    return epoch_start + delta

# Convert WebKit timestamp to date
webkit_timestamp = 13413562755000000
date = date_from_webkit(webkit_timestamp)
print(date)

# Convert date to WebKit timestamp
def date_to_webkit(date):
    epoch_start = datetime.datetime(1601, 1, 1, tzinfo=datetime.timezone.utc)
    delta = date - epoch_start
    return int(delta.total_seconds() * 1000000)

current_date = datetime.datetime.now(datetime.timezone.utc)
webkit_ts = date_to_webkit(current_date)
print(f"WebKit timestamp: {webkit_ts}")
python

WebKit timestamps are microseconds since January 1, 1601, 00:00:00 UTC.

What is WebKit / Chrome Timestamp?

WebKit and Chrome browsers use a timestamp format that counts microseconds since January 1, 1601, 00:00:00 UTC. This format is used internally for browser history, cookies, and other time-based data storage. Unlike Unix timestamps which count seconds since January 1, 1970, WebKit timestamps use a different epoch and are measured in microseconds, making them much larger numbers.

Conversion formula:

  • WebKit to Unix: unix_ms = (webkit - 11644473600000000) / 1000
  • Unix to WebKit: webkit = (unix_ms * 1000) + 11644473600000000

Use cases: Browser forensics, Chrome history analysis, WebKit-based application development, and converting browser timestamps for data analysis. This tool is particularly useful for developers working with browser APIs or analyzing browser data.

Frequently Asked Questions

What is a WebKit timestamp?

WebKit timestamps are used by Chrome, Safari, and Edge browsers. They count microseconds since January 1, 1601, 00:00:00 UTC, and are used for browser history, cookies, and other time-based data storage.

How do I convert a WebKit timestamp to a Unix timestamp?

Enter your WebKit timestamp in the input field and click convert. The tool will automatically convert it to a Unix timestamp and display the human-readable date. The conversion formula is: unix_ms = (webkit - 11644473600000000) / 1000.

What browsers use WebKit timestamps?

WebKit timestamps are used by Chrome, Safari, Edge, and other Chromium-based browsers. They are used internally for browser history, cookies, and other time-based data storage.

Related Guides