Stop Animated GIFs From Auto-Playing in Your Browser
In this article
Animated GIFs can be distracting, slow down page loading, and drain battery life. This guide shows you how to stop them from playing automatically in the most popular browsers—Chrome, Firefox, Edge, and Safari—using built-in settings or simple extensions. You don't need any technical skills, just a few minutes and the ability to follow menu paths.
What You'll Need
- A computer or laptop running one of the major browsers (Chrome, Firefox, Edge, or Safari).
- For Chrome and Edge: access to the browser's extension store (free).
- For Firefox: access to the Firefox Add-ons site (free).
- For Safari: macOS with the ability to change system settings.
Step-by-Step
Google Chrome
- Open Chrome and click the three-dot menu in the top-right corner.
- Select Settings from the dropdown.
- Scroll down and click Privacy and security in the left sidebar.
- Click Site settings.
- Scroll down to the Content section and click Images.
- Toggle the switch next to Show all images to Off. This will block all images, including GIFs, from loading automatically. (Note: This also blocks static images; you can re-enable per-site exceptions later.)
- Alternatively, install the GIF Blocker extension from the Chrome Web Store. After installation, click the extension icon and select Pause GIFs to stop animation on all sites.
Mozilla Firefox
- Open Firefox and type
about:configin the address bar. Press Enter. - Click Accept the Risk and Continue if prompted.
- In the search box, type
image.animation_mode. - Double-click the preference
image.animation_modeto change its value fromnormaltonone. This stops all GIF animations. - To restore animations later, change the value back to
normal.
Microsoft Edge
- Open Edge and click the three-dot menu (…) in the top-right corner.
- Select Settings.
- Click Cookies and site permissions in the left sidebar.
- Scroll down and click Images.
- Toggle the switch next to Show all images to Off. This blocks all images, including GIFs.
- For a more selective approach, install the GIF Blocker extension from the Edge Add-ons store. Click the extension icon and choose Pause GIFs.
Safari (macOS)
- Open Safari and click Safari in the menu bar, then select Settings (or Preferences in older versions).
- Click the Websites tab.
- In the left sidebar, select Images.
- For each website listed, change the setting from Allow to Block. This blocks images (including GIFs) on that specific site.
- To block all images globally, go to the Advanced tab and check Show features for web developers. Then, in the menu bar, click Develop and select Disable Images. Note that this also disables all images, not just GIFs.
Common Mistakes
- Blocking all images instead of just GIFs: In Chrome and Edge, turning off “Show all images” blocks static images too. If you only want to stop GIFs, use an extension instead.
- Changing the wrong Firefox preference: The
image.animation_modemust be set tonone, notfalseor0. Double-check the spelling. - Forgetting to refresh the page: After changing settings, you need to reload the page for the change to take effect. Press F5 or Ctrl+R (Cmd+R on Mac).
- Not clearing browser cache: Sometimes old GIFs are cached and still animate. Clear your cache or hard-refresh (Ctrl+Shift+R) to see the new behavior.
Tips
- Use an extension that allows you to toggle GIF animation on/off with a single click, so you can enable animations on specific sites like social media when you want them.
- In Chrome and Edge, you can set per-site exceptions: after blocking images globally, click the lock icon next to the URL and adjust permissions for that specific site.
- In Firefox, you can create a bookmarklet that toggles
image.animation_modebetweennormalandnonefor quick switching. - If you use a content blocker like uBlock Origin, you can add a filter to block GIFs specifically (e.g.,
||example.com/*.gif).
Troubleshooting
- GIFs still animate after changing settings: Make sure you're on the correct browser profile. If you have multiple profiles, changes apply only to the profile you're using. Also, check if the site uses video instead of GIF (e.g., WebM or MP4) – those are not affected by these settings.
- Firefox
about:configpreference doesn't stick: Some browser updates may reset preferences. Re-apply the change after updates. Also, ensure you didn't accidentally set it tonormalagain. - Extension not working: Extensions may be disabled by the browser or conflict with other extensions. Try disabling other extensions, or reinstall the GIF blocker extension.
- Safari's “Disable Images” is grayed out: Make sure you've enabled the Develop menu. Go to Safari > Settings > Advanced, and check the box for “Show features for web developers”.
Frequently Asked Questions
Will blocking GIFs also block videos?
No. The settings described above only affect images (including GIFs). Videos embedded as HTML5 video will still play. If you want to block videos, you'll need separate extensions or settings.
Can I allow GIFs on specific websites while blocking them elsewhere?
Yes. In Chrome and Edge, after blocking images globally, you can click the lock icon in the address bar, go to Site settings, and set “Images” to “Allow” for that site. In Safari, you can set per-site permissions in the Websites tab.
Does this work on mobile browsers?
Most mobile browsers don't offer built-in options to disable GIF animation. However, some browsers like Firefox for Android allow you to change the image.animation_mode via about:config. Alternatively, use a browser with built-in data saver features that may reduce animations.
Will disabling GIFs speed up my browser?
Yes, it can. Animated GIFs consume CPU and memory, so stopping them can make pages load faster and reduce battery drain, especially on laptops and mobile devices.
Can I stop GIFs from playing automatically without blocking them entirely?
Yes. Some extensions allow you to click on a GIF to play it manually. For example, the “GIF Blocker” extension for Chrome and Edge pauses all GIFs, and you can click any GIF to play it once.
Why do some GIFs still animate after I've disabled them?
If the “GIF” is actually a video file (like MP4 or WebM) with autoplay, it won't be affected by image settings. Also, some websites use JavaScript to animate images. You may need to disable JavaScript for those sites, but that can break functionality.