Binary Translator
Convert text to binary, decimal, hexadecimal, or octal and back. See character-by-character breakdown with multiple formats.
01001000 01101001Number Systems
Binary (Base 2): Uses 0 and 1 only. Each character = 8 bits.
Decimal (Base 10): Standard numbers 0-9. ASCII values.
Hexadecimal (Base 16): 0-9 and A-F. Common in programming.
Octal (Base 8): Uses 0-7. Used in Unix permissions.
All encoding/decoding happens 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 Binary Translator tool with these features: 1. Two modes: Text to Code, Code to Text 2. Multiple output formats: - Binary (base 2) - Decimal (base 10) - Hexadecimal (base 16) - Octal (base 8) 3. Separator options (space, none, newline, comma) 4. Real-time conversion 5. Character breakdown table showing: - Character - Binary - Decimal - Hex 6. Swap and copy buttons 7. Use charCodeAt() and String.fromCharCode() 8. Handle common separators when decoding 9. Educational info about number systems Make it colorful with purple as the accent color.
Claude AI Model
6,500 Tokens Used
AI-Generated Code Origin