Skip to content

Binary Converter

New
Developer Toolsβ€’Client-Side & Private

A binary converter changes numbers between binary, octal, decimal and hexadecimal, and converts text to binary and back. Enter a number in any base to see it in all four bases instantly.

Tool workspace

Convert

Convert between binary, octal, decimal and hexadecimal β€” or between text and binary.

What are you converting?
Input base

Digits 0 and 1 only, e.g. 101101.

Important Usage Notice

Binary is base 2 (digits 0 and 1), octal is base 8, decimal is base 10 and hexadecimal is base 16 (digits 0–9 plus A–F). Computers store text as numbers too β€” each character is one byte, shown here as an 8-bit binary group. Everything runs in your browser.

Convertedbase 2
45

Decimal value of 101101 (base 2). All four bases are shown below.

Binary (base 2)
101101
Octal (base 8)
55
Decimal (base 10)
45
Hexadecimal (base 16)
2D

Copy a result

How Binary Conversion Works

Each digit's place value is the base raised to its position: 1011β‚‚ = 1Γ—2Β³ + 0Γ—2Β² + 1Γ—2ΒΉ + 1Γ—2⁰ = 11

Where:

  • 2ⁿPlace value β€” In binary, positions are worth 1, 2, 4, 8, 16… from the right
  • A–FHex digits β€” Hex uses A=10, B=11, C=12, D=13, E=14, F=15
  • 8 bitsOne byte β€” One text character = 8 binary digits (a byte)

Step-by-Step Worked Example

Example Scenario: Convert binary 101101 to decimal, octal and hexadecimal.

1Read the place values
1Γ—32 + 0Γ—16 + 1Γ—8 + 1Γ—4 + 0Γ—2 + 1Γ—1

Six binary digits, worth 32, 16, 8, 4, 2 and 1 from the left.

2Add them up
32 + 8 + 4 + 1 = 45

So 101101β‚‚ = 45 in decimal.

3Group for octal and hex
101 101β‚‚ = 55β‚ˆ Β· 10 1101β‚‚ = 2D₁₆

Group binary digits in threes for octal, in fours for hex.

Final Calculated Result:101101β‚‚ = 45₁₀ = 55β‚ˆ = 2D₁₆

Loading tool controls…

Files processed locally β€” never uploaded to our servers
Free Instant Private

Verify it yourself: press F12, open the Network tab, and use this tool β€” your files are never uploaded.

Binary Converter at a glance

Price
Free
Account
Not required
File uploads
None β€” your files are never uploaded

Who uses Developer Tools?

Developers and engineers formatting JSON, testing regex, hashing data, encoding values or building API requests.

How to Use Binary Converter

Follow these simple steps to get instant results in your browser.

1

Configure Inputs

Enter or upload your data into the primary input area.

2

Adjust Options

Customize any configuration settings to match your requirements.

3

View & Export

Inspect the calculated result and copy or download your output.

πŸ’‘

What is Binary Converter & How Does It Work?

Binary Converter is a fast, privacy-focused browser utility designed for convert numbers between binary, octal, decimal and hex β€” plus text to binary.

Read the controls and any notices on this page for the supported inputs, processing requirements and output options.

⚑

Key Features & Capabilities

βœ“

Tool-specific controls

Available options are shown in the workspace above.

βœ“

Responsive & Mobile Friendly

Optimized for seamless operation across desktop and mobile screens.

βœ“

Completely Free

Enjoy full feature access with no watermarks or accounts required.

Pro Tips

  • β€’Bookmark this tool for instant one-click access anytime.
  • β€’Drag and drop files directly onto the input surface for fastest handling.
  • β€’All processing happens in your browser session for maximum speed and data safety.

🎯 Common Use Cases

Daily WorkflowsAccelerate routine developer tools tasks with instant real-time results.
Professional TasksPerform accurate transformations and calculations with reliable precision.
Check the resultReview the output against your own requirements before using it.

Frequently Asked Questions about Binary Converter

Frequently asked questions

Add up the place values of the 1s: in 101101 the digits are worth 32, 16, 8, 4, 2 and 1 from the left, so 32 + 8 + 4 + 1 = 45. This converter does it instantly β€” pick Binary as the input base and type the number.

Repeatedly divide by 2 and read the remainders from bottom to top. For 45: 45 Γ· 2 = 22 r1, 22 Γ· 2 = 11 r0, 11 Γ· 2 = 5 r1, 5 Γ· 2 = 2 r1, 2 Γ· 2 = 1 r0, 1 Γ· 2 = 0 r1 β€” reading the remainders upwards gives 101101.

They are number systems with different bases: binary is base 2 (digits 0–1), octal is base 8 (0–7), decimal is base 10 (0–9) and hexadecimal is base 16 (0–9 plus A–F, where A=10 through F=15). They all represent the same values; programmers use hex as a compact shorthand for binary.

Each character is stored as a number (its ASCII code) and written as 8 binary digits. For example, H is 72 in decimal, which is 01001000 in binary. This converter encodes each character as one 8-bit group and can decode 8-bit groups back to text.

Numbers up to JavaScript's safe integer limit (9,007,199,254,740,991). Larger values are rejected rather than silently rounded, so the result is always exact.

Complementary utilities for your workflow

View all β†’
You are here

Binary Converter

Convert numbers between binary, octal, decimal and hex β€” plus text to binary.

Current tool
New

Button Maker

Style a button live and copy the CSS.

Try tool
Popular

JSON Formatter

Format, beautify, and syntax-highlight JSON data.

Try tool

JSON Validator

Validate JSON and get precise syntax error locations.

Try tool