Developer tools

Developer tools

HTML Entity Encoder

Escape text for safe use in HTML by converting reserved characters to entities.

Your result will appear here.

Protect literal text in HTML snippets.

The encoder converts ampersands, angle brackets, quotes, and apostrophes to named or numeric HTML entities. Processing stays entirely in your browser.