Raw HTML Snippets
Create a library of raw HTML snippets that you can easily insert into any page/post content using a shortcode.
Use with caution
Raw HTML Snippets works, but test it on a staging site before relying on it in 2026. It runs on 2K+ sites, is rated 4.7/5 and was last updated 3 years ago, and scores 47/100 on our health check.
- Momentum — downloads up 35.2% vs the previous 30 days
- No update in 3 years
Daily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Raw HTML Snippets stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| autoformatting | #1 |
| embed html | #100 |
| html | >100 |
| raw html | #9 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.7 from 11 reviews
About Raw HTML Snippets
From the official readme · v2.0.4Description
Create a library of raw HTML snippets that you can easily insert into any page/post content using a shortcode:
[raw_html_snippet id=”my-snippet”]
Snippets consist of a unique ID (e.g. “my-snippet”) and raw HTML code. This plugin was written to stop using hacks that override WordPress’ core content filters and affect shortcode output.
This plugin will NOT taint your content or the output of other shortcodes. If you delete a snippet, any existing shortcodes with that snipet’s ID will output an empty string.
Remember, this allows you to output raw HTML. Use at your own risk. It will not check for malicious HTML/CSS/Javascript!
Installation
- Download and unzip to the ‘wp-content/plugins/’ directory
- Activate the plugin.
- Use Settings > Raw HTML Snippets to add, edit and remove your snippets.
- Insert snippets at your will
Changelog
Added plugin listing sreen "Manage Snippets" link.
2.0
- Moved RAW HTML Snippets management to Admin > Tools menu.
- Added copy/paste support in list view.
- Works with latest version of WP (5.6)
- Minor code clean up for PHP 7.4
1.1.4
- Works with latest version of WP (5.2)
1.1.3
- Works with latest version of WP (4.1.1)
1.1.2
- Fixed error where snippet id (slug) containing an ampersand (&) would break the plugin’s admin UI.
1.1.1
- Updated some code for textarea direction attributes in admin panels (left to right)
- Added isset() to avoid PHP errors / warnings
1.1
- Fixed a bug that broke the ability to save when editing an existing snippet.
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
Raw HTML Snippets: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Raw HTML Snippets free?
Yes. Raw HTML Snippets is free to download and use from the official WordPress.org plugin directory.
Is Raw HTML Snippets safe to use in 2026?
Raw HTML Snippets works, but test it on a staging site before relying on it in 2026. It runs on 2K+ sites, is rated 4.7/5 and was last updated 3 years ago, and scores 47/100 on our health check.
How many websites use Raw HTML Snippets?
Raw HTML Snippets is active on 2K+ WordPress websites and has been downloaded 43,542 times since it launched in May 2011. It was downloaded 526 times in the last 30 days.
When was Raw HTML Snippets last updated?
The latest version, 2.0.4, was released on July 31, 2023 (3 years ago).
Who makes Raw HTML Snippets?
Raw HTML Snippets is developed and maintained by Andy Stratton.
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



