Toolman

ASCII code for double quote

34

Double quote — "

Decimal34
Hexadecimal0x22
Octal0042
Binary00100010
HTML entity"
String escape\"

What it is

Double quote 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 34, which is why ASCII text is also valid UTF-8.

The full entry

ASCII 34 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 double quote?

The ASCII code for double quote is 34 in decimal, 0x22 in hexadecimal and 0042 in octal.

What is double quote in binary?

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

How do I write double quote in a string?

Most languages accept the escape \". Writing the raw character instead works in some contexts and breaks in others, which is what the escape exists to avoid.

Other characters

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