Logo

HTML Entity Encoder & Decoder

Encode and decode HTML entities online, free, with support for named, decimal, and hexadecimal formats. Convert special characters such as <, >, &, and quotation marks into safe HTML entities — or paste encoded markup to instantly decode it back to plain text.

This tool runs entirely in your browser: nothing you type is sent to a server.

0 characters

What is an HTML Entity?

HTML entities are special codes used to represent characters that have reserved meaning in HTML, are hard to type, or don't render reliably across encodings. For example, the less-than symbol < is written as &lt; so browsers don't mistake it for the start of a tag.

When Should You Use an HTML Entity Encoder?

Use an HTML entity encoder whenever you need to display reserved or special characters safely inside HTML content, source code snippets, documentation, email templates, or web applications — especially when the text comes from user input.

Frequently Asked Questions