ASCII Character

Space is a graphic character. It has a visual representation consisting of the absence of a graphic symbol. It causes the active position to be advanced by one character position. In some applications, Space can be considered a lowest-level "word separator" to be used with the adjacent separator characters.

ASCII Code for ␠

These are the code points for space in various character sets

Character SetsDecimalHex
ASCII3220

Unicode for ␠

The character for space is mapped in Unicode as U+0020

UnicodeU+0020
Unicode Decimal32
Unicode Escape\u0020
UTF-8 (hex)0xE2 0x90 0xA0
UTF-8 (binary)111000101001000010100000
UTF-8 (binary)
111000101001000010100000
UTF-160x0020
UTF-320x00000020

HTML Entities for

The following HTML entities can be used to represent the space in HTML

HTML Number
HTML Hex

Encoding

Encoding non-standard letters and characters into values that can be displayed e.g. in browsers

URL Escape Code%20
Quoted-printable=20

Source Code

C, C++, and Java"\u0020"
CSS Code\0020
JavaScript"\u0020"
Perl\x
Python 2u"\u0020"
Python 3\u0020
Ruby\u