This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Sanitize File Name Plus


Empty spaces and special characters can create some problems.


  • Improved default function sanitize_file_name()
  • Remove latin special characters used in file name
  • Make file name lowercase


  • Activate the plugin
  • File with special characters
  • File name sanitized in Media Library
  • File name sanitized in Media Library (zoom)


  1. Download and extract plugin files to wp-content/plugin directory.
  2. Activate the plugin through the WordPress admin interface.


Does what it promises

I tested some other file name sanitize plugins, but this is the only one which I had absolutely no issues with. File names get sanitized in a way I expect it (like “ä” gets “ae” and not “-” like other plugins handle it). Also, WordPress features like suffixing of file names if a file name is duplicate still works. It’s just a great little plugin, thanks for sharing it with us.

Removes spaces and other disrupting characters from filenames perfectly.

WP Sanitize File Name Plus might not have many installs, but that does not change, that its one of the most useful small plugins I install every time I create a new site, to ensure sane and friendly filenames on uploaded media, be it images or pdf files. Highly recommended. Hoping for af WP 4.5 verification and update any time soon! 😀

Briefly testet in WP 4.3.1 – cleans up those filenames!

My end-users attach documents and pictures with horrendous names (I live in Denmark), and while it should be ok for a file to be named “Opskrift på æblegrød.pdf” it results in horrible URLs when space and non-latin characters are encoded.

WP Sanitize File Name Plus FIXES that for me, both when uploading files manually, and when imported by Postie (mailing posts to site). I’m very satisfied.

Would be great if plugin would be officially verified to be compatible with the current WordPress version, alas it seems to be working fine.

Read all 7 reviews

Contributors & Developers

“WP Sanitize File Name Plus” is open source software. The following people have contributed to this plugin.




  • Filter improvements


  • Fix : Firefox/MacOS


  • Make file name lowercase


  • Initial version