Image
AI alt text prompts and workflows
Prompt pack for AI-generated alt text and long descriptions. Includes single-image, bulk CSV, multilingual EN/AR, reviewer notes, and JSON templates.
The prompts
Copy a prompt, then replace the parts in [BRACKETS] with your own details.
You are an accessibility editor. Given the inputs below, produce a single concise alt text string no longer than [MAX_CHARS] characters. Follow rules: do not start with "image of" or "photo of". Do not infer identities, race, health, or emotions. Only include facts visible in the image. Inputs: URL or scene: [IMAGE_URL_OR_DESCRIPTION]. Page context: [PAGE_CONTEXT] (e.g., product page, article figure, social post). Allowed SEO keyword: [KEYWORD_OR_NONE]. Language: [LANG_CODE]. Output as JSON: {"alt":"...","reason":"one-line reviewer note"}. Tip: Give a short page context like 'product detail page selling a cotton shirt' to steer the model to relevant attributes.
You are an e-commerce copywriter. Create an alt text (<= [MAX_CHARS] chars) that helps shoppers identify the product. Include visible attributes: color, material, main use, and one allowed SEO keyword [KEYWORD_OR_NONE] only if accurate. Inputs: [IMAGE_URL_OR_DESCRIPTION], product title: [PRODUCT_TITLE], page context: product detail page, language: [LANG_CODE]. Output JSON: {"alt":"...","reason":"why these details matter for shoppers","tags":[...]} Tip: Include the exact product title and visible attributes like 'size shown' to improve relevance.
You are an accessibility writer. For a complex image like a chart or infographic, produce: 1) a concise alt <= [ALT_MAX] chars, 2) a longdesc up to [LONGDESC_MAX] words with labeled points or data summary, and 3) a caption for page display. Inputs: [IMAGE_URL_OR_DESCRIPTION], purpose: [PAGE_CONTEXT], key data to highlight: [KEY_POINTS_OR_NONE], language: [LANG_CODE]. Follow WCAG guidance and do not invent data. Output JSON: {"alt":"...","longdesc":"...","caption":"...","reason":"..."} Tip: Provide key numbers or a short transcript of the chart if available to avoid hallucinated data.
You are a CSV transformer. Read rows with columns: image_id, image_url, page_context, language, allowed_keywords, privacy_flag. For each row, return CSV rows with image_id, alt (<= [ALT_MAX] chars), longdesc (or null), reason, tags, review_flag (yes/no). Rules: no inference on people, include language tag, obey privacy_flag values. If image is decorative, set alt to empty string and review_flag to no. Return only CSV content.
Tip: Test with a 10-row CSV sample first to validate format and costs before large runs.
You are a bilingual editor. Given [IMAGE_URL_OR_DESCRIPTION] and page context [PAGE_CONTEXT], produce alt and longdesc in English and Arabic. Output JSON with language tags: {"alt_en":"...","longdesc_en":"...","alt_ar":"...","longdesc_ar":"...","direction_ar":"rtl","reason":"..."}. Follow safety rules: do not identify people or infer sensitive attributes. Tip: Specify whether Arabic should use formal Modern Standard Arabic or a regional dialect if needed.
You are an accessibility reviewer. Given AI-draft JSON: {"image_id":"[ID]","alt":"[AI_ALT]","longdesc":"[AI_LONGDESC]","reason":"[AI_REASON]"}, produce a one-line pass/fail, a list of up to three suggested edits, and a severity level (minor/major/blocker). Rules: check for accuracy, privacy, WCAG fit, and SEO misuse. Output JSON: {"image_id":"...","status":"pass|fail","edits":[...],"severity":"..."}. Tip: Use this on a human QA sample of 50 to 200 items to measure edit rates.
You are a safety filter. Given an image description [IMAGE_URL_OR_DESCRIPTION], return one of: allow, requires_human_review, or block. Rules: if the image shows faces, medical scenarios, legal documents, minors, or could reveal identity, return requires_human_review. If content is illegal or explicit, return block. Otherwise return allow. Include a short reason field. Output JSON: {"decision":"...","reason":"..."}. Tip: Use this as a pre-filter step to avoid costly or risky bulk auto-labeling.
You are a style trainer. Given 10 example pairs of input and ideal output, learn the style rules: concise alt <= [ALT_MAX], no 'image of', no inference, include relevant product attributes, one-line reason. Return a short style guide JSON with rules, preferred phrasing examples, and forbidden terms. Inputs: [EXAMPLE_PAIRS_JSON].
Tip: Provide real examples from your catalog so the model matches your brand voice and detail level.
You are a data mapper. Convert a CSV with columns image_id,image_url,alt_en,longdesc_en,alt_ar,longdesc_ar,approved into a JSON array of objects ready for CMS import. Ensure empty alt fields for decorative images are "" and set language codes on each object. Output valid JSON only.
Tip: Use this to prepare outputs for bulk CMS import after human approval.
You are an SEO auditor. Given a list of image records with current alt text and page URLs, score each alt on a 1-5 scale for descriptiveness, keyword relevance, and over-optimization. Return CSV with image_id,score,issues,recommended_alt. Rules: no keyword stuffing; recommend concise alternatives under [ALT_MAX] chars.
Tip: Run this on product category pages to catch repeated or templated alt text problems.
Use these prompts to generate concise alt text, paired long descriptions, and reviewer-ready JSON or CSV outputs for accessibility and SEO.
Who this pack is for
You are a product manager, content editor, developer, or accessibility lead. Use this pack when you must produce alt text at scale. It suits e-commerce stores, newsrooms, public bodies, and teams building bulk workflows.
How to use the prompts
Provide an image URL or a clear scene description. Add page context like product page, article figure, or social post. Give allowed SEO keywords, a max character limit, and any privacy rules. Ask the model to return JSON or CSV rows for direct import into a CMS.
For bulk jobs, feed a CSV with columns image_id, url, page_context, language, keywords. The prompts return alt, longdesc, reviewer notes, and simple flags for QA.
Example
Image: product photo of a blue linen shirt. Context: product detail page. Allowed keyword: "blue linen shirt". Max alt length: 125 characters. Expected alt: "Blue linen shirt, short sleeves, spread collar, size shown medium". Longdesc: a one or two sentence note about fabric, fit, and visible details. Include a one-line reason for reviewers.
Practical sources
Follow W3C WCAG image guidance: https://www.w3.org/WAI/tutorials/images/. Use GOV.UK design system decision tree for image needs: https://design-system.service.gov.uk/styles/images/. AIP guidance notes AI can draft alt text but humans must review: https://publishing.aip.org/. Check cloud vision pricing before large runs: https://cloud.google.com/vision/pricing.
How to adapt prompts
For Arabic or RTL languages, request both English and Arabic outputs and include language tags and direction. For infographics, always request a short alt and a longer longdesc with labeled points. For sensitive images, set a safety rule: do not identify people or infer health, race, or emotions.
Mistakes to avoid
Do not let the model invent names, locations, or private facts. Avoid starting alt text with "image of" or file names. Do not stuff keywords. Always include a human review step for sensitive or high-impact images.
Use FreeToolr SEO tools at SEO Tools to check how your alt text affects page indexing and snippets.
Frequently asked questions
Can AI auto-generate alt text for thousands of images?
Yes. AI can draft alt text for bulk sets, but you must include human review. Check API billing and privacy rules before large runs.
How long should alt text be?
Aim for concise alt text under 125 characters for most images. For complex images, provide a short alt plus a longer longdesc for full detail.
Will AI meet legal accessibility standards like WCAG?
AI helps create drafts, but human judgement is required. Use W3C guidance and a review workflow to ensure compliance with WCAG and local rules.
How do I handle images with people or sensitive content?
In prompts, add safety rules: do not identify people or infer race, health, or emotions. If the image requires identifying info, request it only with explicit permission.
Should I add SEO keywords to alt text?
Only add keywords that genuinely describe the image. Avoid stuffing. Keep the alt focused on purpose and clarity for screen reader users.
More in Image
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.