Web Image Exporter
A practical JavaScript bookmark tool for quickly exporting all images from a webpage. Save this code as a bookmark and click to run on any webpage.
Bookmark Code
javascript:(function(){
var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
link.href = 'data:image/svg+xml,...';
if (window.imageExporterActive) return;
window.imageExporterActive = true;
const script = document.createElement('script');
script.src = 'http://127.0.0.1:59888/static/image-exporter.js';
script.onerror = function() {
alert('Cannot load image exporter, please check network');
window.imageExporterActive = false;
};
document.head.appendChild(script);
})();
How to Use
- Copy the code — Click the "Copy Code" button above to copy the JavaScript bookmark code to your clipboard.
- Create a bookmark — In your browser, create a new bookmark. Paste the copied code into the URL/location field (not the name field).
-
Configure the local service — Make sure the Image Exporter service is running on
127.0.0.1:59888. The tool relies on a local backend to process image downloads and format conversions. - Use it on any page — Navigate to the webpage from which you want to export images, then click your saved bookmark. The exporter panel will appear.
- Features — Preview all images, filter by size and format, select specific images, and download them individually or as a batch ZIP file.
Important Notes
- This tool requires a modern browser that supports JavaScript bookmarks (Chrome, Firefox, Edge, Safari, Brave).
- Some websites with strict Content Security Policy (CSP) headers may block the script from loading.
- JavaScript must be enabled in your browser for the bookmark to function.
- The script loads from port 59888 on localhost. Ensure your firewall does not block this connection.
Frequently Asked Questions
What is the Web Image Exporter?
The Web Image Exporter is a JavaScript bookmark that lets you extract and download all images from any webpage with a single click. It works by injecting a lightweight script into the page, opening a panel where you can preview, filter, and batch-download images in multiple formats. It's designed for designers, developers, and researchers who need to quickly collect visual assets from web pages.
Which browsers are supported?
The Image Exporter works on all modern browsers that support JavaScript bookmarks (bookmarklets), including Chrome, Firefox, Edge, Safari, and Brave. Mobile browsers may have limited bookmarklet support — desktop is recommended for the best experience. If your browser syncs bookmarks across devices, you can set it up once and use it everywhere.
Are there any limitations?
The tool cannot bypass Content Security Policy (CSP) restrictions that block inline scripts or external resource loading. Some websites with strict CSP headers may prevent the script from running. Additionally, images loaded dynamically via JavaScript after page load may not be detected unless they are present in the DOM at the time of export. Background images defined in CSS are also not included.
Is my data secure?
Yes. The Image Exporter runs entirely in your browser. Images are processed locally and never uploaded to any server. The script communicates only with the local service running on 127.0.0.1:59888, which handles image format conversion on your own machine. No data leaves your computer. We do not collect, store, or transmit any of your images or browsing data.