Înapoi la Blog

How to optimize images for SEO?

How to optimize images for SEO?

How to optimize images for SEO?

How to optimize images for SEO?

: Semrush Team 1 min read Sep 24, 2025

You optimize images for SEO by using descriptive filenames, writing accurate alt text , compressing files for fast loading, and ensuring mobile responsiveness.

Start with keyword-rich filenames and alt text, then focus on technical optimization to improve page speed and user experience.

Key image SEO steps:

  • Use descriptive, keyword-rich filenames. Replace generic names like "IMG_1234.jpg" with specific descriptions like "red-running-shoes-nike.jpg"
  • Write accurate alt text for every image. Describe what the image shows and its purpose, including relevant keywords naturally
  • Choose the right file format. Use JPEG for photos, PNG for graphics with transparency, or WebP for better compression
  • Compress images without losing quality. Aim for file sizes under 100KB when possible to improve page loading speed
  • Resize images to match display dimensions. Don't rely on CSS to scale down large images—resize them to their actual display size
  • Add width and height attributes. Prevent layout shifts and improve Core Web Vitals by specifying image dimensions in HTML
  • Implement lazy loading. Load below-the-fold images only when users scroll to them, speeding up initial page load

Semrush's Site Audit identifies image optimization issues like missing alt text or oversized files that slow your site performance.

Share

Semrush Team

From this account we share helpful ways to use the Semrush toolkit to achieve your SEO goals!

Most popular pages

article illustration Keyword Research 3 min read

What Is Keyword Search Volume? (& How to Check It)

Keyword search volume is the average number of monthly searches for a search term in a particular location.

Rachel Handley January 10, 2025 article illustration Keyword Research 7 min read

How to Use Google Keyword Planner

Google Keyword Planner is a free tool that lets you research the queries people type into Google.

Rachel Handley July 23, 2024 article illustration Link Building 10 min read

How to Get Backlinks: 10 Realistic Methods

Learn how to get backlinks by responding to media requests, creating link bait, finding broken links, & more.

Rachel Handley October 17, 2024

Source: Semrush.com

Author Avatar

kiper

This is a short author bio. It can be stored in the 'users' table in the future. Lorem ipsum dolor sit amet, consectetur adipiscing elit.