🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Prettify Code Syntax icon
Possibly abandoned Tested up to 3.5.2 #62 in code

Prettify Code Syntax

The main reason for the development of this plugin was the lack of options supporting the HTML5 recommendation, where the code snippets should be tagged with pre followed by code, and optionally a class starting with…

Active installs70+10+ tier
Downloads · 30d236▲ +14% vs prev. 30d
Rating4.2/512 reviews
Health score34/100At risk
All-time downloads17KSince Feb 2013
Support resolved—No recent threads
RequiresWP 3.0.1PHP any
Downloads · 7d66▲ +37.5% week over week
Our verdict

Consider an alternative

Prettify Code Syntax shows warning signs in 2026 — compare the alternatives below before installing. It runs on 70+ sites, is rated 4.2/5 and was last updated 14 years ago, and scores 34/100 on our health check.

  • Small user base (70+ active installs)
  • No update in 13 years
  • Only tested up to WordPress 3.5 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

51117Sep 4Oct 18Dec 2
Yesterday20
Daily average (1y)5
Peak day23Sep 11, 2026
Last 12 months1.9K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Prettify Code Syntax stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
code >100 10,000 Best code plugins →
highlighter >100 232 Best highlighter plugins →
markup >100 5,278 Best markup plugins →
prettify #22 39 Best prettify plugins →
syntax >100 2,362 Best syntax plugins →

Version adoption

Share of active sites per release.

  • 1.2100.0%

Rating breakdown

★★★★★★★★★★ 4.2 from 12 reviews

  • 5★50.0%
  • 4★33.3%
  • 3★8.3%
  • 2★0.00%
  • 1★8.3%

About Prettify Code Syntax

From the official readme · v1.2.1

Description

The main reason for the development of this plugin was the lack of options supporting the HTML5 recommendation, where the code snippets should be tagged with pre followed by code, and optionally a class starting with language- and then our language.

You can use the plugin like this:

<pre class="prettyprint"><code class="language-php">
// my code
</code></pre>

Also very important is that although this plugin loads different files depending on your configuration, it fully supports caching scripts (W3 Total Cache) to concatenate and compress all the css and js, so the impact in performance will be minimum.

Languages

This syntax highlighter is based on Google Code Prettify and should work on a number of languages including C and friends, Java, Python, Bash, SQL, HTML, XML, Javascript, Makefiles, and Rust. It works passably on Ruby, PHP, VB, and Awk and a decent subset of Perl and Ruby, but, because of commenting conventions, doesn’t work on Smalltalk.

Other languages are supported via an extension (plugin options): CSS, SQL, YAML, Visual Basic, Clojure, Scala, Latek (TeX, LaTeX), WikiText, Erlang, Go, Haskell, Lua, OCAML, SML, F#, Nemerle, Protocol Buffers, CHDL (VHDL), XQ (XQuery), Lisp, Scheme, Dart, Llvm, Mumps, Pascal, R, S, RD, TCL

Styles

Four different styles are provided, and they can be previewed in the plugin options. They are modified to make sure they don’t clash with any other styles in your theme.

You have also the option to include your custom style.

If you have a style that would like to see included in the option list, just contact me, or fork me.

Notes

  • Plugin options are at Settings > Prettify Code Syntax. Have a look at the Screenshots tab to see how it looks like.

  • If you don’t care too much about the HTML5 recommendation, you can skip the language- class. The code always gets detected automatically.

  • It will also work if you only use a pre tag without the code tag (but long lines will be wrapped instead of get horizontal scroll), or if you only use a code tag with the prettyprint class (but if you don’t use pre your spaces/returns won’t be maintained.)

  • Be careful using the Visual Editor tab when inserting code, as some HTML tags will be modified or removed.

  • Using a chaching plugin like W3 Total Cache is highly recommended.

Demo

You can find a front end demo here a the bottom.

Installation

In your WordPress installation go to Plugins > Add New, and search for “prettify code syntax” to find and install it automatically.

You can also install it manually:

  1. Download the plugin and upload the contents to the /wp-content/plugins/ directory, using FTP or the Upload tab in Plugins > Add New.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Change settings if neccessary at Settings > Prettify Code Syntax

Changelog

1.2

  • Add Twitter Bootstrap style
  • Isolate default style. Every style now is independent
  • Fix bug where all languages were loaded
  • Code refactoring

1.1

  • Add new languages
  • Several fixes and code refactoring

1.0

  • First release

Full changelog on WordPress.org →

Screenshots

Language options
Language options
Style options
Style options

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Prettify Code Syntax alternatives

All code plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager WPCode Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code… by Syed Balkhi 3M+ ★★★★★★★★★★ 4.9 (1.9K) 3 weeks ago 94
2 Code Snippets Code Snippets Manage custom WordPress code in one dashboard. Create PHP and HTML snippets, preview code… by Code Snippets Pro 1M+ ★★★★★★★★★★ 4.7 (512) 1 week ago 92
3 Head & Footer Code Head & Footer Code Easy add site-wide, category and article specific custom code before the closing and , or… by Aleksandar Urošević 100K+ ★★★★★★★★★★ 5 (51) 3 months ago 71
4 Simple Custom CSS Plugin Simple Custom CSS Plugin Add Custom CSS to your WordPress site without any hassles. by John Regan 100K+ ★★★★★★★★★★ 4.7 (159) 2 years ago 51
5 Shortcoder — Create Shortcodes for Anything Shortcoder — Create Shortcodes for Anything Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the… by vaakash 100K+ ★★★★★★★★★★ 4.9 (227) 3 months ago 77
6 Scripts n Styles Scripts n Styles This plugin allows Admin users to individually add HTML, custom CSS, Classes and JavaScript… by WraithKenny 30K+ ★★★★★★★★★★ 4.4 (30) 3 years ago 45
7 SyntaxHighlighter Evolved SyntaxHighlighter Evolved Easily post syntax-highlighted code to your site without having to modify the code at all… by Alex Mills 20K+ ★★★★★★★★★★ 4.3 (86) 13 hours ago 91
8 Code Embed Code Embed Code Embed provides a very easy and efficient way to embed code (JavaScript, CSS and HTML)… by David Artiss 10K+ ★★★★★★★★★★ 4.4 (45) 1 week ago 87
9 Advance Custom HTML – Show Live Code, Share Snippets, Embed Code, and Style Them Your Way. Advance Custom HTML Advance Custom HTML lets you write and display HTML, CSS, PHP, and other code snippets on… by bPlugins 10K+ ★★★★★★★★★★ 2.5 (4) 22 hours ago 68
10 Highlighting Code Block Highlighting Code Block Add code block with syntax highlighting using prism.js. (Available for Gutenberg and… by LOOS 10K+ ★★★★★★★★★★ 4.5 (20) 5 months ago 62

FAQ

Prettify Code Syntax: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Prettify Code Syntax free?

Yes. Prettify Code Syntax is free to download and use from the official WordPress.org plugin directory.

Is Prettify Code Syntax safe to use in 2026?

Prettify Code Syntax shows warning signs in 2026 — compare the alternatives below before installing. It runs on 70+ sites, is rated 4.2/5 and was last updated 14 years ago, and scores 34/100 on our health check.

How many websites use Prettify Code Syntax?

Prettify Code Syntax is active on 70+ WordPress websites and has been downloaded 16,984 times since it launched in February 2013. It was downloaded 236 times in the last 30 days.

Does Prettify Code Syntax work with WordPress 7.1?

Prettify Code Syntax is officially tested up to WordPress 3.5.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Prettify Code Syntax last updated?

The latest version, 1.2.1, was released on March 21, 2013 (14 years ago).

Who makes Prettify Code Syntax?

Prettify Code Syntax is developed and maintained by jesucarr.

What are the best alternatives to Prettify Code Syntax?

The most popular alternatives to Prettify Code Syntax are WPCode (3M+ installs), Code Snippets (1M+ installs) and Head & Footer Code (100K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open