Developer

Free HTML Entity Encoder & Decoder

Encode special characters to HTML entities and decode them back. Handles &, <, >, quotes, copyright, trademark, and numeric entities. No signup required.

100% free — no account needed

Entities Encoded

0

Free HTML Entity Encoder & Decoder Features

Safely encode and decode special characters

Entity Count

See how many entities were encoded or decoded in your text.

Decode Entities

Convert &, <, {, and named entities back to readable characters.

Encode to Entities

Convert special characters like <, >, &, and quotes to their HTML entity equivalents.

Wide Support

Handles named, numeric ({), and hex ({) HTML entities.

FAQ

When should I encode HTML entities?

Whenever displaying user input in HTML to prevent XSS attacks, or when your text contains characters that have special meaning in HTML (<, >, &, quotes).

What's the difference between named and numeric?

Named entities use words (&, <). Numeric use decimal (&) or hex (&) codes. Named are more readable; numeric cover all Unicode characters.

Does this handle all Unicode?

Named entities cover common characters. For full Unicode, numeric entities (😀 for emojis) are supported in the decoder.

Loving our free tools?

More Developer Utilities

URL encoder, Base64 converter, JSON formatter, and more.