Number Base Converter
Runs in browserConvert numbers between binary, octal, decimal, and hex instantly.
Convert numbers between binary, octal, decimal, and hexadecimal instantly in your browser. Free base converter online.
Number Base Converter tool
Padded binary (32-bit, unsigned): 00000000000000000000000000101010
ASCII (32–127): "*"
🔒 Runs in your browser · No uploads · Your data never leaves your device
How to use
Enter a value
Type a number into any base field (binary, octal, decimal, or hex).
See conversions update
All other fields update instantly as you type.
Fix invalid input
If the input contains invalid digits for that base, the field will show an error.
Common use cases
- Reading hex values from a network dump — Convert hexadecimal byte values to decimal to understand packet data, error codes, or color values.
- Debugging bitmask operations — Convert between binary and decimal to verify bitwise AND/OR operations and understand flag combinations.
Examples
Convert 42
Decimal 42 becomes 101010 (bin) and 2A (hex).
Input42Outputbin=101010, oct=52, dec=42, hex=2A
Frequently asked questions
- Does this tool support negative numbers?
- This converter focuses on unsigned integers. For signed formats, convert the absolute value and apply your representation rules.
- Is conversion done on a server?
- No. Everything runs locally in your browser.
Key concepts
- Binary (base 2)
- A number system using only 0 and 1 — the fundamental representation of data in computers.
- Hexadecimal (base 16)
- A number system using digits 0–9 and A–F, commonly used in programming to compactly represent binary values.
Related tools
You might find these useful too.
- Color Converter
Convert HEX, RGB, HSL, and HSB color formats with live preview instantly.
Open - JSON Formatter
Format and validate JSON instantly.
Open - Base64 Encode / Decode
Encode and decode Base64 text privately in the browser.
Open - Roman Numeral Converter
Two-way Roman numeral converter (1–3999) with component breakdown.
Open