Nerdulator> put something in

Recognised as Base-16 literal

0x0

  • Base 16
  • 1 bits
  • = 0

0x0 is a hexadecimal literal equal to 0 in decimal. It needs 1 bits (1 bytes) of storage, and is 0x0 in hexadecimal and 0 in binary.

In every base

Decimal0
Binary0
Octal0
Hexadecimal0
Base 320
Base 360
Prefixed literals0x0 · 0o0 · 0b0

Bit width & storage

Significant bits1
Bytes needed1
Fits in 8 bitsYes
Fits in 16 bitsYes
Fits in 32 bitsYes
Fits in 64 bitsYes
Padded to 8 bits00000000
Padded to 32 bits00000000000000000000000000000000

Read another way

As an IPv4 address0.0.0.0
As a 24-bit colour#000000
As a Unicode code pointU+0000, a control character
As a byte count0 B
As a duration in seconds0 seconds

Bitwise operations

NOT (32-bit)4,294,967,295
Shift left by 10
Shift right by 10
Population count0the number of set bits
Lowest set bitNone

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

The same value

Neighbouring values

Also reads as

U+0000 (unicode character)

  • U+0000
  • Control

U+0000 is code point 0 (), a control in the Basic Latin (ASCII) block of the Basic Multilingual Plane. It takes 1 byte in UTF-8 and 1 unit in UTF-16.

Open this reading on its own page →

Identity

Code pointU+0000
Decimal0
Character
General categoryControl
BlockBasic Latin (ASCII)
PlaneBasic Multilingual Planeplane 0
Official nameNot includedthe Unicode Character Database is not bundled; a stale copy would be worse than none

Encodings

UTF-8001 byte
UTF-160000a single unit
UTF-3200000000
Binary0
Bytes in UTF-8 vs UTF-161 vs 2UTF-16 is not always smaller, even for non-Latin text

Writing it in code

HTML numeric entity�
HTML hex entity�
CSS escape\0000
JavaScript\u0000
Python\u0000
Percent-encoded (URL)%00

Things that catch people out

JavaScript string length1
Needs a surrogate pairNo
Safe in a URL unescapedNo

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nearby code points

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “0x0” by Nerdulator’s computing engine. Nothing here was retrieved from a database of answers or written by a model.