About

Number Base Converter – Binary, Hex, Octal, Decimal & More

Convert numbers between binary, hexadecimal, octal, decimal, and any base (2-36) instantly with validation and formatting.

🟢 Runs locally · no uploads

Number Base Converter

Convert numbers between different bases

Number Input
Converted Numbers
numbers

Converted numbers will appear here

Characters: 0Lines: 0Size: 0 B

lightbulbPopular Use Cases

palette
RGB Color Codes

Convert decimal RGB values (0-255) to hex for CSS and web design

data_object
Binary & Bitwise Operations

Convert binary representations for low-level programming and debugging

lock
File Permissions (Unix)

Convert between octal and decimal for chmod and file system permissions

memory
Memory Addresses

Convert hexadecimal memory addresses to decimal for debugging and analysis

scienceExample Numbers

tagDecimal 255
255
tagBinary Number
0b11111111
tagHexadecimal
0xFF

keyboardKeyboard Shortcuts

keyboardShow shortcutsexpand_more
Ctrl+EnterConvert numbers
Ctrl+LClear all

Related tools

Show more
Show more
› About this tool · FAQ

Stop manually converting number bases! Convert numbers between binary, octal, decimal, hexadecimal, and 30+ other bases instantly. Supports bases 2-36 with validation, digit grouping, batch processing, and negative numbers. Perfect for programming, computer science, and digital circuits. Free, works offline, unlimited conversions.

How do I convert number bases?

Enter your number, select the input base (binary, decimal, hex, octal, or 2-36), choose output bases, and convert. The tool displays all conversions simultaneously with optional digit grouping and prefixes for readability.

Is this number base converter free?

Yes, completely free with unlimited conversions. No signup required, no watermarks. All conversion happens in your browser for complete privacy of data and calculations.

Are numbers uploaded to servers?

No, all number base conversion happens locally in your browser. Numbers never leave your computer, ensuring complete privacy for sensitive calculations and proprietary data.

What number bases are supported?

The tool supports all bases from 2 (binary) to 36 (using digits 0-9 and letters A-Z). Common bases include binary (2), octal (8), decimal (10), and hexadecimal (16).

How do I specify the input base?

Use standard prefixes like 0b for binary, 0x for hex, 0o for octal, or the format "base r value" (e.g., "2r1010"). You can also set the input base in options.

What is digit grouping?

Digit grouping adds spaces to make long numbers more readable, like "1010 1010" for binary or "FF FF" for hex. This is especially useful for large numbers.

Can I convert negative numbers?

Yes, the tool handles negative numbers by converting the absolute value and preserving the negative sign in all output bases.

What's the maximum number size?

The tool can handle numbers up to JavaScript's MAX_SAFE_INTEGER (2^53 - 1) for accurate conversion. Larger numbers may lose precision.