Numeric HTML Entities — Free Online Tool

Encode text to decimal/hex numeric HTML entities (&#NN;) and decode them back. Numeric HTML Entities is a free online tool from the ToolsRift Encoders & Decoders collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.

Loading Numeric HTML Entities

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

← View all Encoders & Decoders