Binary Code Generator
Convert text between binary, hexadecimal, decimal ASCII, Base64, and ROT13 instantly. Encode and decode online.
Understanding Encoding Systems
Binary: Uses only 0s and 1s. Every character is stored as an 8-bit number. This is how computers fundamentally store data.
Hexadecimal: A base-16 system (0-9, A-F) that's more compact than binary. Commonly used in web design (colors) and programming.
Decimal ASCII: Represents each character as its numeric value (0-127 for standard ASCII). 'A' = 65, 'Z' = 90, etc.
Base64: Encodes any data as text using 64 safe characters. Perfect for transmitting binary data via email or in JSON.
ROT13: A simple cipher rotating each letter 13 positions. Easy to reverse and mainly used for basic obfuscation.
When to Use Each Encoding
- Binary: Learning how computers work, debugging, understanding data representation.
- Hexadecimal: Web colors (#FF5733), memory addresses, debugging in programming.
- Decimal ASCII: Character code lookups, understanding text representation in programs.
- Base64: Email attachments, JSON payloads, transmitting binary data safely over text channels.
- ROT13: Basic text obfuscation for forums, hiding spoilers or light jokes from casual readers.
FAQ
What is binary code?
Binary code is a system of representing text and numbers using only 0s and 1s. Each character is represented as an 8-bit binary number. For example, the letter 'A' is 01000001.
What is hexadecimal?
Hexadecimal (hex) is a base-16 numbering system using digits 0-9 and letters A-F. It's commonly used in programming and web design. For example, colors are often represented in hex (#FF5733).
What is Base64 encoding?
Base64 is an encoding method that converts any data into a text string using 64 safe characters. It's commonly used to transmit binary data over text-only channels like email or JSON.
What is ROT13?
ROT13 is a simple substitution cipher that replaces each letter with the letter 13 positions after it in the alphabet. It's often used for basic text obfuscation in forums and comments.
Why would I need to encode text?
Encoding is useful for data transmission, hiding text from casual readers, debugging programs, understanding how computers store data, and securely transmitting information.
Can I decode encoded text?
Yes! Our tool supports bidirectional conversion for binary, hex, decimal, and ROT13. Base64 is primarily for encoding, but you can paste encoded Base64 to decode it to text.
Related Tools
Morse Code Translator
Encode text to Morse code and decode back. Includes audio playback with adjustable speed.
·−·−·−
Text Case Converter
Convert text between 11 cases: uppercase, lowercase, camelCase, snake_case, kebab-case, and more.
camelCase
Character Counter
Count characters, words, and lines. Check limits for Twitter, Instagram, TikTok, Discord, and more.
280/280