Automatically renames any media files you upload by adding a prefix to the beginning of the filename based on the filetype.
As of April 2026, Auto Rename Media On Upload is a WordPress media plugin with 100 active installations and a 5/5 rating from 1 reviews. It has been downloaded 4.8K+ times in total. Requires WordPress 5.2+ and PHP false+. Available on WordPress.org since 2019. Last updated 1 year ago — may have compatibility concerns. Top alternative: Safe SVG.
This plugin will automatically rename any media files you upload to the Media Library, by adding a prefix to the beginning of the filename based on the filetype.
For example, you can tell it to add the prefix “pic-” to the beginning of all .jpg files that you upload. So uploading an image called car.jpg would get renamed to pic-car.jpg
And since it changes the name of the file, it will also change the “slug” that wordpress uses based on this new name.
You can set an individual/unique prefix for each of the following filetypes:
jpg jpeg png bmp gif tif mp4 avi m4v mov flv mkv 3gp pdf doc docx xls xlsx ppt pptx mp3 ogg wav zip csv txt rtf odt
You will need to go to the settings page and set the prefix you want to use for each of the filetypes.
The default behavior is…
| WordPress | 5.2+ requiredTested up to 6.5.8 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.