Base & binary converter

Convert number bases and convert text to and from binary or hex, all inside this browser.

Number base conversion

Up to 1,000 characters are processed. Put - in front for a negative number.

Text ↔ bytes conversion

Up to 100,000 characters are processed.

How to use the base & binary converter

Use it to change the base of a number or to check the actual bytes of text when working with programming, networking or character encodings.

  1. Numbers: enter a number and choose its base to see the binary, octal, decimal and hexadecimal values plus the extra base you pick.
  2. Text: choose the direction and byte notation, then type; the result appears immediately.
  3. When you press a copy button, the confirmation appears only after copying succeeds.

Example: 255 FF decimal to hexadecimal

Limits

Frequently asked questions

Is my input sent to a server?

No. Every conversion runs inside this browser, and your input and results are neither saved nor uploaded. They disappear when you reload.

How are negative numbers shown?

They are shown as a sign and an absolute value, not as two's complement. For example, -255 is -FF in hexadecimal.

Why does Korean take 3 bytes?

UTF-8 uses 1 to 4 bytes per character and a Korean syllable takes 3. For example, the syllable “ga” is EA B0 80.