# Check text embedded in images

- Check 25.16 · Translating SEO elements · Important
- Source: https://checklist-seo-geo.com/en/translating-seo-elements/check-text-embedded-images
- Find images that contain text in the source language, then replace them with HTML or a version per language: OCR method, decisions and CMS settings.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/translating-seo-elements/check-text-embedded-images.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

Promotional banners, infographics, interface screenshots, annotated diagrams, graphic buttons: many images carry text. During translation, that text is neither extracted by translation tools nor changed by the editor: it stays in the original language on every version. This check consists of listing these images, then deciding for each one whether to replace it with HTML text, produce one version per language or keep it as it is. Once it is done, no version of the site shows important information as an image in a language other than its own.

## Why it matters

Text written into the pixels of an image is not text to the browser. Content translation tools, multilingual plugins and the browser's built-in translation translate the HTML, not the inside of images. A “Livraison offerte dès 49 €” (“Free shipping from €49”) banner therefore stays in French on the German page, often in the most visible spot.

Search engines can analyze the visual content of images, but that is not reliable page text: the title, headings and key selling points must exist in HTML to be understood and indexed in the right language. Google also advises against images containing text as the preview image in structured data and the `og:image` tag.

For accessibility, WCAG success criterion 1.4.5 (level AA) asks you to use text rather than images of text when the technology allows it, logos excepted. A visitor who enlarges text, uses a screen reader or a machine translator cannot make use of an image of text.

Generative engines primarily read the text of pages. Information that exists only in an image, in a language foreign to the reader, has very little chance of being picked up. See [avoid information available only in images or videos](https://checklist-seo-geo.com/en/readability-direct-answers/avoid-information-available-only-images-videos).

## What it improves

- **Understanding and conversion**: offers, terms and calls to action readable in the visitor's language.
- **Language consistency** of translated pages.
- **Accessibility**: text that can be enlarged, read by screen readers and translated.
- **Indexing**: information moved into HTML becomes page content in the right language.
- **Image search in each language**: an infographic produced per language can rank for local queries. A modest effect.
- **Performance**: an HTML and CSS banner over a photo without text is often lighter than one image per language.

## How to check

### List the images

Crawl a translated version with Screaming Frog and export the list of images with their source page (Images tab, or bulk export of images). Sort by location: template (header, banners, footer), home and category pages, articles, product pages. Template and home page images come first.

### Find text with a free OCR tool

Optical character recognition (OCR) detects text in images. With Tesseract, installed with the French and German languages, and a list of image URLs in `images-de.txt`:

```bash
mkdir -p ocr && cd ocr
while read -r url; do
  file=$(basename "${url%%\?*}")
  curl -s -o "$file" "$url"
  text=$(tesseract "$file" stdout -l fra+deu 2>/dev/null | tr '\n' ' ' | tr -s ' ' | sed 's/"/""/g')
  printf '"%s","%s"\n' "$url" "$text"
done < ../images-de.txt > ../ocr-de.csv
```

Open `ocr-de.csv` in Google Sheets. An image with recognized text needs examining; `=DETECTLANGUAGE(B2)` flags those whose text is not in the language of the page. OCR gets decorative fonts and very short texts wrong: visually review the images in the first half of the table. Depending on your installation, Tesseract may not read WebP or AVIF; convert them to PNG first.

Without the command line, a visual check still works well on a small site: go through each page template in the translated language and note every image containing words.

### Compliant result

No image on the German version contains French text that carries information. The only text left in images is logos, brand names and real text that was photographed (a product's packaging, a shop sign).

## How to implement

### Before you start

Sort each image in a decision table:

| Image | Text it contains | Type | Decision | Action (de) |
|---|---|---|---|---|
| hero-noel.jpg | “Coffrets de Noël, -20 % jusqu'au 24/12” | Promotional banner | Text in HTML | Photo without text + translated HTML heading and button |
| infographie-temperatures.png | Temperatures and steeping times per tea | Infographic | Version per language + HTML text | German infographic + equivalent HTML table |
| capture-compte-client.png | Customer account menus in French | Interface screenshot | Version per language | New screenshot of the German interface |
| logo.svg | “Thé des Lisières” | Logo | Keep | None |
| sachet-sencha.jpg | Bag label | Product photo | Keep | Describe the label in the translated `alt` |
| bouton-commander.png | “Commander” | Graphic button | Text in HTML | Replace with a styled HTML button |

Criteria:

- **Text in HTML** whenever possible: headings, offers, buttons, legal notices, key figures. This is the solution that translates, gets indexed and adapts best.
- **Version per language** when the layout is part of the information (infographic, annotated diagram, screenshot). Add the equivalent content as text on the page: table, list or paragraph.
- **Keep** logos, photographed text that is part of the subject, and text with no informative role.
- **Source files**: keep the design files (Figma, Photoshop, Illustrator, Canva) with separate text layers, so you can produce each language without redoing everything.
- **Alternative text**: translate it for each version. See [translate ALT text and captions](https://checklist-seo-geo.com/en/translating-seo-elements/translate-alt-text-captions).

### Replacing a banner with HTML

A photo without text, with the text on top in HTML:

```html
<section class="hero">
  <img src="/images/hero-coffrets.jpg" alt="" width="1600" height="600" fetchpriority="high">
  <div class="hero__content">
    <h2>Weihnachtsboxen: 20 % Rabatt bis zum 24.12.</h2>
    <a class="hero__button" href="/de/geschenke/weihnachtsboxen/">Jetzt entdecken</a>
  </div>
</section>
```

```css
.hero {
  position: relative;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem;
  color: #fff;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.6));
}
```

The image becomes decorative (`alt=""`) since its message is carried by the text. Leave room for longer texts: German often runs longer than French. See [test for text overflow](https://checklist-seo-geo.com/en/development-accessibility-language/test-text-overflow).

### WordPress

Versions: WordPress 6.8 and later (verified on 7.1); WPML 5 with Media Translation, Polylang 3.9, TranslatePress 3.

- **Banners**: replace images of text with the editor's Cover block, which places the heading and button in HTML over the image. The texts are then translated with the page.
- **WPML**: with Media Translation, the `Media` tab of `WPML > Translations` lets you assign a different file per language to the same image (infographic, screenshot).
- **Polylang**: with the media module active, upload the German image as a separate media item in German and insert it in the page translation.
- **TranslatePress**: in the visual translation editor, select the image to replace it with another one in the target language.
- **Page builders and image sliders** (Elementor, Slider Revolution…): check that each slide can be translated by your multilingual plugin, or duplicate the slider per language.

### Shopify

Versions: Online Store 2.0 themes and Translate & Adapt app, November 2026.

The “image with text” and “banner” sections of recent themes place the text in HTML: prefer them to an image containing the text. According to Shopify Help, Translate & Adapt lets you adapt images and logos per market during manual translation; check in your theme which section images can be replaced per language.

### PrestaShop

Versions: PrestaShop 8 and 9, Classic and Hummingbird themes.

The Image slider (`ps_imageslider`) and Banner (`ps_banner`) modules, supported by both the Classic theme and Hummingbird (the default theme since PrestaShop 9.1), accept one image per language: in the module configuration, switch the field's language and upload the German version. The slider's title and caption are translated in the same place.

### Magento

Versions: Magento Open Source and Adobe Commerce 2.4.6 to 2.4.9, with Page Builder.

Images inserted in CMS blocks and pages are changed in the version of the block specific to the language's store view. In Page Builder, the Banner element places the text in HTML over the background image: prefer it to visuals containing text.

### Webflow

Versions: Webflow with Webflow Localization, November 2026.

With Webflow Localization, static images can be replaced per locale; for CMS collections, provide a localized image field.

### Laravel

Versions: Laravel 10 to 13.

Resolve the image path according to the language, with an explicit fallback:

```php
// app/Support/LocalizedAsset.php
namespace App\Support;

use RuntimeException;

class LocalizedAsset
{
    public static function image(string $name): string
    {
        $locale = app()->getLocale();

        if (file_exists(public_path("images/{$locale}/{$name}"))) {
            return asset("images/{$locale}/{$name}");
        }

        report(new RuntimeException("Image `{$name}` missing for locale `{$locale}`."));

        return asset("images/{$name}");
    }
}
```

```php
<img src="{{ \App\Support\LocalizedAsset::image('infographie-temperatures.png') }}" alt="{{ __('guides.temperatures_alt') }}" width="1200" height="1600">
```

The fallback is reported in the logs: an image missing in one language does not go unnoticed.

### Next.js

Versions: Next.js 15 and 16 (App Router), with next-intl 4.

Store images per language in `public/images/{locale}/` and build the path from the route's locale:

```ts
// app/[locale]/ratgeber/temperaturen/page.tsx
import Image from 'next/image';
import { getTranslations } from 'next-intl/server';

export default async function TemperaturesPage({ params }: { params: Promise<{ locale: string }> }) {
  const { locale } = await params;
  const t = await getTranslations('Temperatures');

  return (
    <figure>
      <Image src={`/images/${locale}/infographie-temperatures.png`} alt={t('infographicAlt')} width={1200} height={1600} />
      <figcaption>{t('infographicCaption')}</figcaption>
    </figure>
  );
}
```

Publish the data table in HTML under the infographic, translated with the rest of the page.

## Common mistakes

- **Translating the `alt` and leaving the image text in French**: sighted visitors still read French.
- **Forgetting template images**: reassurance strip, footer banner, “New” or “Sale” badges.
- **Redoing the infographic without adding its content as text** on the page.
- **Interface screenshots in the source language** in translated online help or user guides.
- **Not keeping the source files**: every update means redoing the visuals for every language.
- **Prices, dates and units from the original country** in promotional visuals (“49 €”, “24/12”).
- **Replacing the text with HTML without enough contrast** against the background photo.

## Frequently asked questions

### Does Google read the text contained in images?

Google can analyze the visual content of images, but text written into the pixels is not reliable page text: translation tools do not translate it and not every user can read it. Put headings, offers and important information in HTML in the language of the page, and keep text in images for logos and photographed elements.

### Should every image containing text be redone for each language?

No. Start with those that carry useful information: banners, offers, buttons, infographics, interface screenshots. Preferably replace their text with HTML placed over an image without text, which avoids producing one image per language. Logos, product photos with their label and decorative text can stay as they are.

### How do you find images containing text on a large site?

Export the list of images of each language version with a crawler such as Screaming Frog, then run them through a free optical character recognition tool such as Tesseract. The recognized text, pasted into Google Sheets, can be tested with the DETECTLANGUAGE function to spot images in a language other than the page's. Review the results visually, because OCR gets decorative fonts wrong.

### Is a translated infographic enough for SEO?

A translated infographic improves readability, but its content is still an image. Add the same information as HTML text under the infographic, as a table, list or paragraph, in the language of the page, along with translated alternative text and a caption. HTML text is what search engines and generative engines reliably use.

## Resources

- [Google Search Central: Google Images SEO best practices](https://developers.google.com/search/docs/appearance/google-images?hl=en)
- [W3C: Understanding Success Criterion 1.4.5 Images of Text](https://www.w3.org/WAI/WCAG22/Understanding/images-of-text.html)
- [Tesseract: Documentation](https://tesseract-ocr.github.io/tessdoc/)
- [Google Sheets Help: DETECTLANGUAGE](https://support.google.com/docs/answer/3093278?hl=en)
- [WPML: Media translation](https://wpml.org/documentation/getting-started-guide/media-translation/)
- [Shopify: Translate & Adapt](https://help.shopify.com/en/manual/international/languages/translate-adapt-app)

Next steps: [translate ALT text and captions](https://checklist-seo-geo.com/en/translating-seo-elements/translate-alt-text-captions) and [detect untranslated strings](https://checklist-seo-geo.com/en/translating-seo-elements/detect-untranslated-strings).
