Skip to content

Reference · 318 characters

HTML Entities & Special Characters

Every common HTML entity with its named, decimal and hex code: spaces, line breaks, ©, ®, ™, arrows, math, currency and more. Click any code to copy it.

Spaces & line breaks

Invisible characters for extra spaces, keeping words together and breaking lines.

Char Name Named Decimal Hex
Non-breaking space
En space (width of an n)
Em space (width of an m)
Three-per-em space
Four-per-em space
Figure space (width of a digit)
Thin space
Hair space (thinnest)
Zero-width space (allows a line break)
Word joiner (prevents a line break)
Zero-width non-joiner
Zero-width joiner
Soft hyphen (hyphen only at a line break)
Line feed (new line)
Tab

Reserved HTML characters

These have a special meaning in HTML. Write them as entities to show them as text.

Char Name Named Decimal Hex
Ampersand
Less-than sign (starts a tag)
Greater-than sign
Double quote
Apostrophe / single quote

Quotes, dashes & punctuation

Typographic quotes, dashes, bullets and other punctuation marks.

Char Name Named Decimal Hex
En dash
Em dash
Left single quote
Right single quote / apostrophe
Low single quote
Left double quote
Right double quote
Low double quote
Left angle quotes (guillemet)
Right angle quotes (guillemet)
Single left angle quote
Single right angle quote
Bullet
Middle dot
Ellipsis (three dots)
Prime (minutes, feet)
Double prime (seconds, inches)
Inverted exclamation mark
Inverted question mark
Section sign
Paragraph sign (pilcrow)
Dagger
Double dagger
Overline
Broken bar
Diaeresis (umlaut)
Macron
Acute accent
Cedilla
Feminine ordinal
Masculine ordinal
Circumflex accent
Small tilde
Exclamation mark
Number sign (hash)
Percent
Left parenthesis
Right parenthesis
Asterisk
Plus
Comma
Period
Slash
Colon
Semicolon
Equals
Question mark
At sign
Left square bracket
Backslash
Right square bracket
Caret
Underscore
Grave accent (backtick)
Left curly brace
Vertical bar (pipe)
Right curly brace

Legal & common symbols

Copyright, trademark, check marks, stars, card suits and more.

Char Name Named Decimal Hex
Copyright
Registered trademark
Trademark
Degree
Check mark
Ballot X (cross)
Black star
White star
Telephone
Spade
Club
Heart
Diamond
Lozenge
Female sign
Male sign
Eighth note
Flat
Natural
Sharp
Heavy heart –
Warning sign –
High voltage –
Recycling symbol –
Sun –
Cloud –
Umbrella –
Hot beverage –
Scissors –
Envelope –
Pencil –
Command key –
Watch –
Smiling face –
Frowning face –

Currency symbols

Money signs. Most have a name; the rest work with their number.

Char Name Named Decimal Hex
Dollar
Cent
Pound sterling
Yen / yuan
Euro
Generic currency sign
Indian rupee –
Korean won –
Russian ruble –
Bitcoin –
Turkish lira –
Philippine peso –
Nigerian naira –
Vietnamese dong –
Israeli new shekel –
Thai baht –
French franc –

Arrows

Single and double arrows in every direction.

Char Name Named Decimal Hex
Left arrow
Up arrow
Right arrow
Down arrow
Left-right arrow
Up-down arrow
North-west arrow
North-east arrow
South-east arrow
South-west arrow
Carriage return arrow
Double left arrow
Double up arrow
Double right arrow (implies)
Double down arrow
Double left-right arrow (if and only if)
Anticlockwise arrow
Clockwise arrow
Heavy wide right arrow –
Heavy round right arrow –

Math symbols

Operators, comparisons, fractions, powers and set symbols.

Char Name Named Decimal Hex
Multiplication sign
Division sign
Minus sign
Plus-minus
Not equal to
Less than or equal to
Greater than or equal to
Almost equal to
Identical to
Tilde operator (similar to)
Approximately equal to
Infinity
Square root
Sum (sigma)
Product
Integral
Partial differential
Nabla
Element of
Not an element of
Intersection
Union
Subset of
Superset of
Subset of or equal to
Superset of or equal to
Logical and
Logical or
Not sign
For all
There exists
Empty set
Perpendicular
Angle
Therefore
Dot operator
Asterisk operator
Proportional to
Circled plus
Circled times
Per mille (per thousand)
Micro sign
One quarter
One half
Three quarters
One third
Two thirds
One eighth
Superscript one
Superscript two (squared)
Superscript three (cubed)
Fraction slash

Greek letters

Capital and small Greek letters, handy for math and science.

Char Name Named Decimal Hex
Capital letter alpha
Capital letter beta
Capital letter gamma
Capital letter delta
Capital letter epsilon
Capital letter zeta
Capital letter eta
Capital letter theta
Capital letter iota
Capital letter kappa
Capital letter lamda
Capital letter mu
Capital letter nu
Capital letter xi
Capital letter omicron
Capital letter pi
Capital letter rho
Capital letter sigma
Capital letter tau
Capital letter upsilon
Capital letter phi
Capital letter chi
Capital letter psi
Capital letter omega
Small letter alpha
Small letter beta
Small letter gamma
Small letter delta
Small letter epsilon
Small letter zeta
Small letter eta
Small letter theta
Small letter iota
Small letter kappa
Small letter lamda
Small letter mu
Small letter nu
Small letter xi
Small letter omicron
Small letter pi
Small letter rho
Small letter final sigma
Small letter sigma
Small letter tau
Small letter upsilon
Small letter phi
Small letter chi
Small letter psi
Small letter omega

Accented letters

Letters with accents for French, Spanish, German and other languages.

Char Name Named Decimal Hex
Capital letter A with grave
Capital letter A with acute
Capital letter A with circumflex
Capital letter A with tilde
Capital letter A with diaeresis
Capital letter A with ring above
Capital letter ae
Capital letter C with cedilla
Capital letter E with grave
Capital letter E with acute
Capital letter E with circumflex
Capital letter E with diaeresis
Capital letter I with grave
Capital letter I with acute
Capital letter I with circumflex
Capital letter I with diaeresis
Capital letter eth
Capital letter N with tilde
Capital letter O with grave
Capital letter O with acute
Capital letter O with circumflex
Capital letter O with tilde
Capital letter O with diaeresis
Capital letter O with stroke
Capital letter U with grave
Capital letter U with acute
Capital letter U with circumflex
Capital letter U with diaeresis
Capital letter Y with acute
Capital letter thorn
Small letter sharp s
Small letter a with grave
Small letter a with acute
Small letter a with circumflex
Small letter a with tilde
Small letter a with diaeresis
Small letter a with ring above
Small letter ae
Small letter c with cedilla
Small letter e with grave
Small letter e with acute
Small letter e with circumflex
Small letter e with diaeresis
Small letter i with grave
Small letter i with acute
Small letter i with circumflex
Small letter i with diaeresis
Small letter eth
Small letter n with tilde
Small letter o with grave
Small letter o with acute
Small letter o with circumflex
Small letter o with tilde
Small letter o with diaeresis
Small letter o with stroke
Small letter u with grave
Small letter u with acute
Small letter u with circumflex
Small letter u with diaeresis
Small letter y with acute
Small letter thorn
Small letter y with diaeresis
Capital ligature oe
Small ligature oe
Capital letter S with caron
Small letter s with caron
Capital letter Y with diaeresis
Small letter f with hook

What are HTML entities?

An HTML entity is a short code that stands for one character. It starts with & and ends with ;. The browser shows the character, not the code: © shows as ©. Every character can be written three ways, and all three work in every browser:

  • By name: ©, easy to read and remember.
  • By decimal number: ©, works for every character, even ones without a name.
  • By hex number: ©, the same number in hexadecimal.

You need entities for characters that mean something in HTML (< starts a tag, & starts an entity), for invisible characters like a non-breaking space, and for anything you can’t type on your keyboard. To convert a whole block of text at once, use our HTML Entity Encoder & Decoder.

How to add a space in HTML

Browsers collapse several spaces into one, so typing five spaces shows just one. Use these instead:

&nbsp;One space that never breaks and never collapses. The usual answer.
&ensp;A wider space, about the width of two normal spaces.
&emsp;An even wider space, about four normal spaces. Nice for a quick indent.
&thinsp;A thin space, for example between a number and its unit.

💡 For layout, like space between boxes or an indented paragraph, use CSS margin, padding or text-indent instead of a row of &nbsp;. It’s cleaner and works on every screen size.

How to add a line break (new line) in HTML

Pressing Enter in your code doesn’t start a new line on the page: the browser treats it like a space. Use the <br> tag where you want the line to break:

Pixel Bakery<br>
12 Baker Street<br>
Open daily 7–3

For a new paragraph, wrap each one in <p>…</p> instead. And if your text already has line breaks that should show as typed (an address, a poem), add white-space: pre-line to the element in CSS. The &NewLine; entity is a plain line feed, so it only shows as a new line inside <pre>, a <textarea> or with that CSS.

Copyright, registered and trademark symbols

Write &copy; for ©, &reg; for ® and &trade; for ™. A typical footer line looks like &copy; 2026 Pixel Bakery. All rights reserved., which shows as “© 2026 Pixel Bakery. All rights reserved.”

Frequently Asked Questions

How do I add a space in HTML?

Browsers squash several normal spaces into one, so typing extra spaces does nothing. For one extra space that never breaks, use &nbsp; (non-breaking space). For a wider gap use &ensp; (about two spaces) or &emsp; (about four). For layout, like space between boxes or before a paragraph, use CSS margin or padding instead of a row of &nbsp;.

How do I add a line break or new line in HTML?

Use the <br> tag, for example Line one<br>Line two. Pressing Enter in your code does not start a new line on the page, because browsers treat a line break in the code like a space. For a new paragraph use <p>…</p> instead. If you want the line breaks in your text to show as typed, add the CSS white-space: pre-line to the element.

How do I write the copyright symbol in HTML?

Write &copy; (or the number &#169;), for example &copy; 2026 Your Company. It shows as ©. The registered sign ® is &reg; and the trademark sign ™ is &trade;. If your page is saved as UTF-8, you can also paste the © character directly.

What is the difference between &nbsp; and a normal space?

Two things. A line never breaks at &nbsp;, so it keeps words like “10 kg” or “Mr. Smith” together on one line. And browsers never collapse it, so three &nbsp; in a row really show three spaces, while three normal spaces show as one.

How do I show HTML code like <div> as text on a page?

Write the < and > as entities: &lt;div&gt; shows as <div> instead of being read as a tag. Also write & as &amp;. Our HTML Entity Encoder does this for a whole block of code in one click.

Do HTML entities need the semicolon at the end?

Always add it. Browsers forgive a missing semicolon for some old entities like &copy, but not for others, and text right after the entity can change its meaning: &copy2026 may work while &notit can turn into ¬it. With the semicolon (&copy;) there’s no guessing.

Should I use the name, the decimal number or the hex number?

All three show the same character in every browser. Names like &euro; are easiest to read. Numbers work for every character, including the ones without a name, like the Indian rupee sign ₹ (&#8377;) or emoji. Decimal (&#8364;) and hex (&#x20AC;) are equal; pick whichever your team is used to.

Do I still need entities if my page is UTF-8?

Only for the reserved characters & and < (and quotes inside attribute values), plus invisible ones like &nbsp;, where an entity makes the code readable. Other characters such as é, €, → or © can be pasted as they are on a UTF-8 page. Entities are still handy when you can’t type a character or the text goes somewhere that may not be UTF-8, like an old email template.