Binary Converter
Convert between binary, decimal, hexadecimal, and octal number systems in real time. Supports multi-value input and instant copy. Free, no signup required.
Updated April 2026
Input Parameter
0b11111111
0xFF
255
0o377
Bit Visualizer
Bit Depth
8-bit Integer
Memory Size
1 Byte
Latency
< 1ms
Tip: Press Shift+Enter to copy the decimal result.
How to use the binary converter
One number, four number systems at once
1. Pick the input base
Decimal, Binary, Hexadecimal, or Octal from the dropdown menu.
2. Type the number
Plain digits work, and so do standard prefixes like `0b`, `0o`, and `0x`.
3. Read and copy
All four outputs update in real time — copy any of them with one click.
What this binary converter does
The four number systems used in computing
Real-time conversion
Type into any field and the other three update instantly, no convert button needed.
Bit visualizer
Every bit shown as a colored square, grouped in fours, with the MSB and LSB clearly labeled.
Recognizes standard prefixes
0b, 0o, and 0x are detected automatically, so you can paste straight from code.
Runs 100% in your browser
No number is ever sent to a server — every conversion happens locally and instantly.
Examples
When you'll reach for this tool
The scenarios that come up most often
Web development
CSS colors like #1a2b3c are hex — convert them to decimal RGB or inspect the raw bits.
Linux file permissions
chmod 755 is octal — the bit visualizer shows exactly which permission bits are turned on.
Embedded systems and firmware
Microcontroller registers are read in hex — convert 0xFF to see the individual control bits.
Computer networking
IPv4 addresses use decimal octets, IPv6 uses hex groups, and the binary view reveals subnet masks.
Common mistakes
Stripping the prefix before pasting from code
0xFF, 0b1010, and 0o17 are recognized automatically — there's no need to remove the prefix first.
Mixing up bit order
Position 0 is always the rightmost bit (LSB) — the bit visualizer labels the MSB and LSB so you don't have to guess.
Expecting signed numbers
This tool works with unsigned representation — for two's complement negative numbers, the conversion is manual.
Why use this binary converter
It covers all four number systems used in computing on a single screen, with a bit visualizer that shows exactly which positions are switched on — handy for Linux permissions and firmware registers alike.
Everything updates in real time with no convert button to click, and it understands the standard 0x, 0b, and 0o prefixes you already use in code.
The four number systems
When to use each one
Frequently asked questions
Multiply each binary digit by 2 raised to its position value, starting from 0 on the right, then add the results. For example, 1011 = (1×2³)+(0×2²)+(1×2¹)+(1×2⁰) = 11.
Further reading
Related Tools
- CHMOD Calculator Developer Visual chmod calculator with security warnings. Set read/write/execute permissions, get octal and symbolic output instantly. Includes umask, SUID/SGID/sticky bit.
- ASCII Table Generator Developer Free ASCII table generator — create plain-text tables in MySQL, Markdown, Unicode and more styles. Paste CSV or type data, copy output in one click. No signup.
- Base64 Decoder Developer Free online Base64 decoder — decode Base64 strings back to plain text instantly in your browser. Validates input and shows decoded payload size.
- Base64 Encoder Developer Encode any text or string to Base64 instantly in your browser. Supports UTF-8, shows character count and output payload size. Free, no signup, 100% client-side.
- Base64 to Image Developer Paste a Base64 string or data URL and instantly preview the decoded image — free online converter supporting PNG, JPEG, WebP, GIF, SVG. No upload, runs locally.