Base Converter
Integers across binary, octal, decimal, hex, base32 and base36
0
0
0
0
0
0
✦ Why programmers juggle bases
Computers think in binary, humans read decimal, and hex sits between them as the compact readable form of bytes — one hex digit is exactly four bits. Octal survives in Unix permissions, base36 packs IDs short, base32 avoids look-alike characters. Converting fluently between them is daily work in debugging, crypto and systems programming.
What this tool does
- 🔢 Converts across binary, octal, decimal, hex, base32 and base36 at once
- ♾️ Arbitrary precision — no float rounding on big values
- 📋 Per-base one-click copy
- 🔠 Optional uppercase hex output
When to use it
- Reading memory addresses and bitmasks in hex
- Decoding Unix permission math (755 and friends)
- Checking encoded IDs and checksums across bases
Privacy: pure arithmetic in your browser — numbers you convert never leave your device.
Last updated · 2026-09-01
How conversion works
Input is validated digit-by-digit against the source base and folded into a BigInt; each target base is produced by repeated division with the digit alphabet 0-9a-z. All six rows derive from the single parsed value, so they can never disagree.
Why convert here?
Six bases, one keystroke
Type in any base and watch all six representations update live — no convert button, no round trip, no waiting.
Exact at any size
BigInt math means a 256-bit hash converts losslessly, where float-based converters silently corrupt the low digits.
Copy-grade output
Every row carries its own copy button and optional uppercase hex, so values drop straight into code, configs and tickets.
Frequently asked questions
Why do huge numbers stay exact?⌄
The math uses BigInt arbitrary-precision integers instead of floating point, so a 40-digit decimal converts to hex and back without losing a single digit.
What characters are allowed per base?⌄
Exactly the base's digits: 0-1 for binary, 0-7 octal, 0-9 decimal, plus a-f for hex and a-z for base32/36. Underscores and spaces are ignored; 0x prefixes are stripped.
Negative numbers?⌄
Supported with a leading minus sign, converted symmetrically across all bases.
Frequently asked questions
Why do huge numbers stay exact?
The math uses BigInt arbitrary-precision integers instead of floating point, so a 40-digit decimal converts to hex and back without losing a single digit.
What characters are allowed per base?
Exactly the base's digits: 0-1 for binary, 0-7 octal, 0-9 decimal, plus a-f for hex and a-z for base32/36. Underscores and spaces are ignored; 0x prefixes are stripped.
Negative numbers?
Supported with a leading minus sign, converted symmetrically across all bases.