base converter

How to use the base converter

  1. Enter a number in any base — decimal, binary, octal, hex, or a custom radix from 2 to 36.
  2. All other bases update live in the panel to the right.
  3. Toggle 'two's complement' for signed integer representation.
  4. Copy individual conversions or download the full table.

When to use it

Base conversion comes up in low-level programming (reading hex dumps, working with bitmasks, understanding IPv6 addresses) and competitive programming. For everyday web work, JavaScript's parseInt(x, radix) and Number.toString(radix) do the job in code; this tool is for quick manual checks.

Frequently asked questions

Can I convert negative numbers?
Yes. Binary and hex representations use two's complement with a bit-width selector (8, 16, 32, 64 bits).
What's base 36 used for?
URL shorteners, cache keys, short readable IDs — 36 chars (0-9, a-z) pack large numbers into few characters.
How do I convert IPv4 to decimal?
Each octet is base 10; combined as (a * 256^3) + (b * 256^2) + (c * 256) + d. Enter the formula or use this tool's IPv4 mode.
Is there a limit on number size?
The tool handles arbitrary-precision integers up to ~2048 bits. Beyond that, use a language-native BigInt or an arbitrary-precision library.

Related tools

Last updated: 2026-04-22