Number base converter

  1. Choose file
  2. Set options
  3. Get result

Type a value in one base and read the same number in binary, octal, decimal, and hexadecimal. Choose any input base from 2 to 36. Invalid digits are flagged with their position. Everything runs in this browser tab; nothing is uploaded.

How to convert between bases

  1. Pick the input base (for example 16 for hex).
  2. Type the number using digits valid for that base.
  3. Read binary, octal, decimal, and hex in the output rows.
  4. Copy one row or copy all formatted lines.

Uppercase and lowercase letters are the same for bases above 10. You may separate digit groups with spaces or underscores; they are stripped before parsing.

Validation rules

Each character must be a valid digit for the input base. In base 2 only 0 and 1 are allowed. In base 8, digits stop at 7. In base 16, use 0-9 and A-F.

A lone + or − without following digits is an error. After a valid parse, outputs update live as you type.

Privacy

No account and no upload. Large integers use the same BigInt math as modern JavaScript; practical limits follow what your device can handle in a text field.

Frequently asked questions

Which input bases are supported?

Choose any base from 2 through 36. Digits 0-9 and letters a-z count as digits when the base is high enough. Spaces and underscores between digits are ignored.

Can I enter negative numbers?

Yes. A leading minus or plus is allowed. The outputs keep the sign.

What happens with an invalid digit?

Conversion stops and the page names the bad character and its position for the base you chose. Nothing is sent to a server.

Does my number leave the browser?

No. Parsing and formatting run in this tab only.