Remove Double Space

On display, duplicate whitespace (including unicode whitespace characters) in between sentences or elsewhere within posts will be replaced with a single space. Useful if multiple contributors use different styles for sentence spacing or as a catch-all for any unintended extra whitespace.

This enables consistency in a blog with multiple contributors where one writer uses double spaces between sentences and another uses single spaces.

No modifications are made to the post content itself, the replacement happens when the content is displayed to the user.


Latest version: Download Remove Double Space v0.3 [zip]


  1. Unzip
  2. Upload the remove-double-space directory to the /wp-content/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Navigate to the admin panel Settings > Remove Spaces to turn the replacement on/off (off by default).


Q. Does this plugin clean up after itself if uninstalled?
A. Yes, if deleted via the admin interface, the plugin will remove its options from the database using the uninstall.php file. Deactivating the plugin won’t have any effect on the database options. If this file is not included with the plugin, the uninstall process will not run.



  • Tested up to 3.2


  • Fully uses Settings API
  • Changed menu name and moved to Settings panel, added link to settings from plugins page
  • Encapsulated plugin in a class
  • Fixed donation link


  • Initial release, supports switching replacement off/on globally.

Write a Comment


This site uses Akismet to reduce spam. Learn how your comment data is processed.

  1. Will this plugin remove the double space on all my content, or just on posts? I am a chronic double spacer, because that’s how I was taught when I learned how to type, and the habit is almost impossible for me to break! Help please!

  2. Wow! Thanks so much. You just saved me a ton of frustration. I have a client who has over 1,000 blog articles, and the spacing is double, sometimes triple. I think he writes so fast and doesn’t have time to edit, so this plugin is a such a time saver.

  3. This plugin still works perfectly for me in late 2021 with the latest version of WordPress. You should do an “official” compatibility test so that it doesn’t look abandoned in the WordPress repository. Thanks so much, solved my most annoying problem!