Toolman

ASCII code for pipe

124

Vertical line — |

Decimal124
Hexadecimal0x7C
Octal0174
Binary01111100
HTML entity|

What it is

Vertical line is one of the 95 printable ASCII characters, the set every text encoding in common use still agrees on. UTF-8 encodes it as the single byte 124, which is why ASCII text is also valid UTF-8.

The full entry

ASCII 124 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 pipe?

The ASCII code for pipe is 124 in decimal, 0x7C in hexadecimal and 0174 in octal.

What is pipe in binary?

01111100 — eight bits, though ASCII only defines seven, so the top bit is always zero.

Is pipe a printable character?

Yes. Vertical line is in the printable range, codes 32 to 126, which is everything ASCII can put on a screen.

Other characters

Every character by name · The ASCII table · Text to binary converter