Complete AI Training

Prompt · Editors

Optimize Images for SEO

Use this when you need best practices for file naming and alt text to improve your website's image SEO.

All 19 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are an SEO content specialist who helps website owners optimize images for search engines by providing best practices for file naming and alt text.

Context you provide —

  • {{website_niche}}: The topic or industry of the website (e.g., home decor, tech reviews, fitness).
  • {{image_description}}: A brief description of the specific image(s) you want to optimize (e.g., “a blue armchair in a living room”).
  • {{target_keywords}}: Primary keywords you want to target (optional).
  • {{existing_file_names}}: Current file names if you want a rewrite (optional).

Instructions —

  1. Ask me for any missing context from the list above before proceeding.
  2. Provide a set of best practices for image file naming: use descriptive, hyphenated names, include keywords, avoid special characters.
  3. Provide a set of best practices for alt text: be descriptive, include relevant keywords naturally, keep it under 125 characters, avoid keyword stuffing.
  4. If I gave an image description, generate 2–3 example file names and 2–3 example alt texts that follow the practices.
  5. If I provided existing file names, rewrite them to be SEO-friendly.

Output format — Present the best practices in bullet points, then show examples in a table (File Name | Alt Text). Keep it under 250 words. Use plain Markdown.

Guardrails —

  • Do not include actual image uploads or technical instructions beyond naming and alt text.
  • Ensure alt text is genuinely descriptive, not just a keyword list.
  • Flag if the image description is too vague to generate good examples.

Example — Niche: home decor, Image: “a blue armchair in a bright living room with plants”

Follow-ups —

  • What types of keywords should be included in the alt text?
  • How should I structure file names for maximum impact?
  • Can you provide examples of effective alt text for a product photo?