Tool
HTML Entity Encoder / Decoder
Convert characters to HTML entities and back. Pick named (<), decimal (<) or hex (<) output. Everything runs locally in your browser.
By default only special/punctuation characters are encoded (letters, digits and spaces pass through). Tick Encode all characters to encode everything — handy for WAF/filter bypasses.