<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ma95032</id>
		<title>Just Solve the File Format Problem - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ma95032"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Special:Contributions/Ma95032"/>
		<updated>2026-04-19T09:51:51Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Netscape_bookmarks</id>
		<title>Netscape bookmarks</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Netscape_bookmarks"/>
				<updated>2016-01-20T19:01:01Z</updated>
		
		<summary type="html">&lt;p&gt;Ma95032: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Web&lt;br /&gt;
|subcat2=Web browser files&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Netscape kept its bookmarks in a file named '''bookmarks.html''' (or '''bookmark.htm''' in versions for archaic operating systems permitting only 8+2 filenames) in the user profile directory. It was (kinda, sorta) [[HTML]], with a weird doctype specific to Netscape and some offenses against HTML decency like odd nesting of elements. It used some particular combinations of tags and attributes to represent the bookmark structure. Specific items changed over time in different versions as new features were added, but the basic structure remained similar to allow bookmarks to be shared between different browser versions. The format remained in use in early Mozilla browsers before switching to the [[DB (SQLite)|SQLite]]-based bookmark database (with automatic backups in a [[JSON]]-based format) used in the current Firefox (since version 3.0).&lt;br /&gt;
&lt;br /&gt;
Doctype: '''&amp;lt;!DOCTYPE NETSCAPE-Bookmark-file-1&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
== Date format ==&lt;br /&gt;
&lt;br /&gt;
Netscape bookmark file dates, e.g., the &amp;lt;tt&amp;gt;ADD_DATE&amp;lt;/tt&amp;gt; field, are in ''seconds'' since January 1, 1970.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Firefox bookmarks]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* [http://support.mozilla.org/en-US/kb/import-bookmarks-html Import bookmarks from Netscape to Firefox]&lt;br /&gt;
* [http://msdn.microsoft.com/en-us/library/aa753582%28VS.85%29.aspx Documentation of Netscape bookmark format] (in Microsoft site, weirdly enough)&lt;/div&gt;</summary>
		<author><name>Ma95032</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Chrome_bookmarks</id>
		<title>Chrome bookmarks</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Chrome_bookmarks"/>
				<updated>2016-01-20T18:56:32Z</updated>
		
		<summary type="html">&lt;p&gt;Ma95032: chrome bookmark file and Netscape exported bookmark HTML file date format details&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Web&lt;br /&gt;
|subcat2=Web browser files&lt;br /&gt;
|released=2008&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Bookmarks in Google Chrome are stored in a file named '''Bookmarks''' (with no extension) in a data directory with a location that is system-specific, but in Windows Vista can be found in the directory '''\Users\''username''\AppData\Local\Google\Chrome\User Data\Default'''. A backup copy of the previous version of the file is saved in '''Bookmarks.bak'''.&lt;br /&gt;
&lt;br /&gt;
The format does not appear to be documented anywhere, but it is apparently in [[JSON]] format, using a hierarchical structure corresponding to the bookmark folder structure. Attribute names in a bookmark entry include &amp;quot;date added&amp;quot;, &amp;quot;id&amp;quot;, &amp;quot;name&amp;quot;, &amp;quot;type&amp;quot;, and &amp;quot;url&amp;quot;. The &amp;quot;id&amp;quot; values are numeric, probably assigned sequentially as bookmarks are added.&lt;br /&gt;
&lt;br /&gt;
== Character set ==&lt;br /&gt;
&lt;br /&gt;
The file appears to be expressed in [[ASCII]], with line breaks as CRLF (0D+0A), though the file examined was from the Windows version; it is possible that bookmark files from other systems could use line-break conventions appropriate to those systems. Non-ASCII characters are given as escape sequences like '''\u00ED''', representing the [[Unicode]] character given by a four-digit hexadecimal number following &amp;quot;\u&amp;quot; (in this case the accented letter í).&lt;br /&gt;
&lt;br /&gt;
== Date format ==&lt;br /&gt;
&lt;br /&gt;
The date format consists of huge numbers like 12871673787657328 or 12605573593000000. These examples are taken from an actual bookmark file; the one with six zeroes at the end is a clue that perhaps the time units are some tiny fraction of a second. Stripping the zeroes yields 12605573593, still one digit longer than current [[Unix time|Unix-style timestamps]], but stripping the final 3 gets a timestamp that translates to Fri, 11 Dec 2009 18:49:19 GMT, which may be the correct timestamp for the bookmark; this means that the timestamps are expressed with seven digits of precision beneath the seconds (in other words, in ten-millionths of a second). Or perhaps the added digits have some other specialized meaning; apparently only Google knows.&lt;br /&gt;
&lt;br /&gt;
The chrome bookmark file date format, e.g., the &amp;lt;tt&amp;gt;date_added&amp;lt;/tt&amp;gt; field, is in ''microseconds'' since January 1, 1601.  See the open-source [http://dev.chromium.org/Home Chromium] source code, and search for &amp;lt;tt&amp;gt;MicrosecondsToFileTime&amp;lt;/tt&amp;gt;.  Sample conversion code can be found on stackoverflow [http://stackoverflow.com/questions/19074423/how-to-parse-the-date-added-field-in-chrome-bookmarks-file &amp;quot;How to parse the date_added field in Chrome bookmarks file?&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
Please note the internal chrome bookmark file date format differs from the Netscape exported bookmark HTML file date format.  Netscape exported bookmark HTML file dates, e.g., the &amp;lt;tt&amp;gt;ADD_DATE&amp;lt;/tt&amp;gt; field, is in ''seconds'' since January 1, 1970.&lt;br /&gt;
&lt;br /&gt;
== Source code ==&lt;br /&gt;
&lt;br /&gt;
It's possible more info about the format could be gleaned by looking through the open-source [http://dev.chromium.org/Home Chromium] source code, if that deals with bookmarks the same way as Chrome itself. Try searching on &amp;quot;bookmarks&amp;quot;. The code there says that timestamps are milliseconds since the epoch, but as seen above there seem to be way more digits than that.&lt;br /&gt;
&lt;br /&gt;
[[Category:Google]]&lt;/div&gt;</summary>
		<author><name>Ma95032</name></author>	</entry>

	</feed>