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
| Decimal | 43 |
| Hexadecimal | 0x2B |
| Octal | 0053 |
| Binary | 00101011 |
| HTML numeric entity | + |
| URL encoding | %2B |
| UTF-8 bytes | 0x2B |
Code snippets
JavaScript
String.fromCharCode(43); // "+"
43.toString(16); // "2b"Python
chr(43) # '+'
ord(chr(43)) # 43
hex(43) # '0x2b'HTML
+ <!-- numeric entity (no named entity for this character) -->Programming notes
- ▸Code 43 (0x2B); URL-encoded form%2B.
- ▸In HTML the numeric entity is +.
- ▸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 +. In a URL it is percent-encoded as %2B, and in UTF-8 it is stored as the byte sequence 0x2B.