DevKits

ASCII 43

Plus Sign (+)

Printable ASCII

Plus sign. Addition. In URL query strings, historically represents a space.

Common uses & context

The character '+' — Plus Sign — has ASCII code 43 (0x2B), octal 0053, binary 00101011. Plus sign. Addition. In URL query strings, historically represents a space.

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 %2B), or in HTML. Knowing its exact code point (43) helps when you filter, validate, or sanitize input byte by byte.

All encodings at a glance

Decimal43
Hexadecimal0x2B
Octal0053
Binary00101011
HTML numeric entity+
URL encoding%2B
UTF-8 bytes0x2B

Code snippets

JavaScript

String.fromCharCode(43); // "+"
43.toString(16); // "2b"

Python

chr(43)           # '+'
ord(chr(43))      # 43
hex(43)           # '0x2b'

HTML

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

Programming notes

  • Code 43 (0x2B); URL-encoded form%2B.
  • In HTML the numeric entity is &#43;.
  • 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 43?

ASCII code 43 is the character '+' (Plus Sign). In hexadecimal it is 0x2B, in octal 0053, and in binary 00101011.

What is 0x2B in ASCII?

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

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

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

Nearby codes

Encode & convert this character