ASCII code for unit separator
31
Unit Separator — a control character, not printable
| Decimal | 31 |
| Hexadecimal | 0x1F |
| Octal | 0037 |
| Binary | 00011111 |
| HTML entity |  |
What it is
The finest separator, dividing fields within a record — an unambiguous alternative to the comma in CSV, if anything supported it.
The full entry
ASCII 31 in full — the code point page, with what sits either side of it and how the character is encoded elsewhere.
Frequently asked questions
What is the ASCII code for unit separator?
The ASCII code for unit separator is 31 in decimal, 0x1F in hexadecimal and 0037 in octal.
What is unit separator in binary?
00011111 — eight bits, though ASCII only defines seven, so the top bit is always zero.
Is unit separator a printable character?
No. Unit Separator is a control character — an instruction to a teleprinter rather than a mark on paper, which is why most tables show an empty cell for it.
Other characters
- ASCII code for space — 32
- ASCII code for exclamation mark — 33
- ASCII code for double quote — 34
- ASCII code for hash — 35
- ASCII code for dollar sign — 36
- ASCII code for percent sign — 37
- ASCII code for ampersand — 38
- ASCII code for apostrophe — 39
- ASCII code for left parenthesis — 40
- ASCII code for right parenthesis — 41
- ASCII code for asterisk — 42
- ASCII code for plus sign — 43
Every character by name · The ASCII table · Text to binary converter