Encoding

HTML Entity

Encode and decode HTML entities.

How to use it

  1. Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type HTML Entity and press Return.
  2. Choose Encode or Decode at the top.
  3. Paste or type your text into Input.
  4. Adjust the Options on the right if you need to. The defaults are listed below.
  5. Press Encode, or ⌘↵.
  6. To go the other way, press Swap or ⌘S. The output moves into the input.
  7. Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.

Options

OptionValuesDefault
Entity FormatFormat for encoding entitiesNamed, Decimal, HexadecimalNamed
Encode all charactersEncode all non-ASCII characters, not just special onesOn or offOff

Example

Real output from Devly, with the default options.

Input
<a href="/docs">Docs & Guides</a> © 2026
&lt;a href=&quot;/docs&quot;&gt;Docs &amp; Guides&lt;/a&gt; &copy; 2026

From Terminal

With the free command-line tool installed:

Terminal
devly htmlencode --path input.txt
# or pipe text in
pbpaste | devly htmlencode

Quick Switch also finds it by: html, entity, encode, decode, escape, amp, lt, gt.

More Encoding tools