Description
At a glance
Raw HTML v1.6.4 is a free WordPress plugin with 10K+ active installs, 4.3/5 rating from 33 reviews, updated November 11, 2024, requires WordPress 2.8+. Download the latest GPL version below — free, with live demo included.
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.
Frequently asked questions
What do I get when I download Raw HTML?
Raw HTML 1.6.4 is the latest version. It is a WordPress plugin you can download here free of charge under the GPL license, with the complete feature set included and no trial limitations. It holds a 4.3/5 rating from 33 user reviews.
Does Raw HTML cost anything?
No. Raw HTML 1.6.4 is 100% free — the full GPL version, not a trial or demo. There are no download limits, no accounts to create, and no upsells during the download.
How do I install Raw HTML 1.6.4?
Download the ZIP file from this page, then in your WordPress dashboard go to Plugins → Add New → Upload Plugin, choose the file, click Install Now, then Activate. The plugin works immediately after activation — no license key or extra setup is required for the core features.
What are the requirements for Raw HTML?
Raw HTML 1.6.4 requires WordPress 2.8 or higher. Most modern WordPress hosts already meet these versions. Running older versions may cause features to break, so update WordPress and PHP first if your site is behind.
When was Raw HTML last updated?
Version 1.6.4 was last updated on November 11, 2024. This page is refreshed automatically, so the download here always matches the newest version we have verified.
Is the Raw HTML download safe?
The file is sourced directly from the official WordPress.org repository — the same file the developer published. It is served unmodified, so what you install here is byte-identical to the official release.
Technical details
| Version | 1.6.4 |
|---|---|
| Last updated | November 11, 2024 |
| Active installs | 10,000+ |
| Rating | ★★★★☆ 4.3/5 (33 reviews) |
| Requires WordPress | 2.8 or higher |
| Author | Janis Elsts |
| Tags | css, formatting, html, javascript, posts |
Download Raw HTML
Download Raw HTML WP PluginNote: if the download does not start, disable your ad blocker and try again.