How to block inappropriate images in Chrome, Edge and Firefox

No browser has a single switch called "block inappropriate images". What works is a few layers: a search filter, the content settings of the sites you use, and a filter that looks at the pictures themselves. This guide goes through them in order, free options first.

1. Turn on SafeSearch in your search engine

Most unwanted images arrive through search, so start there. The setting belongs to the search engine, not to the browser, so it works the same in Chrome, Edge and Firefox.

  • Google: open google.com/safesearch and select Filter. Google describes the three choices as Filter ("Blocks all explicit results"), Blur ("Blurs explicit images") and Off. Details are in Google's SafeSearch help.
  • Bing: on Bing.com open the menu at the top right, then Settings and More, and set SafeSearch to Strict. The default, Moderate, filters explicit images and videos but not text (Microsoft's instructions).
  • DuckDuckGo: choose strict in the Safe Search menu under the search box, or search from safe.duckduckgo.com, where strict is always on (DuckDuckGo help).

SafeSearch only filters search results. Google says so itself: it "doesn't affect content on other search engines or websites". Our guide When SafeSearch is not enough covers the gaps.

2. Use the content settings of the sites you visit

Large sites have their own filters, and they are worth two minutes each:

  • YouTube: click your profile photo and turn on Restricted Mode at the bottom of the menu. It is set per browser, so repeat it in every browser you use (YouTube help).
  • X: under Privacy and safety > Content you see, leave "Display media that may contain sensitive content" unchecked.
  • Reddit: under Settings > Preferences, keep "Show mature (18+) content" off.

The full list, including Instagram, Facebook and TikTok, is in How to hide images on social media.

3. The browser's own image switch: all or nothing

Each browser can stop loading images completely. That is the only image control built into them: none of the three can tell an inappropriate picture from a harmless one.

  • Chrome: open Settings > Privacy and security > Site settings > Images, or type chrome://settings/content/images in the address bar. You can stop all sites from showing images, or only the sites you list (Chrome help).
  • Edge: type edge://settings/content/images in the address bar. The page offers the same choice: every site, or a list of blocked sites.
  • Firefox: there is no switch in the settings. The advanced preference permissions.default.image in about:config blocks all images when it is set to 2 (how the Configuration Editor works). Change it only if you are comfortable undoing it.

Blocking every image is useful on one or two sites you only read. Across the whole web it breaks maps, shops, photo captchas and most news pages, which is why few people keep it on.

4. Add a filter that checks each image

The gap between "filter search results" and "hide every image" is filled by an extension that looks at the pictures. Halal View is a free one for Chrome, Edge and Firefox:

  • Photos stay hidden while an AI model checks them. Clean photos appear; porn, nude and suggestive photos stay hidden.
  • The model runs on your own device. No photo is uploaded, and there is no account.
  • It works on any website, including image search results and feeds that load as you scroll.
  • Click a hidden photo to show it when the filter is wrong, and pause the filter on a site you trust.

It has limits you should know. It checks images, and playing videos on sites where the browser lets extensions read the video picture; elsewhere only a video's preview image is checked. Like every automatic filter it can miss a photo or hide a harmless one. Use it together with steps 1 and 2 rather than in place of them.

5. Block adult websites as a whole

Image filters handle ordinary sites. For sites that exist only to show adult content, blocking the whole address is simpler and stronger. A free family DNS filter does that for every browser on the computer at once: see How to block adult websites on a computer.

Which layer does what

LayerCoversMisses
SafeSearchResults of one search engineEvery other website
Site settings (YouTube, X, Reddit)Content the site has labelledUnlabelled posts, other sites
Browser image switchAll imagesNothing, but pages break
AI image filterImages on any pageVideos on some sites, occasional mistakes
Family DNS filterWhole adult websitesImages on allowed sites

Frequently asked questions

How do I block inappropriate images on Google?

Open google.com/safesearch and select Filter. It removes explicit results from Google Search and Google Images. It does not change what other websites show.

Can Chrome block inappropriate images by itself?

No. Chrome can stop all images from loading, for every site or for sites you choose, but it has no setting that recognises what a picture shows. That needs SafeSearch for search results and an extension for other pages.

Is there a free extension that blocks inappropriate images?

Yes. Halal View is free for Chrome, Edge and Firefox. It checks photos with an AI model on your device and hides the ones that are explicit or suggestive, without uploading anything.

Do these settings also work in private or incognito windows?

Search and site settings saved to your account apply only while you are signed in. Extensions are off in private windows unless you allow them in the browser's extension settings. A DNS filter applies everywhere.

Written by the developer of Halal View. Last updated:

Browse with fewer unwanted surprises

Free, private and on-device. Install in seconds.