Best code plugins for WordPress
The most popular code plugins for WordPress in November 2026, in WordPress.org’s own popular order, which follows active installs. WPCode leads with 3M+ active installs, ahead of Code Snippets (1M+) and Head & Footer Code (100K+). All 252 plugins tagged “code” are below, with figures from WordPress.org that update every day.
Installs aren’t everything: a recent release, a “Tested up to” that matches the current WordPress, and support threads that get resolved show a plugin is looked after. Open any plugin for its downloads, rank history and alternatives.
Research this niche or see all plugins.
Top 10 code plugins
- 1.
WPCodeThe most installed code plugin, with 3M+ active installs. Rated 4.9 from 1,920 reviews, updated 1 week ago.
- 2.Code Snippets
1M+ active installs. Rated 4.7 from 510 reviews, updated 2 days ago.
- 3.Head & Footer Code
100K+ active installs. Rated 5.0 from 51 reviews, updated 2 months ago.
- 4.
Simple Custom CSS Plugin100K+ active installs. Rated 4.7 from 159 reviews, last updated 1 year ago. Tested only up to WordPress 6.7.11.
- 5.Shortcoder
100K+ active installs. Rated 4.9 from 227 reviews, updated 1 month ago.
- 6.Scripts n Styles
30K+ active installs. Rated 4.4 from 30 reviews, last updated 3 years ago. Tested only up to WordPress 6.2.15.
- 7.SyntaxHighlighter Evolved
20K+ active installs. Rated 4.3 from 86 reviews, last updated 1 year ago. Tested only up to WordPress 6.7.11.
- 8.Code Embed
10K+ active installs. Rated 4.4 from 45 reviews, updated 2 months ago.
- 9.WP Coder
10K+ active installs. Rated 4.9 from 32 reviews, updated 1 month ago.
- 10.Advance Custom HTML
10K+ active installs. Only 4 reviews so far, updated 1 week ago.
All 252 plugins tagged “code”

WPCode
#19by Syed Balkhi10 days ago
Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditional logic, insert ads pixel code, and more.
- Installs
- 3M+
- Rating
- 4.9(1.9K)
- Downloads
- 48K/day
Code Snippets
Up in the last 7 days:1#31by Code Snippets Pro2 days ago
Manage custom WordPress code in one dashboard. Create PHP and HTML snippets, preview code, track snippet totals and reuse code across sites.
- Installs
- 1M+
- Rating
- 4.7(510)
- Downloads
- 18.4K/day
Head & Footer Code
Down in the last 7 days:2#305by Aleksandar Urošević2 months ago
Easy add site-wide, category and article specific custom code before the closing </head> and </body>, or after opening <body> tag.
- Installs
- 100K+
- Rating
- 5.0(51)
- Downloads
- 608/day

Simple Custom CSS Plugin
#359by John Regan1 year ago
Add Custom CSS to your WordPress site without any hassles.
- Installs
- 100K+
- Rating
- 4.7(159)
- Downloads
- 304/day
Shortcoder
Up in the last 7 days:2#431by vaakash1 month ago
Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes within posts, pages & widgets
- Installs
- 100K+
- Rating
- 4.9(227)
- Downloads
- 479/day
Scripts n Styles
Up in the last 7 days:5#1,065by WraithKenny3 years ago
This plugin allows Admin users to individually add HTML, custom CSS, Classes and JavaScript directly to Post, Pages or any other custom post types.
- Installs
- 30K+
- Rating
- 4.4(30)
- Downloads
- 50/day
SyntaxHighlighter Evolved
Down in the last 7 days:3#1,374by Alex Mills1 year ago
Easily post syntax-highlighted code to your site without having to modify the code at all. As seen on WordPress.com.
- Installs
- 20K+
- Rating
- 4.3(86)
- Downloads
- 91/day
Code Embed
Up in the last 7 days:1#1,492by David Artiss2 months ago
Code Embed provides a very easy and efficient way to embed code (JavaScript, CSS and HTML) in your posts and pages.
- Installs
- 10K+
- Rating
- 4.4(45)
- Downloads
- 94/day
WP Coder
Down in the last 7 days:3#1,645by Wow-Company1 month ago
Snippets made simple — easily insert and manage custom PHP, CSS, JS & HTML without coding in theme files.
- Installs
- 10K+
- Rating
- 4.9(32)
- Downloads
- 110/day
Advance Custom HTML
Down in the last 7 days:2#1,678by bPlugins8 days ago
Display HTML, CSS, JavaScript, PHP & Python code snippets in WordPress with live preview, syntax highlighting and a copy button.
- Installs
- 10K+
- Rating
- 2.5(4)
- Downloads
- 91/day

Highlighting Code Block
Down in the last 7 days:3#1,712by LOOS4 months ago
Add code block with syntax highlighting using prism.js. (Available for Gutenberg and Classic Editor)
- Installs
- 10K+
- Rating
- 4.5(20)
- Downloads
- 71/day

CSS & JavaScript Toolbox
Up in the last 7 days:2#2,134by wipeoutmedia2 months ago
Add CSS, JavaScript, PHP and HTML code snippets to your site.
- Installs
- 10K+
- Rating
- 4.8(84)
- Downloads
- 69/day

Code Block Pro
Down in the last 7 days:1#2,141by Kevin Batdorf2 months ago
Code highlighting powered by the VS Code engine. Performance focused. No bloat.
- Installs
- 10K+
- Rating
- 4.8(50)
- Downloads
- 71/day

Foxtool All-in-One
Down in the last 7 days:18#2,683by Fox Theme2 months ago
Summarize the essential functions for managing a WordPress website
- Installs
- 6K+
- Rating
- 5.0(20)
- Downloads
- 47/day

Advanced CSS Editor
Down in the last 7 days:9#3,298by Hardeep Asrani7 years ago
Advanced CSS Editor is a lightweight plugin that lets you write different CSS code for each device (desktop, tablets, and mobile phones) right from th …
- Installs
- 4K+
- Rating
- 4.3(6)
- Downloads
- 17/day
Code Widget
Down in the last 7 days:7#3,738by Sharaz Shahid4 years ago
Code widget help to add Short Code, PHP Code, HTML, and Simple Text in widget.
- Installs
- 3K+
- Rating
- 4.9(35)
- Downloads
- 16/day
Urvanov Syntax Highlighter
Up in the last 7 days:4#4,101by urvanov1 month ago
Reincarnation of Crayon Syntax Highlighter. Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, or post text.
- Installs
- 3K+
- Rating
- 4.5(19)
- Downloads
- 70/day
Add Code To Head
Down in the last 7 days:4#4,227by salubrio6 months ago
Add custom JavaScript/HTML/CSS codes to the page head without editing the template.
- Installs
- 2K+
- Rating
- 5.0(2)
- Downloads
- 22/day

WebberZone Snippetz
Down in the last 7 days:5#5,043by Ajay5 days ago
The ultimate snippet manager for WordPress. Create and manage custom HTML, CSS, or JS code snippets and control where and when they are displayed.
- Installs
- 2K+
- Rating
- 4.8(10)
- Downloads
- 40/day
Syntax-highlighting Code Block (with Server-side Rendering)
Up in the last 7 days:2#5,324by Weston Ruter5 months ago
Extending the Code block with syntax highlighting rendered on the server, thus being AMP-compatible and having faster frontend performance.
- Installs
- 1K+
- Rating
- 5.0(26)
- Downloads
- 40/day

Greenshift Smart Code AI
Down in the last 7 days:5#6,122by wpsoul1 year ago
Introducing Smart Code AI for WordPress - the revolutionary plugin that unleashes the power of Artificial Intelligence within the Gutenberg editor!
- Installs
- 1K+
- Rating
- 5.0(1)
- Downloads
- 22/day

Code Prettify
Up in the last 7 days:22#6,129by volca26 days ago
100% automatic code highlighting using the Prettify library. No shortcodes, no classnames, fully automatic and pure awesome.
- Installs
- 1K+
- Rating
- 5.0(18)
- Downloads
- 46/day

CodeColorer
Down in the last 7 days:24#6,488by Dmytro Shteflyuk2 months ago
Syntax highlighting for code snippets in posts, comments, and RSS, with inline code, themes, and line numbers.
- Installs
- 1K+
- Rating
- 4.9(11)
- Downloads
- 22/day
Code Engine
Down in the last 7 days:44#7,333by Jordy Meow14 days ago
Manage PHP & JS snippets the clean way, then turn any function into an AI tool, a workflow step, or a REST endpoint. Write once, use everywhere. 🤟
- Installs
- 800+
- Rating
- 5.0(9)
- Downloads
- 68/day

Nav Menu Manager
#7,506by Robert Noakes1 year ago
Simplifies nav menu maintenance and functionality providing more control over nav menus with less coding.
- Installs
- 800+
- Rating
- 5.0(5)
- Downloads
- 10/day

Code Click to Copy
Down in the last 7 days:18#7,998by treeflips1 year ago
Copies and tags automatically to clipboard with customizable tooltips.
- Installs
- 700+
- Rating
- 4.7(14)
- Downloads
- 11/day

CodePen Embed Block
Down in the last 7 days:39#8,419by Chris Coyier2 months ago
An (official) block for CodePen Embeds.
- Installs
- 600+
- Rating
- 5.0(2)
- Downloads
- 11/day

Validated
Up in the last 7 days:46#8,700by Allan Collins7 years ago
This plugin will allow you to check your pages/posts HTML against the W3C Validator.
- Installs
- 500+
- Rating
- 4.0(5)
- Downloads
- 8/day

Code Block Syntax Highlighter for Elementor
Down in the last 7 days:38#8,713by netninja22023 years ago
This is an drag & drop widget for syntax highlighting of code blocks.
- Installs
- 500+
- Rating
- 5.0(8)
- Downloads
- 101/day

Code Snippet DM
Down in the last 7 days:37#9,082by George-Paul Crețu1 year ago
Code Snippet DM enables you to display code snippets in a stylish way inside your content.
- Installs
- 500+
- Rating
- 5.0(4)
- Downloads
- 11/day

Preserve Code Formatting
Up in the last 7 days:38#9,519by Scott Reilly1 year ago
Preserve formatting of code for display by preventing its modification by WordPress and other plugins while also retaining whitespace.
- Installs
- 400+
- Rating
- 4.7(3)
- Downloads
- 11/day
📷 Simple QR Code Generator Widget
Down in the last 7 days:30#9,551by nemezis2 years ago
Simple QR Code Generator
- Installs
- 400+
- Rating
- 5.0(1)
- Downloads
- 6/day

Pastacode
Down in the last 7 days:29#9,594by Willy Bahuaud8 months ago
Use Pastacode to add code into your posts with the awesome PrismJs coloration library. So, past'a code!
- Installs
- 400+
- Rating
- 4.9(14)
- Downloads
- 8/day
WP-Markdown
Down in the last 7 days:11#10,220by Stephen Harris8 years ago
Allows Markdown to be enabled in posts, comments and bbPress forums.
- Installs
- 300+
- Rating
- 4.5(28)
- Downloads
- 11/day
Better File Editor
Up in the last 7 days:37#10,281by Bryan Petty11 years ago
Adds line numbers, syntax highlighting, code folding, and lots more to the theme and plugin editors in the admin panel.
- Installs
- 300+
- Rating
- 4.7(17)
- Downloads
- 6/day
AMS Google Webmaster Tools
Down in the last 7 days:47#10,316by Manoj4 years ago
Adds Google Webmaster Tools verification meta-tag.
- Installs
- 300+
- Rating
- –
- Downloads
- 0/day
Advanced Custom Fields
Up in the last 7 days:81#10,340by taylor.mitchellstjoseph12 years ago
Adds a 'Code Area' textarea editor field type for the Advanced Custom Fields WordPress plugin.
- Installs
- 300+
- Rating
- 3.8(10)
- Downloads
- 11/day

Simple Code Highlighter
Up in the last 7 days:22#10,414by kedinn9 years ago
Simple Syntax Code Highlighter
- Installs
- 300+
- Rating
- 4.7(7)
- Downloads
- 0/day

Create with Code
Up in the last 7 days:1#10,551by pddring1 year ago
Create with code lets you quickly embed and run your python projects in your website / blog
- Installs
- 300+
- Rating
- 4.2(5)
- Downloads
- 0/day

PopCash Code Integration Tool
Down in the last 7 days:54#10,581by PopCash7 months ago
This plugin is designed to help the integration of the publisher code from PopCash.Net
- Installs
- 300+
- Rating
- 4.0(8)
- Downloads
- 11/day
WP SyntaxHighlighter
Down in the last 7 days:42#10,856by redcocker14 years ago
This plugin is code syntax highlighter based on SyntaxHighlighter ver. 3.0.83 and 2.1.382.
- Installs
- 300+
- Rating
- 5.0(1)
- Downloads
- 0/day

WordPress Playground Block
Down in the last 7 days:16#11,772by WordPress.org2 months ago
This WordPress block embeds WordPress Playground in your posts and pages. An optional interactive code editor allows readers to learn and explore.
- Installs
- 200+
- Rating
- 5.0(2)
- Downloads
- 22/day

Simple Code Block
Down in the last 7 days:16#12,047by pablocianes6 years ago
A simple block to insert code into Gutenberg.
- Installs
- 200+
- Rating
- 4.9(9)
- Downloads
- 0/day
Code Markup
Up in the last 7 days:7#12,655by bennettmcelwee18 years ago
Code Markup is a WordPress plugin that makes it easy to include program code samples in your posts.
- Installs
- 200+
- Rating
- –
- Downloads
- 4/day
Gist GitHub Shortcode
Down in the last 7 days:3#12,678by Claudio Sanches6 years ago
Adds Github Gists in your posts via shortcode
- Installs
- 200+
- Rating
- 5.0(6)
- Downloads
- 6/day

WP Konami Code
Down in the last 7 days:19#12,953by Yslo9 years ago
Add Konami code easter egg to your WordPress website.
- Installs
- 200+
- Rating
- 5.0(2)
- Downloads
- 0/day
WP Code Prettify
Up in the last 7 days:54#13,074by Soli7 years ago
This plugin enable syntax highlighting of code snippets in your post using Google Code Prettify.
- Installs
- 100+
- Rating
- 4.7(3)
- Downloads
- 6/day
QR code generator
Down in the last 7 days:63#13,088by Marco14 years ago
This plugin will display a QR code of the actually loaded page in your sidebar.
- Installs
- 100+
- Rating
- –
- Downloads
- 6/day

Snippet Vault
Down in the last 7 days:116#13,257by Jordy Meow1 year ago
Versatile plugin that not only manages PHP code snippets but also acts as a powerful bridge connecting WordPress, AI, and external digital platforms.
- Installs
- 100+
- Rating
- 5.0(2)
- Downloads
- 6/day
Google Syntax Highlighter for WordPress
Down in the last 7 days:76#13,410google-syntax-highlighter19 years ago
This plugin makes using the Google Syntax highlighter by Alex Gorbatchev to highlight code snippets within WordPress simple.
- Installs
- 100+
- Rating
- –
- Downloads
- 0/day