Preserve Code Formatting

by Scott Reilly · version 5.0

Preserve formatting of code for display by preventing its modification by WordPress and other plugins while also retaining whitespace.

Estimated active sites
432

WordPress.org shows 400+, ranked #9,626 of 79,972 plugins. Data collected (UTC). How we estimate

Key facts

As of (UTC), Preserve Code Formatting runs on an estimated 432 WordPress sites, ranked #9,626 of 79,972 plugins. Over the last 7 days it changed by -3 (-0.7%).

  • Active sites (2026-11-22): 432 (WordPress.org shows 400+)
  • Overall rank: #9,626 of 79,972 WordPress.org plugins
  • 7-day change: -3 (-0.7%)
  • Maker: Scott Reilly

Active sites over time

Tracked daily since . Estimated active sites fell from 435 on 2026-11-14 to 432 on 2026-11-22 (-3, -0.7%). Highest 435, lowest 432.

DateEstimated active sitesOverall rank
2026-11-14435#9,627
2026-11-15435#9,626
2026-11-16433#9,627
2026-11-18434#9,614
2026-11-22432#9,626

Rank in each tag

  1. #127 of 1,375 in post
  2. #48 of 912 in content
  3. #31 of 250 in code
  4. #13 of 130 in formatting
  5. #1 of 8 in escape

Competitors

  1. Advanced Excerpt: 80,453 sites, 80,021 ahead · Compare
  2. WP Typograph Lite: 1,427 sites, 995 ahead · Compare
  3. wpuntexturize: at least 900 sites, at least 468 ahead · Compare
  4. Hide Broken Shortcodes: 431 sites, 1 behind · Compare
  5. Content Widget: 421 sites, 11 behind · Compare
  6. LH Wayback Machine: at least 300 sites, at least 33 behind · Compare

WordPress.org search placings

Where Preserve Code Formatting appears in WordPress.org search results on (UTC).

Search phrasePositionResults
formatting#33,344

On WordPress.org

  1. Rated 4.7 of 5 from 3 reviews
  2. Tested up to WordPress 6.8.13
  3. Requires WordPress 5.5 or newer
  4. Last updated Aug 15, 2025
  5. In the directory since Apr 14, 2005
  6. 50,281 downloads