
Deleted cookies cannot be restored, and you do not need them back: sign in to the site again and it sets new ones. Deleted browsing history has no undo either. You can get it back only from a copy that still exists somewhere else, which means a backup of your computer made before the deletion or the activity page of an account you were signed in to. Below is what works, and which popular tricks do not.
First check that the history is really gone
- Look at the full history page. In Chrome select More → History → History and use the search bar. Chrome lists the pages of the last 90 days, so older visits are not there even if you deleted nothing.
- A closed tab is not deleted history. You can reopen it: see how to reopen recently closed tabs in Chrome.
- Private windows never saved anything. Pages opened in Incognito or a private window were not written to history, so there is nothing to restore. See how to see incognito history.
Look in your account’s activity
If you were signed in to a Google Account, part of your activity may have been saved to the account, separately from the browser. Deleting browsing data in Chrome does not delete your Google search history and other Google activity. Open your Google Account, select Data & privacy and then My Activity. Google’s help page Access & control activity in your account describes what you find there.
My Activity shows your Google searches and other activity in Google services. It can also contain sites you visited in Chrome, but only if Web & App Activity was turned on together with the option to include Chrome history, and only for the time you were signed in. If the setting was off, nothing was saved.
Microsoft has a similar place for Edge users who sync: the privacy dashboard of the Microsoft account, where you can view the data saved in Microsoft’s cloud.
Sync is not a backup
It is tempting to look for the history on your phone or second computer. With sync turned on, that does not help. When you delete history in Chrome, it is also deleted on every device where you are signed in and sync history. Edge clears synced items on all synced devices, and Safari removes cleared history from all your Apple devices that use iCloud for Safari.
Another device helps only if it was not syncing history, for example because you were signed out there. Its own history is then untouched, and you can look the page up on that device.
Restore the history file from a backup
If you back up your computer, the browser’s history file from before the deletion may be in the backup. This is a manual step on the level of files, not a restore feature of the browser, so treat it as a last resort. Quit the browser first and keep a copy of the current file. The restored file replaces your present history: visits made after the backup date disappear from the list.
- Chrome: the history is in a file named History in your profile folder. Type chrome://version in the address bar to see the folder next to Profile Path.
- Firefox: the file is places.sqlite in your profile folder. It also holds your bookmarks, so an older copy takes your bookmarks back to that date too. To find the folder, choose Help → More Troubleshooting Information and look for Profile Folder. Mozilla lists the files in Profiles: where Firefox stores your data.
- Safari: Apple’s Safari guide describes no way to bring back cleared history.
On a Mac with Time Machine
- Open the folder that contains the file in the Finder. The folder is inside your hidden Library folder: choose Go → Go to Folder and paste the path.
- Open Time Machine and use the arrows or the timeline to go back to a backup from before the deletion.
- Select the file and click Restore.
Apple explains the steps in Restore items backed up with Time Machine.
On Windows with File History
- Open File Explorer and go to the folder that contains the file.
- Right-click the folder and select Restore previous versions.
- Pick a version from before the deletion. Expand Restore, choose Restore to… and pick a different location. Then copy only the history file from there into the profile folder. A plain Restore would replace the whole current folder, and that cannot be undone.
Be ready for an empty list. According to Microsoft’s article Backup and restore with File History, File History backs up your libraries, such as Documents, Pictures and Desktop. Browsers keep their profiles elsewhere, so a previous version exists only if your backup includes that folder.
Can deleted cookies be restored?
No browser can undo the deletion of cookies, and there is no reason to try another way. A cookie is a note that a website left in your browser, often just the ID of your session. An old copy may have expired, and the site decides whether it still accepts the session it points to. Signing in again gives you a fresh cookie.
Deleting cookies costs you your sign-ins and some site preferences. It does not delete saved passwords, bookmarks or history, which browsers store separately.
What does not work
- System Restore on Windows. It reverts system files, registry settings and installed programs to an earlier point and leaves personal files alone, as Microsoft’s System Restore article says. Browser history does not come back with it.
- The DNS cache (ipconfig /displaydns). It lists host names that the computer looked up recently, without pages, dates or times. That is not your history.
- Searching for index.dat or “log files”. This advice comes from the days of Internet Explorer, which Microsoft retired in 2022. Chrome and Firefox keep their history in the files named above.
- Reading history from cookies. The cookie list shows which sites stored data in your browser. It shows no pages and no dates, and it is empty if you cleared cookies together with the history.
- File recovery programs. They search the disk for deleted files. Deleted history is not a deleted file: the browser removed entries from a file that is still there. We do not recommend paying for a tool that promises to recover browser history.
If you use a private browser
Kingpin, our private browser for Mac, by default remembers nothing after you quit, so there is nothing to restore later. If you want to find pages again, choose to keep history in Kingpin or save them as bookmarks.