This guide explains how to use Image URL Extractor, step by step, with screenshots of the real tool. It is written for site owners who want faster pages and better Core Web Vitals. Extract every image URL from page HTML, including srcset and lazy-load attributes, with alt text, ready for an image audit.
Quick answer: To use the Image URL Extractor, open the free tool, paste the input and tick the include alt text, then copy the converted output. Everything runs in your browser, so there is no sign up and nothing you type is stored on a server.
On this page

What is the Image URL Extractor?
Extract all img src, srcset and data-src URLs with alt text from HTML for image SEO audits.
Find oversized formats (PNG photos), missing alt text and images that should be WebP.
How to use Image URL Extractor step by step
-
Step 1: Open the Image URL Extractor
Go to the Image URL Extractor on hasnainsanmal.com. It loads with example values already filled in, so you can see how it works straight away. It works the same way on a phone, tablet or computer.
-
Step 2: Paste Input
Paste or type your text into Input.
-
Step 3: Tick Include alt text
Tick Include alt text if you want this option, or leave it empty to turn it off.
-
Step 4: Read the results
The output appears inside the tool card. Change any input to compare different scenarios.

Screenshot of the Image URL Extractor results. -
Step 5: Copy or download the output
Use Copy to take the result into your document, CMS, spreadsheet or report.
What does each field in the Image URL Extractor mean?
| Field | What to enter | Example |
|---|---|---|
| Input | Text, one item per line where asked | Your own value |
| Include alt text | Tick to turn on | on |
What does a worked example look like?
With the example inputs (Include alt text: on), the Image URL Extractor returns: Paste page HTML above.
Replace the example with your own input to get your own result, then review it before you use it.
How do you get the best results from the Image URL Extractor?
- Resize images to the width they are displayed at.
- Test the page again with PageSpeed Insights after changes.
For background, read the Google guide to Core Web Vitals. If you are working on a related task, our guide on how to use the Core Web Vitals Score Checker walks through it the same way. You can also browse all free Image and Page Speed Tools.
What mistakes should you avoid with the Image URL Extractor?
- Compressing images so hard that they look blurry.
- Uploading huge images and letting the browser shrink them.
- Lazy loading the main hero image, which slows Largest Contentful Paint.
Key terms
- WebP
- A modern image format from Google that usually produces smaller files than JPG or PNG at similar quality, and supports transparency. All current browsers support it, which makes it a good default for website images.
- Core Web Vitals
- Google metrics for real user experience: Largest Contentful Paint for loading, Interaction to Next Paint for responsiveness and Cumulative Layout Shift for visual stability. Good thresholds are 2.5 seconds, 200 milliseconds and 0.1.
- HTML
- HyperText Markup Language, the standard language that structures web pages with elements such as headings, paragraphs, links and images. Search engines read the HTML to understand page content, links and metadata.
- Character count
- The number of letters, numbers, spaces and symbols in a piece of text. Many platforms set limits by characters, such as title tags, meta descriptions and social posts, so counting before publishing avoids truncation.
- Search engine optimisation
- The practice of improving a website so it ranks higher in unpaid search results. It covers technical health, on-page content, links and user experience, and it follows Google Search Essentials rather than shortcuts.
Related free tools
Frequently asked questions
Is the Image URL Extractor free to use?
Yes. The Image URL Extractor is completely free, with no sign up, no daily limit and no watermark. It is one of more than 500 free SEO and marketing tools on hasnainsanmal.com.
Is my data stored when I use the Image URL Extractor?
No. The Image URL Extractor runs in your browser with JavaScript, so the values and text you enter are processed on your own device and are not sent to or saved on our server.
How accurate is the Image URL Extractor?
It follows standard rules for this format, so the output is reliable for normal input. Test the result in the place you will use it, especially for code.
Does the Image URL Extractor work on a phone?
Yes. The tool is built for screens from 360 pixels wide, so you can use the Image URL Extractor on a phone, tablet or computer in any modern browser.
Can I use the Image URL Extractor for client work?
Yes. You can use the results for your own sites and for client projects. Check the output first, and keep a note of the inputs you used so you can repeat the check later.
What should I do after using the Image URL Extractor?
Apply the result on your page, campaign or document, then measure the effect. If you would like expert help, see the SEO services or message Hasnain on WhatsApp for a free recommendation.
How we checked this guide: every step and screenshot was taken from the live Image URL Extractor on 2 November 2026. Further reading: Google image SEO best practices.




