Lambda Character Code: How to Identify λ and Λ in Unicode

Find the code point of the lambda character, check which lambda your text contains, and verify it with an inspection tool, a short code snippet or HTML entities.

If you need the character code for lambda, the answer depends on which lambda you have. The standard Greek letters are lowercase λ at U+03BB and uppercase Λ at U+039B. Several look-alike characters also exist, so it is worth checking the character in your text before you copy a code into your work. This guide explains what a Unicode inspection tool does, gives the codes for the standard lambdas, and shows how to confirm which one your text contains.

What a Unicode inspector does for your text

A Unicode inspector (also called a code point viewer or character identifier) takes a piece of text as input and reports what each character is. For each character it typically shows the code point, which is the character's number in the Unicode standard, written as U+ followed by hexadecimal digits. It also shows the official Unicode name, and often the decimal value and the byte sequence in encodings such as UTF-8. An inspector only reads your text. It does not change it, so you can paste meaningful content without risk of altering it.

For a lambda, this means you can paste the symbol and see whether it is the Greek letter, a mathematical variant or another look-alike. That matters when you are searching, matching patterns, writing HTML or comparing strings, because characters that look the same but have different codes will not match each other.

Codes for the standard Greek lambda

Form | Character | Code point | Decimal | UTF-8 bytes (hex) | HTML named entity | HTML numeric entity
Lowercase | λ | U+03BB | 955 | CE BB | λ | λ or λ
Uppercase | Λ | U+039B | 923 | CE 9B | Λ | Λ or Λ

The official Unicode names are GREEK SMALL LETTER LAMDA and GREEK CAPITAL LETTER LAMDA. Note the spelling LAMDA without a B. If you search a character database by name, "lambda" may not find the entry, while "lamda" will.

Look-alike lambda characters

Text copied from math documents, PDFs or specialized fonts may contain a different character that resembles λ. Common examples include:

  • U+1D706 MATHEMATICAL ITALIC SMALL LAMDA (𝜆), used in mathematical typesetting
  • U+019B LATIN SMALL LETTER LAMBDA WITH STROKE (ƛ), a Latin letter, not Greek
  • U+1D27 GREEK LETTER SMALL CAPITAL LAMDA (ᴧ), used in phonetic notation

These characters do not equal U+03BB in a plain string comparison. Compatibility normalization (NFKC or NFKD) maps the mathematical variants such as U+1D706 to the ordinary Greek letter. That conversion discards the styling distinction, so apply it only when that distinction carries no meaning in your text.

Step by step: identify the code of your lambda

  • 1. Copy only the lambda character from your source, without surrounding spaces.
  • 2. Paste it into a Unicode inspector or character viewer, or run one of the code snippets below.
  • 3. Read the reported code point and name. U+03BB or U+039B means you have the standard Greek letter. Any other value means you have a variant.
  • 4. If the tool lists more than one character for a single visible symbol, check for invisible characters such as a zero-width space (U+200B) or a combining mark copied along with the letter.
  • 5. Use the confirmed code in your target format, for example U+03BB in documentation, λ in HTML or \u03bb in a string literal.

Checking the code with a short snippet

Most programming languages can report a character's code point directly. The examples below are illustrative. The commented results reflect the standard values for U+03BB, but they were not run for this article.

Python example:

ch = "λ"
print(ord(ch))          # 955
print(hex(ord(ch)))     # 0x3bb
print(ch.encode("utf-8"))  # b'\xce\xbb'

import unicodedata
print(unicodedata.name(ch))  # GREEK SMALL LETTER LAMDA

JavaScript example:

const ch = "λ";
console.log(ch.codePointAt(0));                 // 955
console.log(ch.codePointAt(0).toString(16));    // "3bb"

In JavaScript, use codePointAt rather than charCodeAt for characters outside the Basic Multilingual Plane, such as U+1D706. For those characters, charCodeAt returns only half of a surrogate pair.

Typing lambda from its code

If you know the code and want to insert the character, several environments support direct entry:

  • Microsoft Word: type 03BB, then press Alt+X to convert it to λ. Pressing Alt+X with the cursor after a character converts it back to its code, which also works as a quick inspection.
  • Linux desktops using GTK or IBus input: press Ctrl+Shift+U, type 3bb, then press Enter or Space.
  • macOS: the Character Viewer lets you search for the character and shows its code point in the details pane.
  • HTML: write λ or λ in the page source.

Keyboard behavior can vary with the operating system version, keyboard layout and input method. If a shortcut does not work, paste the character into an inspector instead.

Verifying the result

After you insert or replace a lambda, paste the result back into an inspector. Confirm that it reports exactly one character with the code point you intended. This catches look-alike substitutions, stray invisible characters and font-styled variants before they cause failed searches or mismatched comparisons.

Evidence gap: no specific inspection tool was evaluated for this article. The codes and names above are taken from the Unicode standard. Names, menus and options in individual tools may differ.