Text

HTML Entity Encoder

Escape <, >, &, quotes, and apostrophes safely for use in HTML attributes and content.

Runs in your browserFree · No signup required
TextHTML entities

Press ⌘ Enter to run

21 words · 3 lines

Common uses

  • Quote user content safely in HTML
  • Prevent script injection in static templates

Limitations

  • Does not encode every Unicode codepoint

Related text tools

Appearance

Choose how the site looks on this device.