ASCII 29
Group Separator (GS)
Control character
Legacy record separator.
Common uses & context
Decimal 29 (0x1D) is the Group Separator control character — one of the 33 non-printing codes in the C0 control block (0–31 plus DEL at 127). Control characters were designed to command teletype and terminal hardware rather than to represent visible glyphs, so GS produces no letter, digit, or symbol on screen. Its8-bit binary form is 00011101 and its octal value is 0035.
Legacy record separator.
BecauseGS is invisible, it is easiest to work with by its numeric code. In most languages you can produce it with the escape or code-point form shown below, and detect it by comparing a byte against 29 (0x1D). When it turns up unexpectedly in text — pasted from a terminal, a legacy file, or a binary blob — it is usually the cause of "invisible character" bugs that break parsing or comparisons.
All encodings at a glance
| Decimal | 29 |
| Hexadecimal | 0x1D |
| Octal | 0035 |
| Binary | 00011101 |
| HTML numeric entity |  |
| URL encoding | %1D |
| UTF-8 bytes | 0x1D |
Code snippets
JavaScript
String.fromCharCode(29); // "GS"
29.toString(16); // "1d"Python
chr(29) # control char GS
ord(chr(29)) # 29
hex(29) # '0x1d'HTML
 <!-- numeric entity (no named entity for this character) -->Programming notes
- ▸Detect it by numeric comparison: byte === 29 (0x1D). It has no printable glyph to match on.
- ▸Control characters below 32 are stripped or rejected by many text validators — check for them when sanitizing user input.
- ▸In a hex dump GS shows as 1D; in a "cat -v" style view it may appear as a caret sequence.
Frequently asked questions
What character is ASCII code 29?
ASCII code 29 is Group Separator (GS), a non-printing control/whitespace character. In hexadecimal it is 0x1D and in binary 00011101. It has no visible glyph — it controls formatting or hardware instead of drawing a symbol.
What is 0x1D in ASCII?
Hexadecimal 0x1D equals decimal 29, which is theGroup Separator control character (GS). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0x1D = 29) and look up that code point.
How do I write the character with code 29 in code?
In JavaScript use String.fromCharCode(29); in Python use chr(29); in HTML use the numeric entity . In a URL it is percent-encoded as %1D, and in UTF-8 it is stored as the byte sequence 0x1D.
Is ASCII 29 (GS) printable?
No. GS (code 29) is a control character with no visible glyph. It instructs software or hardware rather than displaying a symbol, which is why it often appears as an invisible or replacement character when it leaks into ordinary text.