SEO-friendly image URL

Give your images an SEO-friendly name without modifying the actual file name in the storage

ImageKit helps you create SEO-friendly URLs dynamically

Image SEO starts with the file name. Google uses the URL path as well as the file name to understand your images.

For example, consider the following image of the Eiffel Tower:

The image URL should have "Eiffel Tower" instead of "DSC1234.jpg".

Bad image URL https://ik.imagekit.io/demo/DSC1234.jpg

SEO-friendly image URL https://ik.imagekit.io/demo/eiffel-tower.jpg

Dynamic SEO suffix (ik-seo)

In cases when you cannot modify the file names of already stored images, ImageKit helps you create SEO-friendly URLs dynamically.

For example, let say you have the following image of the Eiffel Tower.

https://ik.imagekit.io/demo/DSC1234.jpg

Here, https://ik.imagekit.io/demo/ is your URL-endpoint.

You can dynamically use eiffel-tower.jpg as the file name using ik-seo parameter. For example:

https://ik.imagekit.io/demo/ik-seo/DSC1234/eiffel-tower.jpg

So the following URL: https://ik.imagekit.io/demo/ik-seo/DSC1234/eiffel-tower.jpg

will fetch the same image as: https://ik.imagekit.io/demo/DSC1234.jpg

Essentially

your-url-endpoint/old-file-name.extension

becomes:

your_url_endpoint/ik-seo/old-file-name/seo-friendly-file-name.extension

Accessing file that is stored in a nested folder

If your file is stored inside a nested folder e.g.

https://ik.imagekit.io/demo/path/of/folder/old-file-name.jpg .

You can still dynamically add an SEO-friendly suffix like this:

https://ik.imagekit/io/demo/ik-seo/path/of/folder/old-file-name/seo-friendly-file-name.jpg