Unicode · HTMLHTML Entities &;

Escape & < > " ' to put code on a page, decode named and numeric entities, and copy special characters with their codes: the non-breaking space, dashes, guillemets, ₽, №, arrows. A click on a symbol or a code copies it.

Text is processed in your browser and goes nowhere

01Convert02Table03About entities04Questions05Related
01

to put code and text into HTML
What to replace
Entity style

&amp; &lt; &gt; &quot; &#39; — enough for code to show on a page as text.

Input · code or text
Result
replaced 8
&lt;a href=&quot;x&quot;&gt;Tom &amp; Jerry&#39;s&lt;/a&gt;
02

Special characters

click any cell to copy
Most used in Russian text
CharNamed&#x;&#;CSS contentName

Typography

No-break space
noneNarrow no-break space
Thin space
En space
Em space
Em dash
En dash
Minus sign
noneNon-breaking hyphen
Ellipsis
Soft hyphen
Zero-width space

Quotes

Left guillemet
Right guillemet
Low double quote
Left double quote
Right double quote
Left single quote
Apostrophe
Low single quote
Single left guillemet
Single right guillemet
Prime
Double prime

Currency

noneRouble sign
Euro
Dollar
Pound sterling
Yen, yuan
Cent
noneTenge
noneHryvnia
noneBitcoin
Currency sign

Signs

Numero sign
Section sign
Pilcrow
Copyright
Registered sign
Trade mark
Degree
Plus-minus
Multiplication sign
Division sign
One half
One quarter
Three quarters
Per mille
Infinity
Almost equal
Not equal
Less than or equal
Greater than or equal
Square root
Superscript two
Superscript three
Micro sign

Arrows

Left arrow
Right arrow
Up arrow
Down arrow
Left-right arrow
Implies
Double left arrow
If and only if
Carriage return arrow
North-east arrow

Reserved

Less-than sign
Greater-than sign
Ampersand
Quotation mark
Apostrophe (straight)

Other

Bullet
Middle dot
Check mark
Ballot X
Black star
White star
Heart suit
Diamond suit
Spade suit
Club suit
Dagger
Nothing found. Paste the character into Decode on the Unicode escape page — it shows all its codes. Open Unicode escape →
03

About entities

Why escape

The browser reads & < > as markup: “<b>” turns into bold and “&copy” into ©. To show code as text, these characters are replaced with entities. Inside attributes quotes are replaced too — otherwise the value ends early.

Named and numeric

&laquo; and &#171; give the same guillemet. Names are easier to read but not every character has one — ₽ and the narrow no-break space do not. A numeric reference works for any Unicode character.

Without a semicolon

Old names such as &copy and &amp are understood without “;” — that is how they were written in the 1990s. But “?a=1&not=2” in a URL holds no entity: before “=” the browser does not decode it, and neither do we.

One layer at a time

&amp;lt; is an escaped &lt;. Decoding removes one layer at a time: removing all at once would quietly spoil an article about HTML where &lt; must stay as it is.

04

Frequently asked questions

Write &nbsp; or the number &#160; — the browser shows an ordinary space but never breaks the line there. It keeps initials with a surname, short words with the next word and numbers with their units. Between a number and its unit, as in “10 kg”, typographers prefer the narrow no-break space &#8239;. In the table below, a click on a symbol or any code copies it.

Updated