Skip to content
ASCII World
^

Caret - circumflex

PrintableASCII 94 | Hex 0x5E | U+005E
Caret (ASCII 94) served as the up-arrow character in the original 1963 ASCII standard before being reassigned. In regular expressions, ^ anchors the match to the start of a line inside a pattern, and inside a character class [^abc] it negates the class. In C and most derived languages, ^ is the bitwise XOR operator. In Markdown, superscript plugins use ^ for exponents. In terminal documentation, ^C means Ctrl+C, using the caret to represent the Control key modifier.

ASCII Code

Decimal
94
Hexadecimal
0x5E
Octal
136
Binary
0101 1110
URL Escape
%5E

Unicode

Code Point
U+005E
Escape
\u005e
UTF-8 Hex
0x5E
UTF-8 Binary
01011110
UTF-16
0x005E
UTF-32
0x0000005E

HTML Entities

Numeric
^
Hex
^
Named
^

How to Type

Windows Alt CodeAlt + 94
HTML Entity
^
Unicode InputU+005E

Source Code Representations

C / Java
"\u005E"
CSS
\005E
JavaScript
"\u005E"
Perl
\x{005E}
Python 2
u"\u005E"
Python 3
\u005E
Ruby
\u{005E}

Frequently Asked Questions

What is ASCII code 94?
ASCII code 94 represents the Caret - circumflex character. In hexadecimal it is 0x5E, in binary 0101 1110, and in octal 136. It is a printable character that appears as "^" in text.
How do I type ASCII 94 on a keyboard?
On Windows, hold Alt and type 94 on the numeric keypad. On Mac, you can use the Character Viewer (Edit > Emoji & Symbols). In HTML, use the entity ^ or ^.