Utilities
Number Base Converter
Convert integers between base 2, 8, 10 and 16 at once, with 0x / 0b / 0o prefixes detected automatically.
- Input
- fmtText
- Output
- TEXT
- Runs
- Your browser
shortAnswer
ToolBoxAll's Number Base Converter converts integers between binary, octal, decimal and hexadecimal at once. It parses with BigInt, so 64-bit IDs and long hashes keep every digit — unlike Number-based converters that lose precision beyond 2^53. 0x, 0b and 0o prefixes are detected automatically.
- keyFact
- Arbitrary-precision integers via BigInt
- keyFact
- Shows bit length alongside the four bases
- keyFact
- Rejects digits that are invalid for the chosen base
reviewedOn 2026-11-20
Output
Output appears here as you run the tool.
Tip: this tool runs entirely in your browser — your input never leaves the device.
How it works
three steps- 01
Paste a number, with or without a 0x / 0b / 0o prefix.
- 02
Leave the base on auto, or pin it explicitly.
- 03
Copy any of the four results.
About this tool
Parsing uses BigInt, so 64-bit IDs and long hashes convert without losing precision — something a Number-based converter gets wrong past 2^53. Output includes the value in all four bases plus grouping and bit length.
| Input | fmtText |
|---|---|
| Output | TEXT |
| Batch | One at a time |
| Per-file limit | — |
| Processing | Your browser |
| Account | Not required |