🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
wp-syntax-highlighter icon
Possibly abandoned Tested up to 3.9.40 #9 in code highlighter

wp-syntax-highlighter

WP-Syntax-Highlighter is a WordPress plugin that brings the Highlight.js based source code syntax highlighting to WordPress. This plugin is compatible with any other syntax highlighter plugins that use Syntax…

Active installs10+10+ tier
Downloads · 30d48▲ +54.8% vs prev. 30d
Rating—0 reviews
Health score23/100At risk
All-time downloads2.3KSince May 2014
Support resolved—No recent threads
RequiresWP 3.5.0PHP any
Downloads · 7d12• 0% week over week
Our verdict

Consider an alternative

wp-syntax-highlighter shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 12 years ago, and scores 23/100 on our health check.

  • Small user base (10+ active installs)
  • Very few reviews so far
  • No update in 12 years
  • Only tested up to WordPress 3.9 (latest is 7.1)

How does it stack up?

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

Daily downloads

123Sep 4Oct 18Dec 2
Yesterday3
Daily average (1y)1
Peak day6Apr 12, 2026
Last 12 months378

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

Rankings

Where wp-syntax-highlighter stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
code highlighter >100 195 Best code highlighter plugins →
source highlighter #66 78 Best source highlighter plugins →
sourcecode highlighter #8 14 Best sourcecode highlighter plugins →
syntax highlighter #95 143 Best syntax highlighter plugins →

Version adoption

Share of active sites per release.

  • 0.5100.0%

About wp-syntax-highlighter

From the official readme · v0.5.1

Description

WP-Syntax-Highlighter is a WordPress plugin that brings the Highlight.js based source code syntax
highlighting to WordPress. This plugin is compatible with any other syntax highlighter
plugins that use Syntax Highlighter, GeSHi
or Prismjs.

Credits

  • Thanks to Ivan Sagalaev and the highlight.js team for this excellent library.

Installation

  1. Click Plugins > Add New in the WordPress admin panel.
  2. Search for “wp-syntax-highlighter” and install.

Customization

The plugin comes bundled with all the themes provided by Highlight.js.
Use the Theme dropdown to change the selected theme.

Additionally the plugin checks for a custom.css in your current
theme’s directory at {current_theme}/wp-syntax-highlighter/custom.css.

If this CSS file is present it will be added to the page automatically.
You can override any builtin theme’s styles in this manner.

To use a completely custom theme use the Custom option in Theme
dropdown. Now only your current theme’s custom.css will be used to style
the code blocks.

Shortcodes

Each language gets it’s own shortcode. You can use this to add code
blocks for that language into your posts.

For instance to add some PHP code into your post use,

        [php]
        foreach ($requirements as $requirement) {
          $result = array(
            'satisfied' => $requirement->check(),
            'requirement' => $requirement
          );

          array_push($results, $result);

          if (!$result['satisfied']) {
            $success = false;
          }
        }
        [/php]

Supported Languages

The following languages are currently supported by highlight.js.

  1. 1c
  2. Actionscript
  3. Apache
  4. Applescript
  5. Asciidoc
  6. Autohotkey
  7. Avrasm
  8. Axapta
  9. Bash
  10. Brainfuck
  11. Clojure
  12. Cmake
  13. Coffeescript
  14. Cpp
  15. CS
  16. CSS
  17. D
  18. Delphi
  19. Diff
  20. Django
  21. Dos
  22. Erlang
  23. Erlang-repl
  24. Fix
  25. Fsharp
  26. Glsl
  27. Go
  28. Haml
  29. Handlebars
  30. Haskell
  31. Http
  32. Ini
  33. Java
  34. Javascript
  35. JSON
  36. Lasso
  37. Lisp
  38. Livecodeserver
  39. Lua
  40. Makefile
  41. Markdown
  42. Mathematica
  43. Matlab
  44. Mel
  45. Mizar
  46. Nginx
  47. ObjectiveC
  48. Ocaml
  49. Oxygene
  50. Parser3
  51. Perl
  52. Php
  53. Profile
  54. Python
  55. R
  56. Rib
  57. Rsl
  58. Ruby
  59. Ruleslanguage
  60. Rust
  61. Scala
  62. Scilab
  63. SCSS
  64. Smalltalk
  65. SQL
  66. Tex
  67. Vala
  68. Vbnet
  69. Vbscript
  70. Vhdl
  71. XML

Note: Since WordPress shortcodes must be at least 2 characters long, for
language names shorter than 2 characters use the lang suffix.

Eg:- [dlang][/dlang]

Compatibility with other Syntax Highlighters

The plugin is completely compatible with other syntax highlighters.
It does not change the content of your existing posts. You can safely go
back to use your previous syntax highlighter after trying out
wp-syntax-highlighter.

Both Syntax Highlighter and GeSHi
and supported by default. Prism based syntax highlighters will also
work out of the box as they utilize the same markup as Highlight.js.

Changelog

WP-Syntax-Highlighter requires PHP 5.3.2+

0.5.1

  • Upgrades to Arrow 1.8.0.

0.5.0

  • Upgrades to Arrow 1.6.0.
  • Updates Highlight.js to 8.1.
  • Refreshes themes from Highlight.js repository.
  • Cleaner build without development assets.

0.4.0

  • Upgrades to Arrow 0.7.0

0.3.0

  • Upgrades to Arrow 0.3.0.

0.2.2

  • Fixes typos.

0.2.1

  • Upgrades Arrow to 0.4.1.

Full changelog on WordPress.org →

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 wp-syntax-highlighter alternatives

All code highlighter plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 HTML Editor Syntax Highlighter HTML Editor Syntax Highlighter Syntax highlighting for the Classic editor's Text tab and the block editor's Code Editor… by Peter Mukhortov 60K+ ★★★★★★★★★★ 4.4 (110) 4 weeks ago 77
2 AH Code Highlighter AH Code Highlighter The easiest to use code highlighting ever. Choose between 8 different color themes to… by Andreas Hecht 50+ ★★★★★★★★★★ 5 (1) 8 years ago 32
3 iG:Syntax Hiliter iG:Syntax Hiliter A plugin to easily present source code on your site with syntax highlighting and formatting… by Amit Gupta 40+ ★★★★★★★★★★ 5 (1) 3 months ago 64
4 Prism Highlight Prism Highlight Styles Your Code With Prism.JS, a Lightest Code Highlighter. by Shaikh Masood Alam 20+ ★★★★★★★★★★ No reviews 5 years ago 24
5 Lite Syntax Highlighting Lite Syntax Highlighting Lite Syntax Highlighting: PHP, HTML, CSS, JS, C by z-17 10+ ★★★★★★★★★★ 5 (2) 8 years ago 30
6 CodeHighlighter CodeHighlighter This plugin is a syntax highlighter for source code using GeSHi. by iwongu 10+ ★★★★★★★★★★ No reviews 14 years ago 23
7 rtSyntax rtSyntax A no-fuss, lightweight, fast and optimised syntax highlighter for WordPress by rtCamp 10+ ★★★★★★★★★★ 3.8 (4) 12 years ago 26
9 SmartAss Highlighter SmartAss Highlighter SmartAss Highlighter is extremely simple and easy to use syntax highlighter for your code… by th3pirat3 10+ ★★★★★★★★★★ No reviews 12 years ago 23
10 Navarak Code Highlighter Navarak Code Highlighter A Syntax Highlighter built in PHP and highlightJS that supports customizable languages and… by Seyyed Sajjad Kashizadeh <10 ★★★★★★★★★★ No reviews 6 years ago 21
11 Easy Code Highlighter Easy Code Highlighter Displays code with syntax highlighting using Prism.js, real line numbering, and a copy… by ReorMadrid <10 ★★★★★★★★★★ No reviews 2 years ago 24

FAQ

wp-syntax-highlighter: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is wp-syntax-highlighter free?

Yes. wp-syntax-highlighter is free to download and use from the official WordPress.org plugin directory.

Is wp-syntax-highlighter safe to use in 2026?

wp-syntax-highlighter shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 12 years ago, and scores 23/100 on our health check.

How many websites use wp-syntax-highlighter?

wp-syntax-highlighter is active on 10+ WordPress websites and has been downloaded 2,337 times since it launched in May 2014. It was downloaded 48 times in the last 30 days.

Does wp-syntax-highlighter work with WordPress 7.1?

wp-syntax-highlighter is officially tested up to WordPress 3.9.40, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was wp-syntax-highlighter last updated?

The latest version, 0.5.1, was released on August 7, 2014 (12 years ago).

Who makes wp-syntax-highlighter?

wp-syntax-highlighter is developed and maintained by Darshan Sawardekar.

What are the best alternatives to wp-syntax-highlighter?

The most popular alternatives to wp-syntax-highlighter are HTML Editor Syntax Highligh… (60K+ installs), AH Code Highlighter (50+ installs) and iG:Syntax Hiliter (40+ 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