How to clear Safari history in a few clicks
Every time you visit a webpage and load its URL, it gets recorded in your browser’s history. For a lot of Mac users that means Safari keeps track of all the pages they visited.
This browser history can be quite convenient. You don’t have to remember where you’ve read that article or watched that video. You can just search for it in your browser history list. Similarly, you don’t have to type out full URLs anymore — nearly all browsers support auto-completion now, so once you start typing “go” you’ll get “google.com” right away.
Browser history also syncs across your Apple devices, so you can open the same website on your iPhone or iPad instantly. Finally, when you visit websites, Safari saves its cookies and cache, so that the website loads quicker next time and remembers who you are, thus keeping you logged in, for example.
There are situations, however, where you’d rather not have Safari browsing history enabled. It might be for privacy reasons or just because you’ve mistyped a URL and now get the wrong one auto-completing every time.
Take control of your web browsing
Use the best apps and utilities from the Setapp collection to make sure everything you do on your Mac stays private.
Try free Security-testedLuckily, you have plenty of options to delete history from Safari.
How to clear Safari history completely
Safari gives you an easy way to remove history, cookies, and website data all at once from all iCloud-connected devices.
To clear history Safari keeps:
- Go to Safari
- In the menu bar, select History ➙ Clear History…
- In the dropdown, pick an appropriate ranger (the last hour, today, today and yesterday, and all history)
- Click Clear History
If you want to delete history from Safari but not cache or website data, you can do this another way:
- Launch Safari
- Show All History (⌘ Y)
- Select all (⌘ A)
- Hit Delete
How to clear one item from Safari search history on Mac
You don’t have to delete all history from Safari every time. If you want, you can just delete a single item or select a few items — it’s up to you.
To do that:
- Open Safari
- Go History ➙ Show All History (⌘ Y) in the menu bar
- Just click on single pages and then Delete
- Alternatively, you can hold ⌘, select a few pages, and then Delete
How to clear cookies and cache in Safari
Just like sometimes it makes sense to delete history but not cookies or cache, you might imagine scenarios where you’d like to delete cache and cookies but not history. Is that possible? Yes.
To manually clear cookies and cache (and other website data) in Safari:
- Go to Safari ➙ Preferences (⌘ ,)
- Switch to the Privacy tab
- Click Manage Website Data…
- Either select Remove All, or pick a few websites to delete and click Remove
How to clear Safari history and cookies automatically
If you want to keep your Safari history fresh and relevant, it’d be too much work to delete the files manually every time. Luckily, Safari has a built-in history remover feature:
- Open Safari
- Go to Preferences (⌘ ,)
- In the “Remove history items” dropdown, specify whether you want to delete items after one week, one day, two weeks, one month, or one year. Done!
The above, however, won’t delete other website data. And although Safari does remove cookies that haven’t been used in 30 days, it might not be fast enough for you. So you should use an automatic solution like CleanMyMac X.
CleanMyMac X is the world’s leading Mac optimizer, fixing everything from overloaded hard drives, to slow RAM and CPU, to malware-infected software. It can also update and uninstall apps, and even help you keep your browsing private.
Here’s how to clear Safari history as well as other website data with CleanMyMac X:
- Launch the app
- Go to the Privacy tab
- Click Scan
- Check Safari
- Make sure all the items you need are selected
- Click Remove
How to clear Safari history on iPhone
If you delete history from Safari completely on your Mac, it will automatically sync to all iCloud devices. However, you have an option to clear Safari history and website data from your iPhone as well.
To do that:
- Go to Settings
- Scroll down and tap Safari
- Scroll again and select Clear History and Website Data
- Confirm
Why can’t I delete my history on Safari?
In some cases, when you go to delete history from Safari on your iPhone, you might see the option unavailable, even though you have some history items in the web browser.
This most likely happens because you have Screen Time content restrictions enabled. To turn them off:
- Go to Settings
- Tap Screen Time
- Select Content & Privacy Restrictions
- Turn the toggle off
- Proceed to clear history Safari keeps as usual
Can I recover deleted history?
There will inevitably be a moment when you wish you didn’t delete something. There are a few ways to view deleted Safari history and recover your records.
If you’ve just removed a website from Safari’s history on your Mac, you can save it with your iPhone through iCloud:
- Go to Settings on your iPhone
- Tap on your iCloud profile
- Tap iCloud
- Toggle Safari off and back on
- In the pop-up, select Merge
The history from your iPhone will now override your Mac and, hopefully, bring back your website history record.
Another option is to use Time Machine (in case you use it for backups). The way to retrieve files from Time Machine is by going to a specific folder where those files were located and activating Time Machine from there.
In the case of Safari’s history:
- In Finder, select Go ➙ Go to Folder… (Shift ⌘ G)
- Type ~/Library/Safari and tap Enter
- Select the history.db file
- Open Time Machine from the menu bar
- Scroll back in time just slightly before you deleted the history item you need
- Click Restore
The popularity of Time Machine has decreased over the years. At the same time, backup and recovery tools like Disk Drill have become new Mac staples.
Disk Drill is both a recovery and backup utility for your Mac. If you’ve accidentally deleted files from your Mac (and even emptied the Trash), you can still get them back with Disk Drill. You can also regularly back up your files, so you’re sure that nothing can happen to them.
To recover deleted Safari history with Disk Drill:
- Launch the app
- Select your hard drive
- Click “Search for lost data”
- Search for history.db
- Select it and click Recover
As you can see, there are a few ways to clear history Safari saves on your Mac. There’s a manual option, of course, but if you’re tired from doing things manually, CleanMyMac X can help you automate anything on your Mac. And if you’ve accidentally deleted the wrong files, get them back to your Mac quickly with Disk Drill.
Best of all, CleanMyMac X and Disk Drill are both available to you absolutely free for seven days through the trial of Setapp, a platform with more than 230 Mac and iOS apps to find a solution for any tasks, from effectively running code with CodeRunner to creating screen time lapses with Hustl. Try every Setapp app today at no cost and discover a new side to your Mac.
The above is the detailed content of How to clear Safari history in a few clicks. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











After upgrading to the latest macOS, does the Mac run slower? Don't worry, you are not alone! This article will share my experience in solving slow Mac running problems after upgrading to macOS Sequoia. After the upgrade, I can’t wait to experience new features such as recording and transcription of voice notes and improved trail map planning capabilities. But after installation, my Mac started running slowly. Causes and solutions for slow Mac running after macOS update Here is my summary of my experience, I hope it can help you solve the problem of slow Mac running after macOS Sequoia update: Cause of the problem Solution Performance issues Using Novabe

macOS WindowServer: Understanding High CPU Usage and Solutions Have you noticed WindowServer consuming significant CPU resources on your Mac? This process is crucial for your Mac's graphical interface, rendering everything you see on screen. High C

OneDrive for Mac: A Comprehensive Uninstall Guide OneDrive, Microsoft's cloud storage service, offers online file storage and synchronization across various platforms, including Mac. However, you might need to remove it for storage optimization, inc

You can’t really use the internet nowadays without encountering the hashtag symbol that looks like this — #. Popularized on a global scale by Twitter as a way to define common tweet themes and later adopted by Instagram and other apps to c

If you need to quickly extract text from images but you don’t know how, it might bring your workflow to a halt. It’s better to be prepared and know how to automatically recognize text inside the screenshot, capture text from video, or copy an er

Managing Mac storage: A comprehensive guide to deleting files Daily Mac usage involves installing apps, creating files, and downloading data. However, even high-end Macs have limited storage. This guide provides various methods for deleting unneces

You might need to repair your Mac disk if your computer won’t start up, apps keep freezing, you can’t open certain documents, or the performance has slowed to a halt. Luckily, Apple includes a handy tool you can use to

Since Apple's first iPad was released in 2010, it has begun designing its own chips for its devices. The latest iteration of chips is the Apple A15 bionic chip on the iPhone 13. However, for Mac, the first Apple self-developed chip, the Apple M1, was not released until 2020 with the MacBook Air, Mac mini and MacBook Pro. In 2021, the 24-inch iMac followed closely, followed by improvements on the 14-inch and 16-inch MacBook Pro (as the Apple M1 Pro and A
