DevKits

ASCII 61

Equals Sign (=)

Printable ASCII

Equals sign. Assignment in most languages. Comparison as == or ===.

Common uses & context

The character '=' — Equals Sign — has ASCII code 61 (0x3D), octal 0075, binary 00111101. Equals sign. Assignment in most languages. Comparison as == or ===.

Punctuation and symbol codes carry the most syntactic weight per byte in programming: a single '=' can change how a parser reads an entire expression. When '=' needs to appear as literal data rather than syntax, you often have to escape it — in string literals, in regular expressions, in URLs (where it becomes %3D), or in HTML. Knowing its exact code point (61) helps when you filter, validate, or sanitize input byte by byte.

All encodings at a glance

Decimal61
Hexadecimal0x3D
Octal0075
Binary00111101
HTML numeric entity=
URL encoding%3D
UTF-8 bytes0x3D

Code snippets

JavaScript

String.fromCharCode(61); // "="
61.toString(16); // "3d"

Python

chr(61)           # '='
ord(chr(61))      # 61
hex(61)           # '0x3d'

HTML

&#61;   <!-- numeric entity (no named entity for this character) -->

Programming notes

  • Code 61 (0x3D); URL-encoded form%3D.
  • In HTML the numeric entity is &#61;.
  • When used as literal data in regex or strings, '=' usually needs escaping — check the rules for your language.

Frequently asked questions

What character is ASCII code 61?

ASCII code 61 is the character '=' (Equals Sign). In hexadecimal it is 0x3D, in octal 0075, and in binary 00111101.

What is 0x3D in ASCII?

Hexadecimal 0x3D equals decimal 61, which is the character '=' (Equals Sign). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0x3D = 61) and look up that code point.

How do I write the character with code 61 in code?

In JavaScript use String.fromCharCode(61); in Python use chr(61); in HTML use the numeric entity &#61;. In a URL it is percent-encoded as %3D, and in UTF-8 it is stored as the byte sequence 0x3D.

Nearby codes

Encode & convert this character