Convert numbers between binary, octal, decimal, and hexadecimal
Free online number base converter. Instantly convert numbers between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16) in one step.
Binary uses only 0 and 1. It's the fundamental language of computers. Every number, letter, and instruction in a computer is ultimately stored as binary.
Hexadecimal uses digits 0-9 and letters A-F. It's a compact way to represent binary data — one hex digit represents exactly 4 binary bits (a nibble).
Octal uses digits 0-7. It was historically used in computing and is still used in Unix file permissions (e.g., chmod 755).
Enter the hex color code (e.g., FF5733) and convert from base 16 to base 10 to see the RGB decimal values.
The tool handles integers up to JavaScript's MAX_SAFE_INTEGER (2^53 - 1). For larger numbers, use a dedicated arbitrary-precision library.
Get all tools in your browser
Install the Chrome extension for one-click access to every tool — no tab switching needed.
Last updated: January 2025