Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
Clean Image Filenames icon

Clean Image Filenames

v1.5
by Upperdog · 4.6 (21 reviews)

This plugin automatically converts language accent characters to non-accent characters in filenames when uploading to the media library.

40K+ active installs Updated Jun 05, 2024 Tested to 6.6.2
Try Demo Download
Pre-installed Ready in ~10s No card
Clean Image Filenames

About Clean Image Filenames

This plugin automatically converts language accent characters in filenames when uploading to the media library. It can convert characters in Swedish, Danish, German, and more, making site and server migrations easier. However, it can only convert filenames when the files are being uploaded and cannot convert existing files.

Screenshots

Clean Image Filenames screenshot

Frequently asked questions

What does the Clean Image Filenames plugin do?
This plugin automatically converts language accent characters to non-accent characters in filenames when uploading to the media library. Characters are converted into browser and server friendly, non-accent characters.
What types of characters does the plugin convert?
The plugin converts accent characters to non-accent, latin equivalents in languages like Swedish, Danish, and German. It also removes special characters such as exclamation marks, periods, and hashtags.
Can I choose which file types to convert?
Yes, you can choose whether to convert only image files or all file types. Developers can also use a filter hook to specify which file types to convert.
Does the plugin convert existing files?
No, the plugin only converts filenames when the files are being uploaded. It cannot convert existing files in your media library.
How does this plugin help with site migrations?
By converting filenames to non-accent characters, the plugin makes site and server migrations easier.

Changelog

1.5

  • Add support for WebP and AVIF image formats. Thanks to @vinkla for the pull request.

1.4

  • Add support for cleaning filenames when sideloaded (usually when uploaded programmatically) using the wp_handle_sideload_prefilter hook.

1.3

  • Rewrite cleaning function to better handle specific characters.
  • Make sure code is compliant with WordPress Coding Standards.

1.2.1

  • Enable plugin to be translated/internationalization.

1.2

  • Set original, un-cleaned filename as attachment title.

1.1.1

  • Added uninstall script that deletes plugin settings when the plugin is uninstalled.

1.1

  • Added plugin settings to media settings page with option to convert all file types or just image file types.
  • Added shortcut to plugin settings from the plugins list.

1.0

  • Initial release.

Try other plugins

Classic Editor icon

Classic Editor

4.9 · 9M+ installs

Enables the previous "classic" editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports all…

Yoast Duplicate Post icon

Yoast Duplicate Post

4.7 · 4M+ installs

The go-to tool for cloning posts and pages, including the powerful Rewrite & Republish feature.