🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
HTML Editor Syntax Highlighter icon
Actively maintained Tested with WP 7.1 #677 most installed plugin #1 in code coloring

HTML Editor Syntax Highlighter

Syntax highlighting for the Classic editor's Text tab and the block editor's Code Editor, shortcodes included, using CodeMirror.

Active installs60K+50K+ tier
Downloads · 30d20.9K▲ +18.6% vs prev. 30d
Rating4.4/5110 reviews
Health score77/100Good
All-time downloads635.7KSince Apr 2012
Support resolved0 / 10% in last 2 months
RequiresWP 6.5PHP 7.4+
Overall rank#677of 77,370 plugins
Our verdict

Solid choice

HTML Editor Syntax Highlighter is a solid plugin choice in 2026, with a few things worth checking first. It runs on 60K+ sites, is rated 4.4/5 and was last updated 4 weeks ago, and scores 77/100 on our health check.

  • Proven at scale on 60K+ active sites
  • Actively developed — last update 4 weeks ago
  • Tested with the latest WordPress (7.1)
  • Momentum — downloads up 18.6% vs the previous 30 days

Daily downloads

2.5K5K7.5KSep 4Oct 18Dec 2
Yesterday338
Daily average (1y)134
Peak day10,030Oct 23, 2026
Last 12 months48.9K

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

Rankings

Where HTML Editor Syntax Highligh… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
code coloring #1 62 Best code coloring plugins →
code highlighter #2 195 Best code highlighter plugins →
Codemirror #1 170 Best Codemirror plugins →
syntax highlighter #1 143 Best syntax highlighter plugins →
text editor #7 10,000 Best text editor plugins →

Version adoption

Share of active sites per release.

  • 2.470.1%
  • 3.023.0%
  • Other7.0%

Rating breakdown

★★★★★★★★★★ 4.4 from 110 reviews

  • 5★71.8%
  • 4★12.7%
  • 3★6.4%
  • 2★4.5%
  • 1★4.5%

About HTML Editor Syntax Highlighter

From the official readme · v3.0.0

Description

Add syntax highlighting to the Classic editor’s Text (Code) tab and the block editor’s Code Editor using CodeMirror 6. HTML, inline CSS and JavaScript, and WordPress shortcodes are all highlighted.

Features

  • Syntax highlighting in the Classic editor’s Text (Code) tab for posts and pages
  • Syntax highlighting in the block editor’s Code Editor (not the Visual Editor)
  • Syntax highlighting for WordPress [shortcodes], [[escaped]] shortcodes and <!--more--> tags
  • Search and replace, code folding, bracket and tag matching, auto-closing tags and brackets
  • Default, VS Code, Vim and Emacs key bindings
  • Save your posts and pages by pressing Ctrl+S (Cmd+S on Mac)
  • Restores the cursor position after the page reloads
  • 13 themes and other settings, saved for each user
  • Fullscreen mode in the Classic editor: toggle with F11/Esc

If you would like to contribute to this plugin, view the github repo.

Changelog

A rewrite on CodeMirror 6. Your settings carry over, but Sublime Text key bindings become VS Code ones, removed themes switch to a similar light or dark one, and the Theme & Plugin file editors use WordPress's own code editor again. Going back to 2.x afterwards resets your settings.

3.0.0

  • Rewritten in TypeScript on CodeMirror 6. Shortcodes, HTML, CSS and JavaScript are highlighted by proper parsers.
  • The Theme & Plugin file editors use WordPress’s own code editor again. It checks HTML, JavaScript and JSON files for errors.
  • 13 themes, including the WordPress theme. Settings that used a removed theme switch to a similar light or dark one.
  • VS Code key bindings replace the Sublime Text ones. Themes and key bindings load only when used.
  • Closing shortcodes without an opening tag are marked.
  • New settings panel. Settings are saved in your user profile through the REST API, and existing settings carry over.
  • The block editor’s Code Editor keeps its own undo history and passes every change to the post as you type.
  • Match tags is now part of Match brackets, and Show scrollbars is gone.
  • Your 2.x settings are moved, not copied: going back to 2.x after opening a post in 3.0 starts from the default settings.

2.5.0

  • Tested with WordPress 7.1. Now requires WordPress 6.5 or later and PHP 7.4 or later.
  • Fixed: in the Gutenberg Code Editor, changes were lost when switching back to the Visual Editor with the keyboard shortcut. Changes are now saved as you type.
  • Fixed: the highlighter did not start when a post opened directly in the Gutenberg Code Editor.
  • Fixed: undoing with the Gutenberg toolbar, or content changed by saving, now shows up in the Code Editor.
  • Fixed: Gutenberg Code Editor layout styles for WordPress 6.6 and later.
  • Fixed: turning off Line Wrap or Numbering did not stay off after reloading the page.
  • Fixed: the editor failed to start the first time a user opened it.
  • Fixed: JavaScript error in the Theme & Plugin editors. The built-in WordPress code editor is now switched off the supported way.
  • Fixed: duplicate element IDs in the Key Bindings options.
  • Security: settings are validated before they are saved, and all output is escaped.
  • The settings panel can now be translated.
  • Removed the old UX survey code.

2.4.4

  • Added about 15 new themes

2.4.3

  • Updated css for wordpress v5.8

2.4.2

  • removing survey notice

2.4.1

  • fixed bug: notification would not dismiss if the visual editor was open
  • fix bug: Setting Form can now submit from memory, not just when the dom is in the page.

Full changelog on WordPress.org →

Screenshots

Syntax highlighting in the Classic editor's Code (Text) tab, with WordPress shortcodes highlighted like HTML.
Syntax highlighting in the Classic editor's Code (Text) tab, with WordPress shortcodes…
The settings panel: theme, key bindings, font and editor options, saved for each user.
The settings panel: theme, key bindings, font and editor options, saved for each user.
Syntax highlighting in the block editor's Code Editor, block comments included.
Syntax highlighting in the block editor's Code Editor, block comments included.
Example code highlighting: shortcodes, More tags, inline CSS and JavaScript.
Example code highlighting: shortcodes, More tags, inline CSS and JavaScript.
In the block editor, open the Code Editor from the Options menu, or press Ctrl+Shift+Alt+M (Cmd+Shift+Option+M on a Mac). Blocks in the visual editor are not highlighted.
In the block editor, open the Code Editor from the Options menu, or press…

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

FAQ

HTML Editor Syntax Highlighter: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is HTML Editor Syntax Highlighter free?

Yes. HTML Editor Syntax Highlighter is free to download and use from the official WordPress.org plugin directory.

Is HTML Editor Syntax Highlighter safe to use in 2026?

HTML Editor Syntax Highlighter is a solid plugin choice in 2026, with a few things worth checking first. It runs on 60K+ sites, is rated 4.4/5 and was last updated 4 weeks ago, and scores 77/100 on our health check.

How many websites use HTML Editor Syntax Highlighter?

HTML Editor Syntax Highlighter is active on 60K+ WordPress websites and has been downloaded 635,675 times since it launched in April 2012. It was downloaded 20,889 times in the last 30 days.

Does HTML Editor Syntax Highlighter work with WordPress 7.1?

Yes. The developer has tested HTML Editor Syntax Highlighter up to WordPress 7.1.5, the latest release. It requires WordPress 6.5 or newer.

What PHP version does HTML Editor Syntax Highlighter need?

HTML Editor Syntax Highlighter requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was HTML Editor Syntax Highlighter last updated?

The latest version, 3.0.0, was released on November 8, 2026 (4 weeks ago).

Who makes HTML Editor Syntax Highlighter?

HTML Editor Syntax Highlighter is developed and maintained by Peter Mukhortov.

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