DevKits

ASCII 181

Micro Sign (µ)

Latin-1 Supplement

Latin-1 character.

Common uses & context

Decimal 181 (0xB5) is Micro Sign, part of the Latin-1 Supplement (128–255). Latin-1 character. It renders as 'µ' and its binary byte is 10110101.

This is where single-byte ASCII ends and encoding matters. In Latin-1 (ISO-8859-1) 'µ' is the single byte 0xB5. In UTF-8 — today's default for the web — the same character is the multi-byte sequence 0xC2 0xB5. Treating a Latin-1 byte as UTF-8 (or vice versa) is the usual reason accented letters and symbols turn into mojibake like é or €. The Unicode code point is U+00B5, and in HTML you can write it as µ or µ.

All encodings at a glance

Decimal181
Hexadecimal0xB5
Octal0265
Binary10110101
HTML numeric entityµ
HTML named entityµ
URL encoding%B5
UTF-8 bytes0xC2 0xB5

Code snippets

JavaScript

String.fromCharCode(181); // "µ"
181.toString(16); // "b5"

Python

chr(181)           # control char µ
ord(chr(181))      # 181
hex(181)           # '0xb5'

HTML

&micro;   <!-- named entity -->
&#181;   <!-- numeric entity -->

Programming notes

  • Single byte 0xB5 in Latin-1, but the multi-byte sequence 0xC2 0xB5 in UTF-8 — never assume one byte per character above code 127.
  • Unicode code point U+00B5; HTML entity &micro;.
  • If 'µ' shows as mojibake, the encoding declared and the encoding used disagree — align both on UTF-8.

Unicode & UTF-8 note

In Unicode this is U+00B5. In UTF-8 it encodes to the byte sequence 0xC2 0xB5. In legacy Latin-1 (ISO-8859-1) it is a single byte 0xB5, which is why Latin-1 files often appear as mojibake when interpreted as UTF-8.

Frequently asked questions

What character is ASCII code 181?

ASCII code 181 is the character 'µ' (Micro Sign). In hexadecimal it is 0xB5, in octal 0265, and in binary 10110101.

What is 0xB5 in ASCII?

Hexadecimal 0xB5 equals decimal 181, which is the character 'µ' (Micro Sign). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0xB5 = 181) and look up that code point.

How do I write the character with code 181 in code?

In JavaScript use String.fromCharCode(181); in Python use chr(181); in HTML use the numeric entity &#181; or the named entity &micro;. In a URL it is percent-encoded as %B5, and in UTF-8 it is stored as the byte sequence 0xC2 0xB5.

Is 'µ' part of standard ASCII?

No. Standard ASCII covers codes 0–127 only. 'µ' is code 181, part of the Latin-1 Supplement (128–255, sometimes called "extended ASCII"). It is a single byte 0xB5 in Latin-1 but a multi-byte sequence (0xC2 0xB5) in UTF-8.

Nearby codes

Encode & convert this character