How to clear specific Safari history items?

How to remove specific and/or all Safari history entries on Mac computers?

You may have considered whether it possible to delete specific history items from the Safari browser. Many users clear their entire browsing history, rather than targeting specific items they wish to delete. Functions such as clearing the past hour, day, two days, etc. are generally known by most users, since they are accessible within Safari's main menu. Below, however, we introduce additional features to check and remove the entire browsing history as well as specific URLs.

This capability might be useful if you wish to clear the browsing history and leave only important addresses - selectively deleting items from your Safari history. This will enable your history to show only important websites that you determine. As well as the above reasons, clearing browsing history is also another useful way to prevent children or other users from finding inappropriate websites or content. In this article, we cover the most efficient ways to clear specific history items for various periods in the Safari browser.


Table of Contents:

Remove specific history items from Safari on the Mac

We start with the most important and useful function: deleting specific items from the Safari history. Launch Safari, click on History in the menu bar at the top of the screen, and then select the 'Show All History' option from the expanded menu.


A new window with all existing history items will open. If you wish to find a specific item, it will be much easier if you type the title or part of URL into the search field at the top right corner.


Select an entry, or hold down Command and mark as many as you wish. Then right-click or Control-click to access the menu, select Delete from the pop-up menu, or simply press the Delete key on the keyboard.


Repeat this procedure until you remove all unwanted entries from the Safari history. Bear in mind, that if you clear your history in this way, it will be deleted permanently. If, however, you have created a Time Machine backup, these history items might restored together with the full Safari history that was saved before you created the backup file. An alternative method is to use a Private window to visit specific websites. In this way, any information about that particular session will not be stored under the Safari history.

[Back to Table of Contents]

Clear most recent and all Safari history

Most Mac users know how to clear Safari's browsing history, including additional functions such as clear history for the past hour, day, two days, and/or all existing history. There are, however, a number of additional functions that are not as well known. For example, clearing the history, while all other website data such as cookies and login details remain. To clear the Safari history, launch the app and click on Safari in the menu bar at top of the screen. Then select Clear history. A new window will pop-up asking you to choose the history period to be deleted. Choose from past hour, day, two days, or all history. Click Clear history.


In this example, we will clear the history, but leave website data untouched. Hold down the Option (Alt) key on the keyboard and click on Safari in the menu bar at top of the screen. The 'Clear History' option will now be automatically switched to 'Clear History and Keep Website Data' - click this option and you will be prompted to select the required history period.


The last, and probably least known function, is manual website data clearing, whereby you can clear all website data, including caches files and cookies, and also specific website data. To access this feature, launch Safari and go to Preferences by clicking on Safari in the menu bar at top of the screen and selecting Preferences. Alternatively, press the keyboard shortcut of Command and Comma (,) to access Safari's preferences. Select the Privacy tab and then click on the Manage website data button.


More detailed information can be found in the Clear Safari cache and cookies article.

Video showing how to clear specific items and all Safari history on the Mac

[Back to Top]

About the author:

Tomas Meskauskas

I am passionate about computer security and technology. I have an experience of 10 years working in various companies related to computer technical issue solving and Internet security. I have been working as an editor for since 2010. Follow me on Twitter to stay informed about the latest tech news or online security threats. Contact Tomas Meskauskas.

Our guides are free. However, if you want to support us you can send us a donation.