Remove Embed iframe Bookmarklet
Free Remove Embed iframe bookmarklet: deletes every iframe, embed and object (ads, videos, widgets) from the page, then restores them on a second click.
On a phone? Use Copy code, then save it as a bookmark's URL — step-by-step guide.
The Remove Embed iframe bookmarklet clears a page of everything that is loaded from somewhere else: ad slots, autoplaying video players, social media embeds, chat widgets, comment systems, maps and old Flash-style <embed> and <object> elements. One click, and the page is just the page.
Removing an iframe also stops whatever was running inside it, so noisy video ads go quiet, CPU-hungry widgets stop, and the content you came for reflows into the freed space. A toast tells you how many elements were removed.
Unlike most versions of this bookmarklet, this one is reversible. Each removed element is replaced with an invisible marker, and clicking the bookmarklet again puts every embed back in its exact place. That makes it useful for developers and QA testers too: check how a layout behaves without third-party embeds, measure their impact, or find which iframe is breaking the page.
What it does
- Removes all iframe, embed and object elements from the page (nested ones are handled once)
- Stops the content inside them, such as ads, video players and widgets
- Shows how many embeds were removed
- Second click restores every removed element in its original position
- Leaves the rest of the page, including your scroll position, untouched
How to install the Remove Embed iframe bookmarklet
- Show your bookmarks bar. Press
Ctrl+Shift+Bon Windows/Linux orCmd+Shift+Bon a Mac (Chrome, Edge, Brave, Firefox). In Safari choose View › Show Favorites Bar. - Drag the blue button above onto the bar. That's it — the bookmark now holds the code.
- Open any website and click the bookmark to run it on that page. Click it again to close it.
Can't drag (phone, tablet, locked-down browser)? Copy the code below, create any bookmark, then edit it and paste the code as its URL. See how to add a bookmarklet in every browser.
How to use it
- Open a page cluttered with ads, video embeds or widgets.
- Click Remove Embed iframe and read the count in the toast.
- Read or test the page without the embeds.
- Click the bookmarklet again to bring everything back.
What comes back on restore
Restored iframes reload their content from scratch, so a video starts from the beginning and an ad may show something new. Some sites re-insert ads with JavaScript after a while; just click again. Note that embedded videos from YouTube or Vimeo are iframes too, so they are removed along with ads. Developers can use it to estimate how much third-party embeds slow a page: remove them, then watch CPU and memory in the browser task manager. It also helps when a full-screen iframe overlay blocks clicks on the content behind it.
Bookmarklet code
This is the exact code inside the button above (1,609 characters). It runs only in your browser and sends nothing to us. Paste it into the Bookmarklet Decoder to read it formatted.
Frequently asked questions
Can I undo it?
Yes. Click the bookmarklet a second time and all removed embeds are put back where they were.
Does it block ads permanently?
No. It only cleans the current page view; reloading the page brings everything back.
Will it remove YouTube videos?
Yes, embedded players are iframes. Restore them with a second click if you need them.
Related bookmarklets
Free Remove Images bookmarklet: hides every image, picture, SVG image and CSS background for distraction-free reading.…
Free Sticky Header Killer bookmarklet: unsticks fixed headers, hides cookie banners and overlays, and re-enables…
Free Reader Mode bookmarklet: opens a clean reading view of any article without ads or sidebars. Adjust text size, choose…
Hover and click to hide ads, popups, banners or any element on a page, with Undo and Restore all. Ideal for clean…