Go to and select a type like "Document".

The module supports the Linkit module , allowing editors to search for media by name in the WYSIWYG editor and automatically insert the permanent download link instead of a fragile file path.

Install the module using Composer: composer require drupal/media_entity_download .

Pair it with the Media Entity File Replace module. This gives editors a "Replace file" button on the media edit form, ensuring they don't have to delete and recreate media entities (which would change the ID). Comparison with Alternative Modules Media Entity Download | Drupal.org