Developer & Text · Number Base Converter

Convert numbers between binary, decimal, hex and octal

Quick answer

Open Toolfox → Number Base Converter and type a whole number to see it in binary, octal, decimal, hexadecimal and one more base of your choice (2 to 36), as you type. The 0x, 0b and 0o prefixes are detected, and numbers can be up to 10,000 digits long. It runs entirely on your computer (Mac, Windows or Linux). Files are never uploaded.

Download free macOS, Windows and Linux · works offline

How to do it

  1. Open Number Base Converter.
  2. Type numbers, one per line. Separators like 1_000_000 or 1,000,000 are fine.
  3. Set the input base if it isn't detected, and the extra base to show.
  4. Copy the result or Save… it as number-bases.txt.

Options you can set

  • Input base
  • Base
  • Also show base
  • Group digits
  • Uppercase letters (A-F)

Good to know

  • Works with whole numbers of any size (up to 10,000 digits), including negative numbers. Fractions aren't supported.
  • Spaces, underscores, commas and apostrophes inside a number are ignored, so 1_000_000 and 1,000,000 both work.
  • Two's complement is shown for 8, 16, 32 and 64 bits whenever the number fits that width.
  • Enter one number per line to convert several.

Number Base Converter FAQ

Does it show two's complement?

Yes, for 8, 16, 32 and 64 bits whenever the number fits that width. Negative numbers are supported.

Can it convert fractions?

No. Only whole numbers are supported, but of any size up to 10,000 digits.

Is Number Base Converter in Toolfox free?

Yes. Number Base Converter is one of 57 tools in Toolfox, a free app for Mac, Windows and Linux with no account, ads, limits or watermarks.

Does Number Base Converter upload my files?

No. Toolfox processes files on your own computer and works offline; your files are never uploaded.

More developer & text tools in Toolfox

See all 57 tools →

Toolfox app icon

Get Number Base Converter and 19 more tools.

Free forever. No account. Works offline. For macOS, Windows and Linux.

macOS Windows Linux

Updated 2026-10-18 · Toolfox v0.2.1