We use cookies to keep this site working and, with your permission, to remember your preferences, understand site traffic and support advertising. You can change your choice at any time. Cookie Policy

SEO Tool Orbit
AI Image Tools

How to Use AI to Improve Website Images and Image SEO

Images make pages useful — and slow. Learn how to compress, resize, convert and enhance them, and how to write alt text that helps people and search engines.

By SEO Tool OrbitUpdated October 30, 20266 min read

Illustration of a large image being converted into a smaller, optimised version
Smaller files, same visible quality. · Original illustration by SEO Tool Orbit

Images are often the most useful thing on a page — a product photo, a screenshot, a diagram — and the heaviest. A few oversized files can make a fast site feel slow, and missing descriptions leave screen-reader users and search engines guessing what an image shows.

In short: resize images to the size they're displayed, compress them, serve modern formats like WebP or AVIF, set dimensions to prevent layout shifts, and write alt text that describes what matters. Use AI enhancement to improve genuinely low-quality images, not to invent detail.

Start with dimensions

The most common image problem is a file far larger than its display size — a 4000-pixel-wide photo shown in an 800-pixel column. Resize to roughly the largest size it will be displayed at (allowing for high-density screens), not the size your camera produced.

The Resize Image tool resizes by pixels or percentage, and Crop Image crops to a fixed aspect ratio such as 16:9 or 1:1 — useful for consistent card images.

Compress without visible quality loss

Compression removes data you won't notice. The Compress Image tool shrinks JPG, PNG, WebP and AVIF files. Check the result at actual size: if you can't see a difference, the smaller file wins.

Choose modern formats

FormatGood forNotes
WebPPhotos and graphicsUsually much smaller than JPG or PNG; supported by current major browsers
AVIFPhotosOften smaller still; check support for your audience's browsers
JPGPhotosUniversal fallback
PNGImages needing exact pixels or transparencyLarge for photos
SVGLogos, icons, simple illustrationsScales without losing sharpness

The Image Converter converts between JPG, PNG, WebP, AVIF, GIF and TIFF. Many site platforms, including Next.js's image component, can also generate modern formats automatically from a single upload.

Write descriptive alt text

Alt text is read aloud by screen readers and shown when an image fails to load. It also helps search engines understand the image. Good alt text:

  • Describes what matters in context. "Bar chart showing page weight falling after image compression" says more than "chart".
  • Is concise — usually a sentence or less.
  • Skips "image of"; screen readers already announce it's an image.
  • Is empty for decorative images (alt="") so they're skipped.
  • Doesn't stuff keywords. Describe the image; don't list search terms.

AI can suggest alt text, but review it: models may describe an image generically or get details wrong, and they don't know why the image is on your page.

Enhancement and upscaling

AI upscaling can rescue a small or soft image — an old product photo, a low-resolution logo. The Make Image HD tool enhances, sharpens and upscales images 2× or 4× with a before/after comparison.

Use it responsibly:

  • Upscaling adds plausible detail; it can't recover detail that was never captured.
  • Check faces, text and fine patterns closely — artefacts appear there first.
  • Don't use enhancement to make product photos look better than the real product.
  • After upscaling, resize and compress for the web; a 4× image is rarely what the page needs.

Performance considerations

  • Set width and height (or a CSS aspect ratio) so the browser reserves space and the layout doesn't shift as images load.
  • Lazy-load images below the fold with loading="lazy"; load the main image above the fold normally.
  • Serve responsive sizes with srcset so phones download smaller files.
  • Prioritise the main image when it's the largest element on screen, so it isn't queued behind less important files.
  • Measure the result with PageSpeed Insights, which flags oversized images and shows your Largest Contentful Paint.

An SEO Audit also reports missing alt text, oversized and broken images across the whole site — see how to act on audit results.

A simple image workflow

  1. Crop to the aspect ratio your layout uses.
  2. Enhance only if the source is genuinely low quality.
  3. Resize to the largest display size you need.
  4. Convert to WebP or AVIF and compress.
  5. Upload with a descriptive file name and alt text.
  6. Check the page's performance.

Image SEO beyond the file

Search engines understand images partly from their surroundings. Help them, and your readers:

  • Place images near the text they illustrate, and refer to them where useful.
  • Use captions when an image needs context or a credit.
  • Use real <img> elements for meaningful images; images set as CSS backgrounds aren't treated as content.
  • Keep image URLs stable. Changing an image's address means search engines have to discover it again.
  • Make important images discoverable — if they are loaded in ways crawlers may miss, list them in your sitemap.

A worked example: a product photo

Suppose a shop uploads a product photo straight from a camera: a 6000-pixel-wide JPG of several megabytes, displayed in a column about 800 pixels wide. A sensible treatment:

  1. Crop to the 1:1 ratio the product grid uses.
  2. Resize to around 1600 pixels wide — enough for high-density screens at that size.
  3. Convert to WebP and compress, checking the result at full size for artefacts.
  4. Name the file after the product, for example oak-side-table-natural.webp.
  5. Write alt text that describes it: "Natural oak side table with a single drawer, front view".

Shoppers see the same quality; the download is a fraction of the original's size, and the image is described for everyone who can't see it.

Common image mistakes

  • Uploading one huge image and letting the browser shrink it.
  • Lazy-loading the main image at the top of the page, which delays it.
  • Putting important information in text inside images, which screen readers and search engines can't read reliably.
  • Copying the same alt text across different images.
  • Using images you don't have the rights to.

Frequently asked questions

Do file names matter for image SEO?

A descriptive file name such as blue-running-shoe-side.webp is a small helpful signal and easier to manage than IMG_4821.jpg.

Should every image have alt text?

Every image should have an alt attribute. Meaningful images need a description; purely decorative ones should have an empty value.

Is AI-generated imagery acceptable on a website?

It can be, if it's honest about what it shows and you have the right to use it. Don't present generated images as real photos of products, places or people.

It depends on your layout. Check the largest width your theme displays it at and provide roughly twice that for high-density screens; 16:9 images around 1200 pixels wide are a common choice for article headers and social sharing.

Should I use AVIF or WebP?

Both are good choices. WebP has very broad support; AVIF often compresses further. Many sites serve AVIF where it's supported, with WebP or JPG as a fallback — modern image components can handle this automatically.

Does compressing images reduce quality?

Lossy compression removes some data, but at sensible settings the difference is usually invisible at normal viewing size. Compare the result with the original before replacing it, especially for images with fine detail or text.

Can I optimise images that are already on my site?

Yes. Start with the largest images on your most visited pages, replace them with optimised versions — at the same address where your platform allows it — and test the page again.

Next step

Find the three largest images on your most visited page, then resize, convert and compress them and add proper alt text. Building a new page? See optimising AI-generated landing pages, and for the full toolkit, our AI SEO tools guide.

Illustration of a PDF document with text lines and a heading, examined by a magnifying glass, with a tag label and a check mark

Technical SEO

How to Make PDFs Searchable and SEO-Friendly

Guides, menus, manuals and reports often live in PDFs. Search engines can index them — if the text is real, the file is labelled and you control what should and shouldn't appear.

7 min read