Have you ever wanted to recover deleted Safari history on a Mac? Maybe you unintentionally cleared all history and web data or deleted specific Safari history and you’d like to reverse those decisions and get the browsing history back? Or maybe you’re doing a little bit of investigative work for some reason or another, or you’d like to explore some simple digital forensics for Safari browser history on a Mac?
We’ll show you a simple way of recovering deleted Safari history on a Mac.
Since we’re aiming for a simple approach here, we’ll be relying on Time Machine, the backup service on Macs, which happens to offer the simplest way to recover deleted Safari history on a Mac – or recover any deleted file for that matter – though our focus here is on the Safari web browser. Thus, this approach obviously requires an accompanying Time Machine backup used by the particular Mac in question. If the Mac does not have a Time Machine backup setup and regular backups that are maintained, this simple history recovery approach will not work. Because this restores via a backup, any interim data between when that backup was made and when the restore happened will be lost, so keep that in mind before beginning this process, particular if the current browser history is also important – it’d be wise to back it up first too.
How to Recover Deleted Safari History on a Mac, the Easy Way
Assuming you have the Time Machine backup, here is how you can recover deleted Safari history on a Mac:
- Quit out of Safari in Mac OS if you have not done so already
- Connect the Time Machine backup drive to the Mac if it is not already connected
- From the Finder, pull down the “Go” menu and choose “Go To Folder” and enter the following path:
- Once you’re in the ~/Library/Safari directory, select the “History.db” file and then pull down the Time Machine menu in the upper-right corner and choose “Enter Time Machine”
- Navigate and scroll through Time Machine history of the ~/Library/Safari/ directory, when you reach the desired date that contains the Safari history data you’d like to recover, click on the “Restore” button in Time Machine
- When Time Machine finishes restoring the ~/Library/Safari/ directory, you’re now free to access the freshly recovered version of the deleted Safari history
- Relaunch Safari on the Mac with the freshly restored History now intact
- In Safari, pull down the “History” menu and choose “Show All History”
- You can now browse, search, and find specific Safari history from the restored Safari History.db file just like you would as usual
~/Library/Safari/
That’s it, now you have restored the browser history from Safari that was deleted!
Inside the ~/Library/Safari/ folder on the Mac, you’re specifically looking for the “History.db” file, which can be a good size depending on how much web browsing you do. It’s essentially just a database file that you can query directly with SQL if you’d like to, but that’s not what we’re going to do here since you can also just access, search, and browse through Safari history in Safari on the Mac itself, and we’re aiming to keep things simple for this particular tutorial.
Note this approach will only work for recovering and restoring Safari browsing history that was deleted or cleared from the Mac, it will *not* work for recovering a private session where no history was created. For example, if you use Private Browsing in Safari for Mac to prevent history from being gathered in the first place, there would be no history data to restore from Time Machine (or in general outside of some complicated memory or swap extraction attempt anyway, which is exceedingly more advanced than this tutorial would even attempt to imply, though it could be theoretically possible in some scenarios).
Obviously this approach is for the Mac, but theoretically you could use a similar method for iOS too. Users can always search Safari History on the iPhone or iPad too, as well as delete specific browser history on the iOS Safari browser, but to recover deleted Safari history in iOS you would need to be able to restore a device with a backup either from iCloud or iTunes that contained the deleted Safari history. That’s a topic for another article however, so that won’t be discussed here.
Was this helpful to you if you needed or wanted to restore deleted Safari web browser history on a Mac? Do you know of another approach that works? Share your comments and experiences in the comments below!
Follow Me:
Top Best Sellers!!