PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Pre
  4. Code Prettify
Code Prettify icon

Code Prettify

100% automatic code highlighting using the Prettify library. No shortcodes, no classnames, fully automatic and pure awesome.

By volca·Pre·Free
5(18 reviews)
·1.0K+ active installs·Updated 3 years ago
DownloadVisit HomepageCompare

As of April 2026, Code Prettify is a WordPress pre plugin with 1.0K+ active installations and a 5/5 rating from 18 reviews. It has been downloaded 45K+ times in total. Requires WordPress 3.0+ and PHP false+. Available on WordPress.org since 2010. Last updated 3 years ago — may have compatibility concerns. Downloads are up 6% this week. Top alternative: Code Click to Copy.

5/518 reviews
1.0K+active installs
45K+total downloads
16 yearssince 2010

Overview

Uses a customized version of the Code Prettify library to support local styles and scripts. Plugin applies code highlighting automatically to all <pre> tags on the page.

Compatible with Gutenberg and doesn’t lock you in with specific markup requirements.

Development

Plugin development on GitHub.

Credits

Created and maintained by Kaspars Dambis. All of my open source work is available on GitHub.

Use Contact Form 7? Storage for Contact Form 7 is my commercial plugin (GPL license) for storing all form submissions in your WordPress database.

Cover photo by Yuri Samoilov

Read full description on WordPress.org

Screenshots

Ratings & Reviews

518 reviews
5 ★
18
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Recent Reviews

OBrigado, era o que eu precisava
by fbmed·1 year ago

Funcionou perfeito, era o que eu precisa, muito facil e prático.
Para ficar mais completo, criei uma função que cria um botão copiar.
OBrigado

It works perfectly !!!
by Anonymous User·2 years ago

I hope the developer continues to update it to avoid compatibility issues with future versions of WordPress.

Really impressed
by hanopcan·4 years ago

Used with a block-based theme and it worked perfectly. Love that there is no configuration required and it auto-detects <code> and <pre> tags. Great plugin, thank you!

  • This topic was modified 4 years ago by hanopcan.
Awesome Blossom
by mezubeen·5 years ago

This plugin is exactly what I was looking for, just one friendly suggestion please add a toggle to switch themes to dark. or add a setting where we can do that. thank a lot for this neat and clean plugin

The best plugin for syntax highlighting!
by rahmanfadhil·6 years ago

Very simple yet powerful!

Download Trends

Today: 3Yesterday: 7This week: 38Period total: 2K

Compatibility

WordPress3.0+ requiredTested up to 6.0.11
PHPfalse+ required

Version Adoption

v1.5
94.6%
Other
5.4%

Top Alternatives to Code Prettify

Code Click to Copy icon
Code Click to Copy
4.7800 installsUpdated 8 months ago
ViewCompare
TinyMCE Preformatted icon
TinyMCE Preformatted
570 installsUpdated 11 years ago
ViewCompare
bbPress Code Snippets icon
bbPress Code Snippets
510 installsUpdated 13 years ago
ViewCompare
Prism Syntax Highlighter icon
Prism Syntax Highlighter
010 installsUpdated 13 years ago
ViewCompare
WP Chili icon
WP Chili
010 installsUpdated 15 years ago
ViewCompare
View all pre plugins →

Frequently Asked Questions

Changelog

1.5.1 (November 8, 2021)

  • Fix the deprecation notice for how the data is passed to the script.
  • Mark as tested with WordPress 5.8.
View full changelog on WordPress.org

Contributors

KasparsKaspars
Plugin Info
Version
1.5.1
Last Updated
Oct 12, 2022
WP Requires
3.0+
Tested Up To
6.0.11
PHP Requires
false+
Active Installs
1.0K+
Downloads
45K+
Added
Dec 3, 2010
Business
Free

Tags

precodehighlighthighlighterhighlighting

Developer

V
volca
1 plugins0.0M+ total installs
View all plugins →

Quick Compare

Code Prettify vs Code Click to Copy→Code Prettify vs TinyMCE Preformatted→Code Prettify vs bbPress Code Snippets→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.