Superscript Two ASCII Code Symbol

² ASCII 178

ASCII Character

Superscript Two

ASCII byte 178 (0xB2) — Unicode U+00B2. Standard ASCII is 0–127; extended bytes 128–255 use Windows-1252.

How to type ²

Windows

  1. Copy ² with the Copy Symbol button above and paste it anywhere.
  2. In HTML, use ² or hex ².
  3. In JavaScript, use String.fromCharCode(178).

Mac

  1. Copy ² with the Copy Symbol button and paste it (fastest method).
  2. Open System Settings → Keyboard → Input Sources and add Unicode Hex Input (if needed).
  3. Select Unicode Hex Input from the menu bar input menu.
  4. Hold Option (⌥), type 00B2 (from U+00B2), then release Option.
  5. Or open Edit → Emoji & Symbols (or press Ctrl + Cmd + Space) and search for the character.
  6. In HTML on Mac editors, you can also paste ².

Linux

  1. Copy ² with the Copy Symbol button and paste it.
  2. Press Ctrl + Shift + U, type 00b2 (from U+00B2), then press Enter or Space.
  3. On GNOME, you can also use Ctrl + . (or Ctrl + ;) to open the character picker.
  4. In HTML, use ².

ASCII character details

Parameter Value Copy
Symbol ²
Symbol Name Superscript Two
ASCII Decimal 178
ASCII Hex 0xB2
Unicode Code U+00B2
HTML Decimal Code ²
HTML Hex Code ²
HTML Entity ²
CSS Code \00B2
JavaScript Code \u00B2
Category ASCII Extended / Windows-1252 (128–255)

FAQs about Superscript Two ASCII Code Symbol

What is the ASCII code for Superscript Two ASCII Code Symbol?

ASCII decimal 178, hex 0xB2, Unicode U+00B2.

How do I copy ²?

Click Copy Symbol on this page to copy the character directly.

How do I type ASCII 178 in JavaScript?

Use String.fromCharCode(178) to output this character in JavaScript.

About this ASCII Character

Extended ASCII byte 178 (0xB2, U+00B2) is superscript two. Part of the complete extended ASCII table (Windows-1252, 128–255).

Tags: superscript-two,ascii,extended-ascii,178,0xB2,U+00B2,ascii table,copy symbol

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top