Greek Symbols Unicode & HTML Codes

A comprehensive reference for Greek symbols, including Unicode codes, HTML entities, and hexadecimal references.

Unicode

Universal character encoding standard for consistent symbol representation across platforms.

HTML Entities

Named and numeric references for displaying special characters in web pages.

Hex Codes

Hexadecimal references for precise character encoding in various contexts.

Complete Reference

Name Symbol Unicode HTML Entity Hex Reference Decimal
Alpha
(Upper)
(Lower)
Beta
(Upper)
(Lower)
Gamma
(Upper)
(Lower)
Delta
(Upper)
(Lower)
Epsilon
(Upper)
(Lower)
Zeta
(Upper)
(Lower)
Eta
(Upper)
(Lower)
Theta
(Upper)
(Lower)
Iota
(Upper)
(Lower)
Kappa
(Upper)
(Lower)
Lambda
(Upper)
(Lower)
Mu
(Upper)
(Lower)
Nu
(Upper)
(Lower)
Xi
(Upper)
(Lower)
Omicron
(Upper)
(Lower)
Pi
(Upper)
(Lower)
Rho
(Upper)
(Lower)
Sigma
(Upper)
(Lower)
Tau
(Upper)
(Lower)
Upsilon
(Upper)
(Lower)
Phi
(Upper)
(Lower)
Chi
(Upper)
(Lower)
Psi
(Upper)
(Lower)
Omega
(Upper)
(Lower)

Usage Examples

HTML

<!DOCTYPE html>
<html>
<head>
  <title>Greek Symbols Example</title>
  <meta charset="UTF-8">
</head>
<body>
  <!-- Using HTML entities -->
  <p>Alpha: &alpha; (&alpha;)</p>
  <p>Beta: &beta; (&beta;)</p>
  <p>Gamma: &gamma; (&gamma;)</p>
  
  <!-- Using decimal codes -->
  <p>Delta: &#948;</p>
  <p>Epsilon: &#949;</p>
  
  <!-- Using hexadecimal codes -->
  <p>Pi: &#x3C0;</p>
  <p>Sigma: &#x3C3;</p>
</body>
</html>

CSS

/* Using Unicode in CSS content property */
.greek-symbol::before {
  content: "\03B1"; /* Alpha */
}

.pi-symbol::after {
  content: "\03C0"; /* Pi */
}

/* Using Unicode in font-family */
@font-face {
  font-family: "Greek Math";
  src: local("Symbol");
  unicode-range: U+0370-03FF;
}

JavaScript

// Using Unicode in JavaScript strings
const alpha = "\u03B1";
const beta = "\u03B2";
const gamma = "\u0393";

// Using HTML entities
const element = document.createElement("div");
element.innerHTML = "&alpha; &beta; &gamma;";

// Unicode escape sequences
const pi = "\u03C0";
console.log(pi); // Outputs: π

// String.fromCodePoint
const omega = String.fromCodePoint(0x03C9);
console.log(omega); // Outputs: ω

Character Encoding Types

HTML Entities

Named references for special characters

Advantages

  • Human-readable
  • Good browser support
  • Easy to remember
  • No charset issues

Disadvantages

  • Longer than numeric codes
  • Not all symbols have named entities
  • Case-sensitive

Decimal Codes

Numeric character references using decimal numbers

Advantages

  • Works in all browsers
  • Shorter than named entities
  • Not case-sensitive

Disadvantages

  • Less readable
  • Harder to remember
  • Need to look up codes

Hexadecimal Codes

Numeric character references using hexadecimal numbers

Advantages

  • Matches Unicode documentation
  • Shorter than decimal
  • Easy to convert

Disadvantages

  • Less intuitive for beginners
  • Requires hex knowledge
  • Need to look up codes

Unicode Escapes

Unicode escape sequences in programming

Advantages

  • Works in all environments
  • Standard across languages
  • Direct Unicode mapping

Disadvantages

  • Different syntax per language
  • Can be verbose
  • Requires escaping in strings

Usage Tips

HTML Usage

  • Always declare UTF-8 charset in your HTML
  • Use HTML entities for better compatibility
  • Entity names are case-sensitive
  • Hexadecimal references work in all browsers
  • Test rendering across different browsers
  • Consider fallback options for older browsers

CSS Usage

  • Use Unicode escapes in CSS content property
  • Escape sequences must be exactly 4 digits
  • Leading zeros are required
  • Test rendering across different browsers
  • Consider font availability
  • Use appropriate font-family declarations

JavaScript Usage

  • Use Unicode escapes for string literals
  • Consider browser encoding settings
  • Test string manipulation carefully
  • Use template literals for better readability
  • Handle encoding/decoding properly
  • Consider character encoding in APIs

© 2025 Greek Symbols. All rights reserved.

Made with for mathematics and science

Copied to clipboard