Skip to content
Toolbento

Number base converter

Convert whole numbers between binary, octal, decimal, hex and any base from 2 to 36.

Everything stays on this device

Number base converter runs in your browser. The text and files you add are worked on by this device and are never uploaded, to us or to anyone else.

  • No uploads. The page is blocked from sending data to any other server.
  • No account, cookies, ads or tracking.
  • Fonts and scripts come from toolbento.app itself, so the page makes no requests to other companies.
  • Closing the tab clears your text and files from memory.

Read the full details on the privacy page.

In other bases

  • Binary (base 2)
    Enter a number
  • Octal (base 8)
    Enter a number
  • Decimal (base 10)
    Enter a number
  • Hex (base 16)
    Enter a number
  • Base 32
    Enter a number
  • Base 36
    Enter a number

Missing a feature or found a bug in Number base converter? Tell me on X (@_andrewtran) or by email.

How to use Number base converter

  1. Type or paste a number.
  2. Set the base the number is written in.
  3. Copy the value in the base you need.

Questions and answers

Is my data sent anywhere?

No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.

Is there a size limit?

No practical one. Numbers of any length keep every digit, because the maths is done on whole numbers and not on floating point.

Can I include a prefix?

Yes. 0x for hex, 0b for binary and 0o for octal are accepted, as are spaces and underscores between digits.

Esc

Loading tools