Number Base Converter
Convert numbers between binary, octal, decimal, hexadecimal, and custom bases (2-36). Grouped digits for readability with instant results.
Valid digits: 0-9
BINBinary (Base 2)
1111 1111OCTOctal (Base 8)
377DECDecimal (Base 10)
255HEXHexadecimal (Base 16)
FFAbout Number Bases
Binary (Base 2): Used by computers. Only 0s and 1s.
Octal (Base 8): Digits 0-7. Common in Unix file permissions.
Decimal (Base 10): Standard human counting system, digits 0-9.
Hexadecimal (Base 16): Digits 0-9 and A-F. Widely used in programming for colors, memory addresses, etc.
This tool supports integer conversions. Very large numbers may lose precision due to JavaScript's number limits.
All conversions happen locally in your browser.
How This Tool Was Built
This tool was created entirely by AI. Here's the exact prompt used to generate it:
Prompt Used
Create a Number Base Converter tool with these features: 1. Input with source base selection (2, 8, 10, 16, or custom 2-36) 2. Simultaneous conversion to binary, octal, decimal, hexadecimal 3. Copy button for each output 4. Validate input against selected base 5. Grouped digits for readability 6. Quick swap buttons between bases Make it colorful with purple as the accent color.
Claude AI Model
7,800 Tokens Used
AI-Generated Code Origin