Index.dat: Part I – What is index.dat?

If you go poking around in [d]:\Documents and Settings\[user name]\Local Settings\History\, for example, you will find several index.dat files laying around.  (Note: several of the directories that I listed in the path are hidden directories.) 

We (the IE team) get a lot of questions about these files.  The first question is often "What are they?" The answer is quite simple: Index.dat files are binary files that Internet Explorer uses to save information about URLs.  They are basically hash tables that have been optimized to be very fast when dealing with URLs.  Given an URL, these files map the URL to a binary blob of data.  The binary blob of data is different, depending on what the particular index.dat file is used for. 

Index.dat files are for IE's internal usage only.  They are not designed or tested to be used by others.  The functions for interacting with them are private, except things like the UrlCache APIs which provide a layer of abstraction for interacting with some index.dat files.

More on this topic to follow.

Comments (10)

  1. Ken Cox [MVP - ASP.NET] says:

    There was talk at a place where I worked that there are index.dat analysis tools that let someone determine the pages you have visited. It was also said that the index.dat file that can’t be erased.

    Any truth to either claim? Is index.dat insecure and open to an invasion of privacy?

  2. jeffdav says:


    You have predicted where I am going with this. The short answer: There are tools on the net that let you look at them (Google "index.dat") but they are stored in your user profile so you should not be able to go looking at other peoples. They are difficult to delete but not impossible. I will cover how to delete them soon. Promise. 🙂

  3. Continuing the discussion in the previous post, offcourse index.dat is not a secret record of any kind,…

  4. Since a recent digg article and its underlying Wikipedia entry seems a little confused about index.dat,…

Skip to main content