In the Safari app on your Mac, choose History > Clear History, then click the pop-up menu.
Choose how far back you want your browsing history cleared.
When you clear your history, Safari removes data it saves as a result of your browsing, including:
History of webpages you visited
The back and forward list for open webpages
Top Sites that aren’t marked as permanent
Frequently visited site list
Icons for webpages
Snapshots saved for open webpages
List of items you downloaded (downloaded files aren’t removed)
Websites added for Quick Website Search
Websites that asked to use your location
Websites that asked to send you notifications
Websites with plug-in content you started by clicking a Safari Power Saver notice