HTML Entity for Uppercase W (W)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+0057

What Is the Uppercase W Entity?

Uppercase W (W) is the Basic Latin character at Unicode U+0057 (LATIN CAPITAL LETTER W). You can type W directly in HTML, or write it with a numeric character reference when you need an explicit entity form.

Remember
Character     W
Unicode       U+0057
Hex entity    W
Decimal       W
CSS escape    \0057
Named entity  (none)
Official name LATIN CAPITAL LETTER W

All of these produce the same glyph: W. Related: Uppercase W Circumflex (U+0174) and Lowercase W (U+0077).

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct characterWHTML text (UTF-8) — preferred
Hex entityWHTML markup
Decimal entityWHTML markup
CSS escape\0057Stylesheet content
Named entity—Not defined in HTML5

When to Use Which

SituationUse
Normal body textType W directly
Need an explicit entityW or W
Generated text via ::before / ::aftercontent: "\0057"
Capital W with circumflexUse Ŵ (U+0174)
Looking for a named entityNone for U+0057 — use numeric form or type W

Live Preview

Capital W in common text contexts.

Large glyph W
In a word WWW · HTML · Welcome
Compared W Ŵ w
Alphabet … U V W X Y …
With entities Hex: W | Decimal: W

Complete HTML Example

One page that shows this letter with hex, decimal, direct character, and CSS. Use View Output or open the live editor.

Hex + Decimal + Direct + CSS

All common ways to produce W in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Uppercase W</title>
  <style>
    #point::after {
      content: "\0057";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x57;</p>
  <p>Using HTML Code: &#87;</p>
  <p>Using Direct Character: W</p>
  <p id="point">Using CSS Entity: </p>
  <p>The letter W follows V in the alphabet.</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex / decimal: U+0057 → &#x57; or &#87; in HTML.

2. Direct: typing W in a UTF-8 file is the simplest and preferred approach.

3. CSS: use \0057 in content (not an HTML entity). The four-digit form avoids ambiguity with following hex digits.

4. Sentence: shows ordinary text use — no entity required for everyday letters.

Pitfalls & Tips

Common mistakes when working with this character.

Prefer

Type W in body text

ASCII letters do not need entities for normal reading. Prefer typing W directly.

Named?

No named entity

HTML5 does not define a named entity for U+0057. Use numeric forms when an entity is required.

Look-alikes

Not W circumflex or wynn

Ordinary W is U+0057. &Wcirc; (U+0174) has a circumflex. Ƿ (U+01F7) is capital wynn — a different letter.

Case

Use the correct case

Lowercase is w (U+0077). Do not mix case when casing matters for identifiers or display.

CSS

Pad the CSS escape

Use \0057 (not bare \57) so a following digit is not absorbed into the escape.

Semicolon

End references

Always finish with ; — write &#87;, not &#87.

Browser Support

Uppercase W / LATIN CAPITAL LETTER W (U+0057) and its numeric entity forms (&#x57;, &#87;, CSS \\0057) are supported in all mainstream browsers as a core ASCII letter.

✓ Universal support

Uppercase W

Prefer typing W in UTF-8 HTML. Use hex, decimal, or CSS escape when you need an explicit form.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+0057 / entities Full support

Bottom line: Prefer typing W in body text. Use &#x57; / &#87; when you need an entity, and \\0057 only inside CSS content.

Key Takeaways

  • Unicode: this character is U+0057 (decimal 87) — LATIN CAPITAL LETTER W.
  • HTML: prefer typing W, or use &#x57; / &#87;.
  • CSS: use \0057 inside content for generated text.
  • Watch out: no named entity; U+0057 ≠ U+0174 (W circumflex) ≠ U+01F7 (wynn).

One line: U+0057 → type W / &#x57; / &#87; / CSS \0057.

Frequently Asked Questions

Type W directly in UTF-8 HTML, or use &#x57; (hex), &#87; (decimal), or the CSS escape \0057 in the content property. All render U+0057.
U+0057 (hex 57, decimal 87). Unicode names it LATIN CAPITAL LETTER W. It belongs to Basic Latin (ASCII) and is the twenty-third letter of the English alphabet.
No. ASCII letters like W do not have named HTML entities in HTML5. Use numeric references like &#87; or &#x57; when you need an entity form.
For normal body text, type W directly. Use entities when generating content in CSS, when you want explicit encoding, or when escaping is required.
U+0057 is ordinary capital W. U+0174 is LATIN CAPITAL LETTER W WITH CIRCUMFLEX (Ŵ). U+0077 is lowercase w. They are different characters.
HTML entities (&#87; or &#x57;) go in markup. The CSS escape \0057 is used in stylesheets (usually in the content property of ::before/::after). Both render the same glyph.

Did you know?

Uppercase W is Unicode U+0057 (decimal 87) — official name LATIN CAPITAL LETTER W in Basic Latin (ASCII). HTML5 has no named entity for it — typing W directly is usually best. Do not confuse it with W circumflex Ŵ (U+0174) or wynn Ƿ (U+01F7).

Next: Uppercase W Circumflex

Learn the HTML entity for uppercase W with circumflex (U+0174).

Continue tutorial →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful