Skip to content
ASCII World
f

Lowercase f

PrintableASCII 102 | Hex 0x66 | U+0066
Lowercase f at ASCII 102 completes the hexadecimal digit set (0-9, a-f). A byte of all ones (11111111) is represented as 0xFF, making ff the maximum single-byte value in hex. In CSS, #ffffff is white and #ff0000 is pure red. C's printf uses %f for floating-point format specifiers. Python f-strings (f"value is {x}") were introduced in Python 3.6 (PEP 498) and have become the preferred string formatting method.

ASCII Code

Decimal
102
Hexadecimal
0x66
Octal
146
Binary
0110 0110
URL Escape
%66

Unicode

Code Point
U+0066
Escape
\u0066
UTF-8 Hex
0x66
UTF-8 Binary
01100110
UTF-16
0x0066
UTF-32
0x00000066

HTML Entities

Numeric
f
Hex
f

How to Type

Windows Alt CodeAlt + 102
HTML Entity
f
Unicode InputU+0066

Source Code Representations

C / Java
"\u0066"
CSS
\0066
JavaScript
"\u0066"
Perl
\x{0066}
Python 2
u"\u0066"
Python 3
\u0066
Ruby
\u{0066}

Frequently Asked Questions

What is ASCII code 102?
ASCII code 102 represents the Lowercase f character. In hexadecimal it is 0x66, in binary 0110 0110, and in octal 146. It is a printable character that appears as "f" in text.
How do I type ASCII 102 on a keyboard?
On Windows, hold Alt and type 102 on the numeric keypad. On Mac, you can use the Character Viewer (Edit > Emoji & Symbols). In HTML, use the entity f or f.