Skip to content
snip tools

Number base converter

Convert between binary, octal, decimal, hex and any base 2–36 — big-integer precise. Runs in your browser.

Runs 100% in your browser

How to convert number bases

  1. Pick the input base. Tell it whether your number is binary, decimal, hex, etc.
  2. Enter the number. Type the value; all bases update live.
  3. Copy a result. Grab any representation you need.

About number bases

Programmers move between bases constantly — hex for colors, memory addresses and byte values, binary for bitmasks and flags, decimal for everything else. This converter uses arbitrary-precision integers so even large 64-bit values convert exactly, and it covers any base from 2 to 36 for niche encodings.

Frequently asked questions

Which bases are supported?
Binary (2), octal (8), decimal (10) and hexadecimal (16) are shown directly, plus any custom base from 2 to 36. Choose the base your input is written in.
Can it handle very large numbers?
Yes — it uses arbitrary-precision integers (BigInt), so 64-bit values and beyond convert exactly without rounding.
Does it support negative numbers?
Yes, a leading minus sign is handled. Fractional/decimal points are not — it converts whole integers.
Is it private?
Yes — conversion runs entirely in your browser.