Remove HTML


No Two The Same

3rd Party (Free)

45 downloads (last 90 days)

EE Version Support

  • ExpressionEngine 1.x
  • ExpressionEngine 2


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



Remove (strips) all HTML tags from supplied text. Handy if fieldtype data is formatted as 'XHTML' but in one template you need that data displayed as 'none', ie plain text.

Remove HTML tags - EE Plugin

Version History

  • 1.0, 17/12/2012
    1st release. EE1 and EE2 versions.


  • PHP5+
  • ExpressionEngine 2.4 or later.
  • ExpressionEngine 1.7.x


Expression engine Add-on to remove all HTML tags from text. Specifically it removes any text in the format <tag> or </tag>. So any text in that format will be removed even if it's not a valid HTML tag.



Setting up a field type with 'Text Formatting' of 'XHTML' to preserve line-breaks. When displayed in a template the correct HTML will output with the content. It is not possible to choose the formatting of this field via template tags.

If you need to use the field data in a form field, eg. textarea you would not want the HTML code to display as well. This Add-on removes the formatting when displayed in template (original formatting is preserved in EE).

Eg. This:

<p>Some content in a field, added via the CP.<br>A new line of text.</p>

Outputs as:

Some content in a field, added via the CP.
A new line of text.

Template Tags

Assuming you have named your field 'my_field' as a custom field and the Text Formatting is set to anything other than 'none'.




EE 2

Add 'removehtml' folder to system > thirdparty folder

EE 1

Place 'pi.remove_html.php' in to the system > plugins folder

Download Remove HTML

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.0 Dec 18, 2012
Not Specified Download 1.0 Dec 18, 2012

This entry was created December 19, 2012, 10:28 am.
This entry was last updated January 9, 2013, 7:51 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at to initiate your return. If you have questions, email

3 Reviews:

Chris Barber-Riley 11.21.13

Rating - {addon_rating_average}

Perfect - exactly what was needed.

jumpfrog 09.19.13

Rating - {addon_rating_average}

Just works!

NotAnton 04.15.13

Rating - {addon_rating_average}

It does exactly what is says on the tin. Add works.