Loading…

How to use Numeric HTML Entities

Choose Encode or Decode, pick decimal or hex output for encoding, and enter your text. Decoding accepts both &#NN; and &#xNN; forms mixed with plain text.

Frequently asked questions

What are numeric HTML entities?

References like A (decimal) or A (hex) that stand for a character by its Unicode code point, so any character can appear safely in HTML.

When should I use them?

To embed characters that would otherwise break markup, or to include symbols and emoji without worrying about file encoding.

Decimal or hex — which should I choose?

Both are equivalent; decimal (😀) is common, hex (😀) matches Unicode's U+ notation. Decoding handles either.

More Encoders & Decoders

URL Encode All Characters
Percent-encode every character as %XX — full-escape any string for URLs
Uuencode / Uudecode
Classic Unix uuencode & uudecode with begin/end wrapper for text payloads
XXencode / XXdecode
XXencode & XXdecode using the portable +-0-9A-Za-z alphabet
Base64 Encoder
Encode text or files to Base64 string format
Base64 Decoder
Decode Base64 strings back to plain text or binary
Base64 Image Encoder
Convert images to Base64 data URIs for CSS/HTML
Base32 Encoder
Encode text using RFC 4648 Base32 encoding
Base32 Decoder
Decode Base32 encoded strings back to plain text
URL Encoder
Percent-encode special characters for safe URL usage
URL Decoder
Decode percent-encoded URLs back to readable text
HTML Entities Encoder
Encode special characters to HTML entity references
HTML Entities Decoder
Decode HTML entities back to their plain text form

← View all Encoders & DecodersBrowse all 1,100+ tools →