How to Disable Emojis in WordPress

How to Disable Emojis in WordPress

Every WordPress page loads a small emoji script and stylesheet by default, even if your site never uses an emoji. On its own the file is small, but it’s one more request on every page, and speed tools such as PageSpeed Insights often flag it as unused code. Disabling emojis in WordPress removes that extra load in a couple of minutes, without breaking anything your visitors will notice.

In this guide, you’ll learn what the emoji script does, whether you should remove it, how to disable it with a plugin or code and how to check that it worked.

What Does the WordPress Emoji Script Do?

WordPress added emoji support in version 4.2, back when many browsers couldn’t display emojis properly. The script checks whether the visitor’s browser supports emojis and, if not, replaces them with images loaded from WordPress.org.

On a typical page you’ll find:

  • An inline script that detects emoji support.
  • A wp-emoji-release.min.js file, loaded when needed.
  • A small block of inline CSS for emoji images.
  • A DNS prefetch hint for the emoji image server.

Today almost every browser and device displays emojis natively, so the script rarely does anything useful.

Should You Disable Emojis in WordPress?

For most sites, yes. Emojis you type in posts and comments will still display, because modern browsers and phones render them with their own system fonts. You only lose the image fallback for very old browsers.

Keep the emoji script if… Disable it if…
Your audience uses very old browsers or devices Your visitors use modern browsers and phones
You need emojis to look identical on every device You care about page speed and clean code

How to Disable Emojis With a Plugin

Emoji Bloat Remover from Simpli Plugin is a free plugin that removes WordPress’s emoji scripts, styles and DNS prefetch hint. There’s nothing to configure: activate it and the emoji code is gone.

  1. Download the plugin ZIP from its product page.
  2. Go to Plugins → Add New Plugin → Upload Plugin.
  3. Upload the file, click Install Now, then Activate Plugin.
  4. Clear your caching plugin and CDN cache.
  5. Check your page source to confirm the emoji code is gone (see the testing steps below).

Many caching and optimisation plugins also include a “Disable emojis” option. If yours already has it, use that instead of adding another plugin.

How to Disable Emojis With Code

Add this to a small custom plugin or your child theme’s functions.php:

add_action( 'init', function () {
    remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
    remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
    remove_action( 'wp_print_styles', 'print_emoji_styles' );
    remove_action( 'admin_print_styles', 'print_emoji_styles' );
    remove_action( 'wp_enqueue_scripts', 'wp_enqueue_emoji_styles' );
    remove_action( 'admin_enqueue_scripts', 'wp_enqueue_emoji_styles' );
    remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
    remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
    remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
} );

This removes the detection script, the emoji styles on the front end and in the dashboard, and the emoji-to-image conversion in feeds and emails. Removing a hook that isn’t present does nothing, so the snippet is safe across WordPress versions.

Want a full speed clean-up rather than one tweak at a time? Simpli Plugin’s team builds lightweight, performance-focused WordPress sites and can audit what’s slowing yours down.

Request a Speed Audit →

How to Check That Emojis Are Disabled

  1. Open your site in a private browser window.
  2. Right-click and choose View Page Source.
  3. Press Ctrl+F (or Cmd+F) and search for wp-emoji.
  4. If nothing is found, the script has been removed.

You can also run your homepage through PageSpeed Insights before and after the change and compare the number of requests.

Other Small Speed Wins

Disabling emojis is one of several quick clean-ups for WordPress:

Common Problems and How to Fix Them

The Emoji Script Still Loads

A cache is serving the old page. Clear your caching plugin, server cache and CDN, then check the page source again.

Emojis Look Different on Some Devices

That’s expected. Without the script, each device shows its own emoji design, so an emoji on an iPhone looks slightly different from one on Android or Windows.

Emojis Show as Boxes

Only very old systems lack emoji fonts. If this affects your audience, re-enable the script.

Frequently Asked Questions

Will disabling emojis remove emojis from my posts?

No. Emojis in your content still display using the visitor’s device fonts.

How much faster will my site be?

The gain is small on its own, typically one fewer script and some inline code per page. It’s worth doing as part of a wider speed clean-up.

Does it affect the WordPress dashboard?

The code above also removes emoji scripts in the dashboard. Emojis still display there using your device’s fonts.

Is it safe for WooCommerce stores?

Yes. WooCommerce doesn’t depend on the emoji script.

Trim the Code Your Site Doesn’t Need

The WordPress emoji script is a leftover from an era when browsers couldn’t show emojis. Removing it is quick, safe for almost every site and one of the easiest steps toward a cleaner, faster page.

Download Emoji Bloat Remover for free, and browse the full Simpli Plugin library for more lightweight performance tools.

Talk to Our Developers →