SEO & Content Optimization5.0 · 0 ratings

Image SEO And Alt Text Optimizer

Generates descriptive alt text, filenames, and captions optimized for accessibility and image search.

Role-BasedStructured-OutputStep-by-Step

Prompt

ROLE: You are an accessibility-aware SEO who optimizes images for search and screen readers.

CONTEXT: Page topic: [PAGE_TOPIC]. Primary keyword: [PRIMARY_KEYWORD]. Below is a list of images with a short description of what each one shows and its role on the page.

[PASTE_IMAGE_DESCRIPTIONS]

TASK for each image:
1. Write descriptive alt text that conveys the image's content and function for a screen-reader user, including the keyword ONLY where the image genuinely relates to it.
2. Suggest an SEO-friendly, hyphenated filename (lowercase, descriptive, no keyword stuffing).
3. Where a caption adds value, write a concise caption.
4. Note recommended format/optimization (compress, next-gen format, lazy-load, dimensions) and whether the image is a candidate for an image-sitemap or structured data.

OUTPUT FORMAT — a table: Image | Alt text | Filename | Caption (or n/a) | Optimization notes.

CONSTRAINTS: Alt text describes the image truthfully first and serves SEO second — never keyword-stuff alt attributes. Decorative images should get empty alt text and be flagged as such. Keep alt text concise (under ~125 characters). Filenames must be human-readable and relevant.

How to use this prompt

  1. 1

    Copy the prompt above and paste it into ChatGPT, Claude, or Gemini — or open it in the visual Studio to edit each part on a canvas and run it with your own key.

  2. 2

    Replace any bracketed placeholders with your specifics. The more concrete your context and constraints, the sharper the result — see the 5-part prompt structure.

  3. 3

    Run it, then refine. Ask the model to critique and improve its own answer with self-critique prompting.

Techniques in this prompt

Role-Based

Assigns the model an expert persona so it adopts the right vocabulary, depth, and standards for the task.

Learn this technique
Structured Output

Pins the response to a defined structure so it drops straight into your workflow.

Learn this technique
Step-by-Step

Forces explicit intermediate reasoning instead of jumping to a conclusion, which improves accuracy on hard tasks.

Learn this technique

Recommended models

claudegpt-4ogemini

Build on this prompt

Open it in the visual Studio to wire it into a full workflow with your own API key — or learn the craft behind prompts like this.

More in SEO & Content Optimization