Decoding Google Chrome and WebKit History Timestamps
Inspecting Chrome's local SQLite files like History or Cookies displays unfamiliar 17-digit integers such as 13350000000000000 in columns like last_visit_time. Standard Unix epoch converters fail on those numbers because Chromium borrows Windows's 1601 epoch with microsecond precision.
Chrome/WebKit vs Windows FILETIME vs Firefox
Understanding which browser database uses which epoch saves forensic analysts and developers from 10x scale mistakes:
| Browser / Format | Epoch Start (UTC) | Unit | Typical Digits |
|---|---|---|---|
| Chrome, Edge, Chromium (WebKit) | 1601-01-01 00:00:00 | Microseconds | 17 digits |
| Windows FILETIME (NTFS / AD) | 1601-01-01 00:00:00 | 100-nanoseconds | 18 digits |
Mozilla Firefox (moz_places) | 1970-01-01 00:00:00 | Microseconds | 16 digits |
Notice that Chrome timestamps share the 1601 starting point with Windows FILETIME, but are exactly 10 times smaller because Chrome counts microseconds instead of 100-nanosecond ticks.
SQLite Query to Convert Chrome History Directly
Because Chrome stores values in microseconds since 1601, divide by 1,000,000 to get seconds since 1601, then subtract 11,644,473,600 to shift to Unix seconds. You can run this query directly inside SQLite when reading a copied History file:
SELECT
url,
title,
datetime((last_visit_time / 1000000) - 11644473600, 'unixepoch') AS visit_utc
FROM urls
ORDER BY last_visit_time DESC
LIMIT 20;
Where Chrome Stores WebKit Timestamps
- History database:
urls.last_visit_time,visits.visit_time, anddownloads.start_time. - Cookies database:
cookies.creation_utc,cookies.expires_utc, andcookies.last_access_utc. - Login Data database:
logins.date_createdanddate_last_used.