How do I bulk update the alt and title tags of images Is there a way to bulk update image title and alt tags? Where do alt and title tags are saved in the database?
Rewriting the D7 code of How to bulk update image alt and title?

$nodes = \Drupal::entityTypeManager()
  -&gt;getStorage('node')
  -&gt;loadByProperties(['type' =&gt; 'article']);

foreach ($nodes as $node) {
  $node-&gt;field_image-&gt;alt = $alt;
  $node-&gt;field_image-&gt;title = $title;

  $node-&gt;save();
}