β is the Unicode character GREEK SMALL LETTER BETA, code point U+03B2 (decimal 946) in the Greek and Coptic block, added in Unicode 1.1. In HTML write β, and in UTF-8 it is the 2 bytes CE B2.
Codes
| Where | How to write it |
|---|---|
| Code point | U+03B2 |
| Decimal | 946 |
| UTF-8 bytes | CE B2 |
| UTF-16 (big-endian) | 03B2 |
| UTF-32 | 000003B2 |
| HTML decimal | β |
| HTML hex | β |
| HTML named | β |
| CSS | \3B2 |
| JavaScript | \u03B2 |
| JSON | \u03B2 |
| Python | \u03B2 |
| Python by name | \N{GREEK SMALL LETTER BETA} |
| Java, C# | \u03B2 |
| Rust, Swift | \u{3B2} |
| Go, C, C++ | \u03B2 |
| URL (percent-encoded) | %CE%B2 |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | GREEK SMALL LETTER BETA |
| Code point | U+03B2 (decimal 946) |
| Block | Greek and Coptic (U+0370–U+03FF) |
| General category | Ll: Lowercase letter |
| Script | Greek |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Upper and lower case
- Β U+0392 Greek Capital Letter Beta — Uppercase
Nearby in Greek and Coptic
- Ϊ U+03AA Greek Capital Letter Iota With Dialytika
- Ϋ U+03AB Greek Capital Letter Upsilon With Dialytika
- ά U+03AC Greek Small Letter Alpha With Tonos
- έ U+03AD Greek Small Letter Epsilon With Tonos
- ή U+03AE Greek Small Letter Eta With Tonos
- ί U+03AF Greek Small Letter Iota With Tonos
- ΰ U+03B0 Greek Small Letter Upsilon With Dialytika And Tonos
- α U+03B1 Greek Small Letter Alpha
- γ U+03B3 Greek Small Letter Gamma
- δ U+03B4 Greek Small Letter Delta
- ε U+03B5 Greek Small Letter Epsilon
- ζ U+03B6 Greek Small Letter Zeta
- η U+03B7 Greek Small Letter Eta
- θ U+03B8 Greek Small Letter Theta
- ι U+03B9 Greek Small Letter Iota
- κ U+03BA Greek Small Letter Kappa
All 135 characters: Greek and Coptic.
Official reference
Questions people ask
- What is the HTML code for β?
- Use the named entity β, or β (decimal) or β (hex).
- What is the UTF-8 encoding of U+03B2?
- CE B2 (hex), 2 bytes. In a URL it is %CE%B2.
- How do I write U+03B2 in JavaScript or Python?
- JavaScript: \u03B2. Python: \u03B2.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in