HTML Editor Syntax Highlighter
Syntax highlighting for the Classic editor's Text tab and the block editor's Code Editor, shortcodes included, using CodeMirror.
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
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where HTML Editor Syntax Highligh… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| code coloring | #1 |
| code highlighter | #2 |
| Codemirror | #1 |
| syntax highlighter | #1 |
| text editor | #7 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.4 from 110 reviews
About HTML Editor Syntax Highlighter
From the official readme · v3.0.0Description
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+Son 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.
Screenshots
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.
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
