All representations
| Format | Value |
|---|
| Name | Space |
| Decimal | 32 |
| Hexadecimal | 0x20 |
| Octal | 040 |
| Binary | 00100000 |
| HTML numeric entity |   /   |
| HTML named entity | (non-breaking variant) |
| Unicode code point | U+0020 |
| URL encoded | %20 |
| UTF-8 bytes | 20 (one byte, same as ASCII) |
Notes
- The first printable code. In URLs it becomes
%20 (or + in form data).
Nearby codes
| Dec | Hex | Char | Name |
|---|
| 30 | 1E | RS | RS – Record separator |
| 31 | 1F | US | US – Unit separator |
| 33 | 21 | ! | Exclamation mark |
| 34 | 22 | " | Double quote |
Get this code in code
JavaScript ' '.charCodeAt(0) // 32
Python ord(' ') # 32
C (char)32