HTML Entity Reference

Find HTML entities for any special character or symbol

Search a table of HTML named entities, decimal and hex numeric references, and the characters they produce. Copy the right code for ampersands, arrows, currency symbols, math signs, and more.

When should I use an HTML entity instead of the character itself?

Use entities for characters that have special meaning in HTML, namely ampersand, less-than, greater-than, and quotes. For other symbols, modern UTF-8 pages can use the literal character directly, but entities remain safe across encodings.

Look up any HTML entity instantly

HTML reserves a handful of characters — the ampersand, angle brackets, and quotes — for its own syntax, so they must be written as entities to appear as literal text. Many other symbols, from currency signs to arrows to Greek letters, also have convenient named entities. This tool lets you search by name, description, or the character itself, then copy the exact code you need.

How it works

Every entity maps to a single Unicode code point. The tool shows three ways to write each one: the named form such as &, the decimal numeric reference such as &, and the hexadecimal numeric reference such as &. The numeric forms are derived directly from the code point — decimal is the code point as a base-10 number, hex is the same value in base 16. Named entities are easiest to read, but numeric references work for any character even when no name is defined.

Tips and examples

The four entities you must always escape in content are & for the ampersand, < for less-than, > for greater-than, and " for the double quote inside attributes. For everything else on a UTF-8 page you can usually type the literal character, but entities keep your markup readable and encoding-proof. Search for arrow, currency, or greek to browse families of symbols, or paste a character to find its codes. Copying and lookup both run entirely in your browser.