PageForge 1.3: check every run before it writes, update generated pages, spintax and resumable batches. See what changed
Account Get it free
Raw HTML icon
Possibly abandoned Tested up to 6.7.12 #14 in css

Raw HTML

Lets you use raw HTML or any other code in your posts. You can also disable smart quotes and other automatic formatting on a per-post basis.

Active installs10K+10K+ tier
Downloads · 30d1.4K▼ -22.5% vs prev. 30d
Rating4.3/533 reviews
Health score44/100Fair
All-time downloads602.7KSince Jan 2008
Support resolved—No recent threads
RequiresWP 2.8PHP any
Downloads · 7d308▲ +32.8% week over week
Our verdict

Use with caution

Raw HTML works, but test it on a staging site before relying on it in 2026. It runs on 10K+ sites, is rated 4.3/5 and was last updated 2 years ago, and scores 44/100 on our health check.

  • Proven at scale on 10K+ active sites
  • No update in 2 years
  • Only tested up to WordPress 6.7 (latest is 7.1)

How does it stack up?

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

Daily downloads

54108162Aug 23Oct 6Nov 20
Yesterday42
Daily average (1y)53
Peak day231Jun 24, 2026
Last 12 months19.3K

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

Rankings

Where Raw HTML stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
css >100 10,000 Best css plugins →
formatting >100 3,342 Best formatting plugins →
html #74 10,000 Best html plugins →
javascript >100 10,000 Best javascript plugins →
posts >100 10,000 Best posts plugins →

Version adoption

Share of active sites per release.

  • 1.688.5%
  • 1.57.1%
  • Other4.5%

Rating breakdown

★★★★★★★★★★ 4.3 from 33 reviews

  • 5★69.7%
  • 4★15.2%
  • 3★3.0%
  • 2★0.00%
  • 1★12.1%

About Raw HTML

From the official readme · v1.6.4

Description

Lets you disable automatic formatting like smart quotes and automatic paragraph creation, and use raw HTML/JS/CSS code in your posts without WordPress messing it up.

Features

With this plugin, you can wrap any part of your post in [raw]…[/raw] tags to prevent WordPress from converting newlines to HTML paragraphs, replacing apostrophes with typographic quotes and so on. This is very useful if you need to add a CSS block or JavaScript to your post.

RawHTML will also add new checkboxes to the “Edit Post” screen that let you disable certain WP filters on a per-post basis. This way you can:

  • Disable wptexturize (the function that creates smart quotes and other typographic characters).
  • Disable automatic paragraph creation.
  • Disable image smilies.
  • Disable convert_chars (the function that converts ampersands to HTML entities and “fixes” some Unicode characters).

The free version only supports editing posts in the Text tab (called “HTML” in older WordPress versions). Get the Pro version if you want to be able to switch between Text and the Visual editor without WordPress messing up your content.

Compatibility

This plugin doesn’t fully support the Gutenberg editor. As of WordPress 5.0, some Raw HTML features will only work if you use the Classic Editor plugin.

Usage

To prevent a part of your post or page from being filtered by WordPress, switch to the Text/HTML editor and wrap it in [raw]...[/raw] or <!--raw-->...<!--/raw--> tags. These two versions work exactly the same, except that the latter won’t be visible to your visitors even if you deactivate Raw HTML.

Example :

[raw]
This 

is 

a "test"!
[/raw]

In this case, the tags will prevent WordPress from inserting paragraph breaks between “This”, “is” and “a “test””, as well as ensure that the double quotes arround “test” are not converted to typographic (curly) quotes.

To avoid problems, only edit posts that contain your custom code in Text/HTML mode. If you’d like to be able to also use the Visual editor, get the Pro version. It will make the code betwen [raw] tags appear as a read-only placeholder when viewed in Visual mode, ensuring WordPress doesn’t change it.

Combining shortcodes

By default, shortcodes that are inside [raw] tags will not work. They will just show up as plain text. To enable shortcodes, add the shortcodes=1 attribute to the tag:

[raw shortcodes=1]This [shortcode] will be run.[/raw]

[raw]This [shortcode] won't work.[/raw]

Preserving [raw] code in excerpts

By default, the plugin will automatically remove any code that’s inside [raw]...[/raw] tags from post excerpts. You can prevent that by adding the following line to wp-config.php:

define('RAW_HTML_KEEP_RAW_IN_EXCERPTS', true);

This will ensure that the plugin doesn’t strip [raw] blocks from automatically generated excerpts.

Notes

Some features of Raw HTML will only work for users who have the “unfiltered_html” capability. In a normal WordPress install that includes the Editor and Administrator roles. In a Multisite install, only the Super Admin has this capability by default.

Installation

To install the plugin follow these steps :

  1. Download the raw-html.zip file to your local machine.
  2. Go to ‘Plugins -> Add New -> Upload’.
  3. Upload the zip file using the provided form.
  4. Activate the plugin through the ‘Plugins’ menu in WordPress

Alternatively, you can search for “Raw HTML” in ‘Plugins -> Add New -> Search’ and install it from there, or unzip raw-html.zip and upload the raw-html directory to your /wp-content/plugins directory.

Changelog

1.6.4

  • Improved compatibility with plugins that change or hide the WordPress version number.
  • Tested up to WordPress 6.1.1 and 6.2-alpha.

1.6.3

  • Fixed a potential PHP warning about an expression being passed by reference.
  • Tested up to WordPress 5.5-alpha.

1.6.2

  • Fixed a conflict with Jetpack that could cause the plugin to trigger a fatal error during certain cron jobs.
  • Tested up to WordPress 5.3.

1.6.1

  • Fixed a conflict with the “AMP Stories” plugin. This fix may also help with current or future conflicts with other plugins that remove the default post filters.

1.6

  • Added a way to preserve [raw] blocks in post excerpts.
  • Enabled the “Raw HTML” metabox for custom post types.
  • Tested up to WP 5.2 (only with the Classic Editor).

1.5.1

  • Added limited support for the page builder included with GoodLayers themes (e.g. Mediso).
  • Tested with WP 4.8.2 and 4.9-beta1.

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 Raw HTML alternatives

All css plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager WPCode Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code… by Syed Balkhi 3M+ ★★★★★★★★★★ 4.9 (1.9K) 1 week ago 94
2 Simple Custom CSS Plugin Simple Custom CSS Plugin Add Custom CSS to your WordPress site without any hassles. by John Regan 100K+ ★★★★★★★★★★ 4.7 (159) 2 years ago 51
3 Blocks Animation: CSS Animations for Gutenberg Blocks Blocks Animation: CSS Animations for Gutenberg Blocks Add CSS animations and scroll effects to any Gutenberg block. Choose from fade, slide, zoom… by Hardeep Asrani 90K+ ★★★★★★★★★★ 4.8 (73) 1 week ago 90
4 Widget CSS Classes Widget CSS Classes Add custom classes and ids plus first, last, even, odd, and numbered classes to your… by Jory Hogeveen 80K+ ★★★★★★★★★★ 4.9 (74) 2 years ago 53
5 Simple CSS Simple CSS Add CSS to your website through an admin editor, the Customizer or a metabox for page/post… by Tom 80K+ ★★★★★★★★★★ 4.9 (60) 1 year ago 58
6 WP Add Custom CSS WP Add Custom CSS Add custom css to the whole website and to specific posts and pages. by Daniele De Santis 60K+ ★★★★★★★★★★ 4.8 (89) 1 year ago 56
7 Clear Cache for Me Clear Cache for Me Purges cache on WPEngine, W3TC, WP Super Cache, WP Fastest Cache when widgets, menus… by webheadcoder 40K+ ★★★★★★★★★★ 4.8 (29) 5 months ago 75
8 WP-SCSS WP-SCSS Compiles .scss files to .css and enqueues them. by Connect Think 40K+ ★★★★★★★★★★ 4.3 (62) 3 weeks ago 88
9 Visual CSS Style Editor Visual CSS Style Editor Style your WordPress site visually. Discover the most popular front-end design plugin! Try… by YellowPencil 30K+ ★★★★★★★★★★ 4.1 (90) 2 days ago 87
10 Scripts n Styles Scripts n Styles This plugin allows Admin users to individually add HTML, custom CSS, Classes and JavaScript… by WraithKenny 30K+ ★★★★★★★★★★ 4.4 (30) 3 years ago 45

FAQ

Raw HTML: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Raw HTML free?

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

Is Raw HTML safe to use in 2026?

Raw HTML works, but test it on a staging site before relying on it in 2026. It runs on 10K+ sites, is rated 4.3/5 and was last updated 2 years ago, and scores 44/100 on our health check.

How many websites use Raw HTML?

Raw HTML is active on 10K+ WordPress websites and has been downloaded 602,684 times since it launched in January 2008. It was downloaded 1,370 times in the last 30 days.

Does Raw HTML work with WordPress 7.1?

Raw HTML is officially tested up to WordPress 6.7.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Raw HTML last updated?

The latest version, 1.6.4, was released on November 11, 2024 (2 years ago).

Who makes Raw HTML?

Raw HTML is developed and maintained by Janis Elsts.

What are the best alternatives to Raw HTML?

The most popular alternatives to Raw HTML are WPCode (3M+ installs), Simple Custom CSS Plugin (100K+ installs) and Blocks Animation: CSS Anima… (90K+ 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