Best Free Number Base Converter
Convert between binary, octal, decimal and hex with four live-synced fields, plus a text-to-binary mode.
How it works
- Pick a field. Click the binary, octal, decimal or hex box.
- Type your number. The other three bases update live as you type; bad digits are flagged.
- Copy a value. Click any field to copy it. Everything runs in your browser.
About this tool
Convert a whole number between binary, octal, decimal and hexadecimal without anything leaving your machine. Type into any one of the four fields and the others update instantly. Invalid digits for a base are flagged rather than silently corrupting the result, and arbitrary-size numbers are handled with BigInt, so a 64-bit mask or a long hex value converts exactly. Click any field to copy it. The Advanced options add a text ↔ binary mode that turns words into space-separated 8-bit bytes (UTF-8) and back.
What people use it for
- Read a hex colour, mask or address in decimal
- Turn a permission/flag value into binary bits
- Convert decimal to hex for code or config
- Encode text as binary bytes (and decode it back)