search
HomeSystem TutorialMACHow to clear Safari history in a few clicks

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-tested

Luckily, 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:

  1. Go to Safari
  2. In the menu bar, select History ➙ Clear History…
  3. In the dropdown, pick an appropriate ranger (the last hour, today, today and yesterday, and all history)
  4. Click Clear History

How to clear Safari history in a few clicks

If you want to delete history from Safari but not cache or website data, you can do this another way:

  1. Launch Safari
  2. Show All History (⌘ Y)
  3. Select all (⌘ A)
  4. Hit Delete

How to clear Safari history in a few clicks

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:

  1. Open Safari
  2. Go History ➙ Show All History (⌘ Y) in the menu bar
  3. Just click on single pages and then Delete
  4. Alternatively, you can hold ⌘, select a few pages, and then Delete

How to clear Safari history in a few clicks

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:

  1. Go to Safari ➙ Preferences (⌘ ,)
  2. Switch to the Privacy tab
  3. Click Manage Website Data…
  4. Either select Remove All, or pick a few websites to delete and click Remove

How to clear Safari history in a few clicks

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:

  1. Open Safari
  2. Go to Preferences (⌘ ,)
  3. 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!

How to clear Safari history in a few clicks

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:

  1. Launch the app
  2. Go to the Privacy tab
  3. Click Scan
  4. Check Safari
  5. Make sure all the items you need are selected
  6. Click Remove

How to clear Safari history in a few clicks

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:

  1. Go to Settings
  2. Scroll down and tap Safari
  3. Scroll again and select Clear History and Website Data
  4. 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:

  1. Go to Settings
  2. Tap Screen Time
  3. Select Content & Privacy Restrictions
  4. Turn the toggle off
  5. 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:

  1. Go to Settings on your iPhone
  2. Tap on your iCloud profile
  3. Tap iCloud
  4. Toggle Safari off and back on
  5. 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:

  1. In Finder, select Go ➙ Go to Folder… (Shift ⌘ G)
  2. Type ~/Library/Safari and tap Enter
  3. Select the history.db file
  4. Open Time Machine from the menu bar
  5. Scroll back in time just slightly before you deleted the history item you need
  6. 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:

  1. Launch the app
  2. Select your hard drive
  3. Click “Search for lost data”
  4. Search for history.db
  5. Select it and click Recover

How to clear Safari history in a few clicks

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!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Launch All Apps & Documents Related to a Project with Stapler for MacLaunch All Apps & Documents Related to a Project with Stapler for MacMay 13, 2025 am 10:37 AM

Longtime Mac users may recall a handy old shareware application for the Classic Macintosh called Stapler, which essentially helped manage projects by grouping a series of apps and documents into a single document that when opened would then launch al

How to Get Apple Intelligence on Your iPhone, iPad, or MacHow to Get Apple Intelligence on Your iPhone, iPad, or MacMay 13, 2025 am 10:32 AM

Apple Intelligence is a set of AI features that Apple is rolling out in beta, and will debut to a larger set of Apple device owners in the fall. Apple Intelligence offers many features from writing and creating text and emails, to taking actions and

MacOS Sonoma 14.6.1 & Ventura 13.6.9 Released with Bug FixesMacOS Sonoma 14.6.1 & Ventura 13.6.9 Released with Bug FixesMay 13, 2025 am 10:25 AM

If you feel like you have spent a significant amount of your time updating system software on your Apple devices lately, you’re in for a treat; another round of system software updates! This time around, Apple has released MacOS Sonoma 14.6.1 alon

MacOS Sequoia 15 Beta 6 Available for TestingMacOS Sequoia 15 Beta 6 Available for TestingMay 13, 2025 am 10:23 AM

Apple has issued the 6th beta version of MacOS Sequoia for users enrolled in the developer beta testing program. Usually a matching public beta build arrives soon after, which in this case dev beta 6 would be versioned as public beta 4. MacOS Sequoia

MacOS Sonoma 14.6 Update Released with Bug Fixes & Security UpdatesMacOS Sonoma 14.6 Update Released with Bug Fixes & Security UpdatesMay 13, 2025 am 10:20 AM

Apple has released macOS Sonoma 14.6 for Mac users running the Sonoma operating system. The MacOS Sonoma 14.6 software update primarily focuses on bug fixes and security updates for most Macs, however it does include a nice new feature specifically

MacOS Sequoia 15 Beta 5 Available to DownloadMacOS Sequoia 15 Beta 5 Available to DownloadMay 13, 2025 am 10:06 AM

MacOS Sequoia beta 5 is now available for users enrolled in the developer beta testing program to download and install onto their Macs. MacOS Sequoia beta 5 carries the build of 24A5309e, and usually a new developer beta build is soon followed by a m

Beta 2 of iOS 18.1, MacOS Sequoia 15.1, & iPadOS 18.1 Released with Apple IntelligenceBeta 2 of iOS 18.1, MacOS Sequoia 15.1, & iPadOS 18.1 Released with Apple IntelligenceMay 13, 2025 am 09:49 AM

Apple has released the second beta of iOS 18.1, iPadOS 18.1, and MacOS Sequoia 15.1, each with support for Apple Intelligence AI features, on supported devices anyway. The release of these new beta updates is unusual in that they’re concurrent wit

How to Uninstall VMWare Fusion on MacHow to Uninstall VMWare Fusion on MacMay 13, 2025 am 09:44 AM

You might be aware that VMWare Fusion Pro is now free to download and install, and perhaps you installed it on a Mac to test virtual machines or to play around with, and now you’ve decided you no longer need VMware on the Mac. But VMware Fusion P

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Article

Hot Tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools