Extract Image URLs finds every image URL in your HTML or text and lists each one on its own line. Paste your HTML, click the button and copy the result. It is free and runs in your browser.
<a href="http://example.com/page1"><img src="http://example.com/images/image1.jpg" width="100" height="50" alt="One"></a> <a href="http://example.com/page2"><img src="http://example.com/images/image2.gif" width="100" height="50" alt="Two"></a>
http://example.com/images/image1.jpg http://example.com/images/image2.gif
Bookmark: press Ctrl+D (Windows) or Cmd+D (Mac) to save this tool.
This tool finds the image URLs in your HTML or text and puts each one on its own line. Everything else is removed from the result.
It returns the src value of every img tag, and any link that starts with http:// or https:// and ends with an image file type such as jpg, png, gif, webp or svg. A query string after the file name is kept. Data images and links to normal pages are skipped.
Use it to list the images of a web page, collect links for a download, or check which images an email or template uses. Repeated URLs can be listed once.
Each example shows the HTML or text before and after extracting. Duplicates are removed unless the option is off.
| Case | Before | After |
|---|---|---|
| HTML example | <a href="http://example.com/page1"><img src="http://example.com/images/image1.jpg" width="100" height="50" alt="One"></a> <a href="http://example.com/page2"><img src="http://example.com/images/image2.gif" width="100" height="50" alt="Two"></a> | http://example.com/images/image1.jpg http://example.com/images/image2.gif |
| Links in plain text | Logo: https://cdn.site.com/logo.png and https://cdn.site.com/hero.webp | https://cdn.site.com/logo.png https://cdn.site.com/hero.webp |
| Query string is kept | Photo: https://site.com/photo.jpg?w=600&h=400. | https://site.com/photo.jpg?w=600&h=400 |
| Relative img src | <img src="/images/a.png"><img src='b.jpg'> | /images/a.png b.jpg |
| Pages and data images are skipped | See https://site.com/page.html and https://site.com/icon.svg <img src="data:image/gif;base64,R0lGOD"> | https://site.com/icon.svg |
| Duplicates removed | https://x.com/a.png https://x.com/b.png https://x.com/a.png | https://x.com/a.png https://x.com/b.png |
| Duplicates kept (option off) | https://x.com/a.png https://x.com/a.png | https://x.com/a.png https://x.com/a.png |
Listing the images of a web page, collecting links to download or check, and finding which images an email, template or article uses.
Relative paths such as /images/a.png are returned as written, not turned into full links. Images set in CSS with url() or in srcset are only found when they are full links with an image file type. The result replaces your text, so use Undo if you need the original.
To get all links try Extract Urls. To get link and anchor pairs try Extract Links and Anchors.
It finds every image URL in your HTML or text and puts each one on its own line. Everything else is removed from the result.
Paste your HTML or text, or import a text file, then click Extract Image URLs. The URLs replace the text in the box. Click Copy to use them, or Undo to go back.
Two things are found. The first is the src value of every img tag, which can be a full link or a relative path such as /images/photo.png. The second is any link that starts with http:// or https:// and ends with an image file type: jpg, jpeg, png, gif, webp, svg, bmp, ico, avif, tif or tiff.
Yes. A link such as https://site.com/photo.jpg?w=600 is returned in full, including its query string.
Yes, by default. A URL used more than once is listed once. Untick Remove duplicate URLs to keep every match.
Yes. An img src that starts with data: is skipped, and so are links to pages such as .html or .php. Only img src values and links with an image file type are returned.
The text is left as it is and you see the message No image URLs found.
Yes. It is free, needs no account and runs in your browser, so your text is not uploaded to a server.
Last updated: 8 November 2026