Binary Code Translator
Convert text to binary code (0s and 1s) and vice versa. Supports any ASCII character. Processed in the browser.
How does binary conversion work?
In the ASCII table, every text character corresponds to a number. That number moves into base 2 (binary), with 8 bits per character. Take the letter A: its ASCII code is 65, which in binary reads 01000001.
Going the other way, you read it group by group. Each set of 8 bits is interpreted as a base 2 number and then translated back into the matching ASCII character.
Translate text to binary and back
That string of 0s and 1s is what the computer actually reads, and watching a piece of text turn into it has a certain charm. This tool converts any text into binary code, and it also runs the reverse, decoding binary back into text.
It handles any ASCII character, representing each one by its 8-bit code. Good for figuring out how a computer stores text, putting together secret messages for games and puzzles, doing school computing assignments, or just satisfying the urge to see your own name written in binary.
Since the conversion happens in your browser and nothing leaves it, just type the text or paste the binary and the translation shows up in either direction.
Related Tools
CBOR to JSON (text) Converter
Explains CBOR (RFC 8949), its types and how to represent compact binary values in textual JSON.
Morse Code Converter
Convert text to Morse code and vice versa. Supports letters, numbers and punctuation. Instant result in the browser.
MessagePack to JSON (text) Converter
Explains the MessagePack binary format, its advantages and how to translate it into textual JSON.
Text ↔ Decimal Converter
Convert ASCII text to decimal codes and vice versa. Each character is represented by its decimal value in the ASCII table.
BSON to JSON (text) Converter
Explains differences between binary BSON and JSON with a type table and textual conversion examples.
ISO Country Code Converter
Convert country codes between ISO 3166 formats (alpha-2, alpha-3 and numeric) and the country name. Useful for development, forms and databases.