Skip to content
ASCII World
=

Equals

PrintableASCII 61 | Hex 0x3D | U+003D
ASCII 61 assigns values in most programming languages (x = 5) and tests equality in SQL (WHERE id = 1). C-family languages distinguish single equals (assignment) from double equals (comparison), a design choice that has caused more accidental bugs than nearly any other syntax decision. In Base64 encoding, the equals sign pads the output to a multiple of four characters. HTTP query strings use = to separate parameter names from values (key=value).

ASCII Code

Decimal
61
Hexadecimal
0x3D
Octal
75
Binary
0011 1101
URL Escape
%3D

Unicode

Code Point
U+003D
Escape
\u003d
UTF-8 Hex
0x3D
UTF-8 Binary
00111101
UTF-16
0x003D
UTF-32
0x0000003D

HTML Entities

Numeric
=
Hex
=
Named
=

How to Type

Windows Alt CodeAlt + 61
HTML Entity
=
Unicode InputU+003D

Source Code Representations

C / Java
"\u003D"
CSS
\003D
JavaScript
"\u003D"
Perl
\x{003D}
Python 2
u"\u003D"
Python 3
\u003D
Ruby
\u{003D}

Frequently Asked Questions

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