🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Lazy Syntax Highlighter icon
Actively maintained Tested with WP 7.1 #14 in code block

Lazy Syntax Highlighter

The lazy way to highlight code — rendered on the server, cached, and zero front-end JavaScript. Renders your existing Enlighter blocks as they are.

Active installs<10New
Downloads · 30d71▼ -6.6% vs prev. 30d
Rating—0 reviews
Health score60/100Fair
All-time downloads350Since Sep 2026
Support resolved—No recent threads
RequiresWP 6.3PHP 7.4+
Downloads · 7d14▼ -51.7% week over week
Our verdict

Use with caution

Lazy Syntax Highlighter works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (<10 active installs)
  • Very few reviews so far

How does it stack up?

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

Daily downloads

102131Sep 14Oct 23Dec 2
Yesterday4
Daily average (1y)4
Peak day42Sep 14, 2026
Last 12 months355

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

Rankings

Where Lazy Syntax Highlighter stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
code block >100 10,000 Best code block plugins →
code highlighting >100 840 Best code highlighting plugins →
enlighter alternative #1 1 Best enlighter alternative plugins →
prism alternative #4 9 Best prism alternative plugins →
syntax highlighter #18 143 Best syntax highlighter plugins →

About Lazy Syntax Highlighter

From the official readme · v1.3.4

Description

Lazy Syntax Highlighter highlights code on the server, once, and caches the result. Your visitors download a couple of kilobytes of CSS and no JavaScript at all. There is no flash of unstyled code, nothing to wait for, and nothing to break when a script fails to load.

Free forever core — server-side rendering, caching, around 185 languages, all five themes, and the full Enlighter compatibility layer are in the free plugin. No block cap, no watermark.

Migrating from Enlighter?

Since WordPress 6.3 moved the post editor into an iframe, Enlighter blocks can render unstyled while you’re writing them — and if you have hundreds of posts already using it, rewriting them all isn’t realistic.

Install Lazy Syntax Highlighter and your existing Enlighter blocks render correctly again immediately, automatically — on the front end and in the editor. Nothing is written to your database. Not one post is modified. Deactivate the plugin and your posts are exactly as they were.

That is not a trial feature. It is in the free plugin, permanently.

Safe to remove, too. Uninstalling Lazy Syntax Highlighter converts every block it created back into a standard WordPress Code block, and the compatibility layers never wrote anything to begin with — so you are never locked in, and removing the plugin never leaves your site broken.

What you get

  • A code block that highlights on the server — the HTML arrives already coloured, with no front-end JavaScript
  • Rendered HTML cached in its own database table, warmed automatically when you save a post
  • Five hand-tuned themes, every token colour checked for WCAG AA contrast
  • Line numbers, line highlighting, a starting line number, and a hover effect
  • Multi-line folding — collapse line ranges behind a summary row, with no front-end JavaScript
  • Inline highlighting — a toolbar button that colours a run of code inside a sentence
  • Syntax highlighting while you type, right in the block editor, with a one-click language guess
  • A header bar — none, or the macOS “headlights” dots — plus site-wide font, size, line-height, corner and padding controls
  • An optional copy-to-clipboard button — about 1 KB, deferred, and loaded only on pages that use it
  • Tab-to-space conversion, so indentation looks the same in every browser
  • Around 185 languages, with PHP, JavaScript, Python, PowerShell, Bash, HTML, CSS, SQL, JSON and YAML given the most attention
  • Code in comments, using Enlighter’s shortcode syntax — existing Enlighter comments keep working untouched
  • WordPress’s own Code blocks are picked up too, so every code block on the site looks the same without touching a single post

Fast by construction

  • Nothing is enqueued on pages without a code block. No CSS, no JavaScript, nothing.
  • Highlighting never runs on a cache hit.
  • Only the one grammar a block actually needs is loaded, not all 185.
  • The cache lives in its own table, never in the autoloaded options blob.
  • If you run Redis or Memcached, a cache hit never touches the database at all.
  • Output is identical for every visitor, so full-page caches and CDNs cache it normally.
  • No webfonts. No external requests. Ever.

Why Lazy Syntax Highlighter

Lazy Syntax Highlighter is built and used daily on a real site — not a feature checklist assembled to compete on paper. If you would rather not ship a highlighting engine to every visitor’s browser, or you want your existing Enlighter blocks converted automatically instead of by hand, that is exactly what this is for.

The free plugin is actively maintained and stays that way. There is a paid add-on, Lazy Syntax Highlighter Pro, but it is built on top of the free plugin — every fix and language improvement lands in the free version first.

It is the second plugin in the Lazy family, alongside LazyLink, and shares the same rules: vanilla PHP and core WordPress APIs, no third-party services, and nothing phoning home.

Lazy Syntax Highlighter Pro

Lazy Syntax Highlighter Pro is an optional paid add-on that installs alongside the free plugin. Same render engine, same zero front-end JavaScript — the extra themes are CSS, the long-code toggle is CSS, and the Enlighter migration runs on the command line. It adds:

  • 19 more themes, 24 in total — Nord, Dracula, Tokyo Night, Solarized, Gruvbox, Night Owl and eleven of VS Code’s own
  • Three more header-bar styles — muted headlights, a language label, and a language pill with optional custom text per block
  • Reader-friendly long code — collapse long snippets behind a “show more” button, with a site-wide line threshold and a per-block override, still with no front-end JavaScript
  • A site-wide default language, and a per-post default, so you are not setting the language on every block
  • wp lsh migrate — convert every Enlighter block on the site to a native block permanently, with a dry run and a full rollback
  • Priority email support

Details and pricing: https://syntax.lazyadmin.nl

Pro is entirely optional. Nothing in the free plugin is time-limited, capped or watermarked, and if a Pro licence ever lapses every block simply falls back to the free plugin’s styling — your posts are never touched, and any blocks already migrated stay converted.

Privacy

This plugin makes no external HTTP requests, loads no fonts or scripts from third parties, and collects nothing.

Installation

  1. Install and activate the plugin.
  2. That is all. Existing Enlighter blocks start rendering correctly straight away.
  3. Optionally visit Lazy Syntax Highlighter in the admin menu to pick a theme — the Themes tab previews all five side by side in the language of your choice.

To add a new block, search the inserter for Highlighted Code, or type /code (or /highlight, or a language name such as /php) on a blank line.

Changelog

1.3.4

  • Fix: the editor’s code area could still show a spurious vertical scrollbar and misalign line height and character position after the 1.3.3 fix, in some themes/fonts — the overlay was rebuilt on more robust footing to close the gap.

1.3.3

  • Fix: the editor’s code area could show a spurious vertical scrollbar even though it already grows to fit the code.
  • Fix: clicking or selecting text in the editor’s code area could land on the wrong character after changing the theme, font size, or line numbers.
  • Fix: pressing Ctrl+Z (or Cmd+Z) while editing a code block could corrupt every code block on the page, requiring a full page refresh to recover.

1.3.2

  • New: an “Apply to all code blocks” button next to the language picker, so pasting content with several code blocks only requires setting the language once.
  • Improved: after you set the language on one code block, newly inserted blocks in the same session now default to that language instead of reverting to the site-wide default.
  • Improved: code text is a bit larger on narrow (mobile) screens, where 13px was hard to read.

1.3.1

  • Fixed: a PHP notice (_load_textdomain_just_in_time) on every admin and front-end request with WP_DEBUG on. The theme and header lists were built with their names already translated, during plugins_loaded — too early for WordPress to have loaded any translations. Names are now translated when they are displayed instead.
  • Changed: everything the plugin stores now uses a four-plus-character lazysyhi_ prefix instead of lsh_, so it cannot collide with another plugin. Your settings, render cache and scheduled cleanup are carried over automatically on update — there is nothing to do. Block CSS class names are unchanged, so existing posts are untouched.
  • Changed: the wp lsh migrate bulk-conversion command now ships in Lazy Syntax Highlighter Pro rather than sitting inactive in the free plugin.
  • Fixed: the block editor bundle could be left out of a release archive, which silently removed the “Highlighted Code” block. It is now checked into the repository and verified during packaging.
  • Removed: the Plugin URI header.

1.3.0

  • New: a Free vs Pro tab in the admin screen — what the paid add-on adds, a full feature comparison, pricing and an FAQ. It adapts once Pro is installed, and shows nothing to sell once Pro is active.
  • New: a Help tab — a linkable WP-CLI reference covering wp lsh cache, plus the exact Enlighter attribute mapping the compatibility layer applies.
  • Docs: the readme now states plainly that uninstalling converts blocks back to standard WordPress Code blocks, and that the free plugin stays maintained.

1.2.0

  • Improved: PowerShell, JavaScript, TypeScript, Python and PHP now distinguish declaration/modifier keywords (class, function, const, public, static, this) from control-flow keywords (if, return, for, throw) with a new colour bucket, matching how real code editors like VS Code colour them. Existing code blocks in these five languages will recolour slightly after this update.
  • Fixed: PowerShell cmdlet parameter switches (-Path, -Recurse) no longer share a colour with $variables, in both the front end and the live editor preview.
  • Fixed: PowerShell cmdlet and function-call names (Get-ChildItem, Sort-Object) are now coloured like a function name instead of sharing a colour with type casts like [string]/[int], in both the front end and the live editor preview.
  • Fixed: PowerShell param stays keyword-coloured, matching real code editors, instead of being grouped with declaration keywords.
  • Fixed: PowerShell brackets and braces ((), {}, []) now get a colour instead of rendering as plain text.
  • Fixed: TypeScript interface, class and module names are now coloured; constructor/private/protected/public are no longer left as plain text.
  • The live editor preview (block editor) now applies the same keyword split and PowerShell corrections as the front end, for JavaScript, TypeScript, Python, PHP and PowerShell — what you see while writing now matches what gets published.

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 Lazy Syntax Highlighter alternatives

All code block plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 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
2 Code Block – share beautiful code snippets readers can copy Code Block – share beautiful code snippets readers can copy Create syntax-highlighted, copy-ready code snippets in Gutenberg with responsive layouts… by bPlugins 200+ ★★★★★★★★★★ No reviews 19 hours ago 69
3 Code Block Copy Button Code Block Copy Button Add a customizable copy button to code blocks for fast, one-click copying. by tcstix 100+ ★★★★★★★★★★ No reviews 5 months ago 53
4 Easy Syntax Highlighter Easy Syntax Highlighter Modern, lightweight syntax highlighter for WordPress using Highlight.js by tiptinker 30+ ★★★★★★★★★★ No reviews 8 months ago 28
5 DBlocks CodePro DBlocks CodePro Advanced Custom HTML Block and Code Syntax Highlightering for sharing code snippets and… by DPlugins 10+ ★★★★★★★★★★ 5 (1) 1 month ago 64
6 Syntax Highlight Nano Syntax Highlight Nano Adds modern syntax highlighting to WordPress's standard code block using the robust… by Takashi Fujisaki 10+ ★★★★★★★★★★ No reviews 3 months ago 62
7 Plum Code Box Plum Code Box Plum Code Box makes it easy to insert and manage code blocks using the Chili javascript… by jtgraphic 10+ ★★★★★★★★★★ No reviews 16 years ago 23
8 Nahnu Code & API Block Nahnu Code & API Block A block suite for developer documentation: syntax-highlighted code snippets plus a full set… by Jaime Alnassim 10+ ★★★★★★★★★★ No reviews 2 weeks ago 66
9 LumiCode Syntax Highlighter LumiCode Syntax Highlighter Beautiful syntax highlighting for WordPress: 40+ languages, copy buttons, line numbers… by cr8vstacks 10+ ★★★★★★★★★★ No reviews 2 months ago 57
10 codefence.io codefence.io codefence.io is an easy to embed editor and compiler for over 20 server-side programming… by benphelps 10+ ★★★★★★★★★★ No reviews 7 years ago 23

FAQ

Lazy Syntax Highlighter: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Lazy Syntax Highlighter free?

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

Is Lazy Syntax Highlighter safe to use in 2026?

Lazy Syntax Highlighter works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.

How many websites use Lazy Syntax Highlighter?

Lazy Syntax Highlighter is active on <10 WordPress websites and has been downloaded 350 times since it launched in September 2026. It was downloaded 71 times in the last 30 days.

Does Lazy Syntax Highlighter work with WordPress 7.1?

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

What PHP version does Lazy Syntax Highlighter need?

Lazy 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 Lazy Syntax Highlighter last updated?

The latest version, 1.3.4, was released on September 23, 2026 (2 months ago).

Who makes Lazy Syntax Highlighter?

Lazy Syntax Highlighter is developed and maintained by Rudy Mens.

What are the best alternatives to Lazy Syntax Highlighter?

The most popular alternatives to Lazy Syntax Highlighter are Highlighting Code Block (10K+ installs), Code Block (200+ installs) and Code Block Copy Button (100+ 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