Yuzool

Dev Tools

Number base converter

Type a number in decimal, hex (0x), binary (0b) or octal (0o) and see it in all four, with the bits it needs and its two’s complement for 8, 16, 32 and 64 bits. Any size works.

Examples

DecimalHexBinaryOctal
100xA101012
2550xFF11111111377
10240x400100000000002000
655350xFFFF1111111111111111177777

Negative numbers

Computers store negative numbers as two’s complement: -1 in 8 bits is 1111 1111. Type a negative number to see its two’s complement at each width.

How to use it

  1. Type the number (prefixes are read on Auto), or pick the base.
  2. Copy the base you need.

Questions

How big can the number be?

As big as you like: it uses JavaScript’s BigInt, so it’s exact well past 64 bits.

Related tools

Open all 35 Dev Tools. Everything runs in your browser; nothing you paste is uploaded.

Settings

History

Snippet