Skip to content

HTML Encode

HTML-encode or decode the selected text.
Demo Animated GIF

HTML Encode

Encode and decode HTML/XML character entities in text.


Encoding (outlined icon) has two modes, configurable in the options:

  • HTML special characters only: Only the characters <, >, &, " and ' will be encoded (as &lt;, &gt;, &amp;, &quot; and &apos; respectively).

  • All non-ASCII characters: All non "ASCII printable" characters will be encoded. For example the string ⪐⅔õ やあ is encoded as &gsiml;&frac23;&Atilde;&micro; &#12420;&#12354;.

Decoding (solid filled icon) simply decodes all HTML entities encountered back to their corresponding characters.


Requires PopClip Build 3624 or above.


Nick Moore


This extension is implemented using html-entities (MIT license).


16 Oct 2021

  • Restructured code using TypeScript, for PopClip Build 3624 (beta).
  • Added this readme.

24 Sep 2021

  • New implementation in JavaScript for PopClip 2021.9.

14 Aug 2014

  • Add decoding ability.

29 Aug 2013

  • Initial release (implemented in PHP).
Third-party product names and logos are used solely to identify compatible apps, websites, or services, and do not imply endorsement by the respective entities.