
By default, Safari deletes only the last hour of browsing history, but you can also tell it delete all history in one go.
#Safarirestore for free
Instead, you should open it using a database browser like DB Browser for SQLite, which you can download for free right from its official website.Īfter installing DB Browser for SQLite, launch the app and click Open Database. That’s because History.db is actually an SQLite database file, and it’s not intended to be viewed in a regular text editor. You will see a long text file that’s anything but easy to decipher.

Just like most other web browsers, Safari keeps it automatically to make it easier for users to revisit familiar websites without having to enter their addresses over and over again. Safari history is a database containing previously visited websites.
#Safarirestore how to
What Is Safari History and How to Find It? How to Perform Safari History Recovery?.How Can Safari History Be Deleted and When It Can Be Recovered?.What Is Safari History and How to Find It?.Rm -Rf ~/Library/Saved\ Application\ State/. Rm -Rf ~/Library/Preferences/Apple\ -\ Safari\ -\ Safari\ Extensions\ Gallery Rm -Rf ~/Library/Cookies/Cookies.binarycookies Rm -Rf ~/Library/Caches/Apple\ -\ Safari\ -\ Safari\ Extensions\ Gallery Mv ~/Library/Safari ~/Desktop/Safari-`date +%Y%m%d%H%M%S` After you run each command, the Terminal will prompt for confirmation to delete said files. Enter the below commands commands, one line at a time.Click Force Quit and select Safari to completely close it. Next, open the Apple menu at the top-left corner of your screen.Open the Terminal app (you can find it easily using Spotlight with Cmd + Space).

Refer to our beginner's guide to the Mac Terminal for using it effectively.
#Safarirestore series
Using the Terminal to reset Safari to its default state means you'll have to use a series of commands.
