How it works
This page lists 253 HTML special characters: every name HTML 4 defined, plus ', each with its name code, decimal and hexadecimal codes and code point. The first five, & < > " and ', are reserved in HTML.
Read the full guide
Find a character and copy its code
Type a name, a code or the character itself in the search box, or pick one of the nine groups. Tap the code beside a character, such as ©, to copy it. A tap on the character or on its name copies the character itself, and so does Copy.
HTML special character codes come in three forms
The name code, such as ©, stands beside each character. Its decimal code, ©, and hexadecimal code, ©, are in the list All 253 characters further down, and a search for either finds the row. All three draw ©. The number is the code point: A9 in hexadecimal is 169.
- HTML 4 put ⟨ and ⟩ at U+2329 and U+232A. The current standard, and this table, give U+27E8 and U+27E9.
- Nine rows draw nothing, among them the no-break space and the soft hyphen. Search nbsp or shy to find them.
Questions and answers
What are special characters in HTML?
They are characters written as a code that starts with & and ends with a semicolon. Some are reserved by HTML, such as < and &. Some cannot be seen, such as the no-break space. Others are hard to type, such as © and →.
What is the HTML code for special characters such as < and &?
Write < for <, > for >, & for &, " for " and ' for '. HTML reads the bare characters as its own: < and > mark tags, & starts a code, and a quotation mark can end an attribute value.
What is the difference between a name code and a number code?
Both draw the same character. A name such as € exists only for characters on the standard's list. A number, € or €, can be written for any character, because it is the Unicode code point in decimal or hexadecimal.
Is this the full HTML special characters list?
It is the full HTML 4 set: the 252 names of its three entity files, plus ' from the current standard. The current HTML standard gives a name to 1,446 single characters in all.