Text to Binary / Hex Converter
Convert text to binary, hexadecimal, decimal, and octal — or reverse any format back to text.
Common use cases
Understanding numeric representations of text is a foundation of computer science and security research.
Learn number systems
See how the same text looks in binary, hexadecimal, decimal, and octal to understand different number bases.
Debug protocol data
Convert raw bytes from network captures or file headers into readable text to identify content types.
Create encoding challenges
Convert secret messages to binary or hex for CTF challenges, puzzles, or educational exercises.
Frequently asked questions
Short answers to the questions people usually have before using the tool.
How does text to binary conversion work?+
Each character has a numeric code point (e.g., A = 65). The binary representation shows that number in base 2 as an 8-bit value: 01000001.
Can I convert emoji to binary?+
Yes. Emoji are multi-byte UTF-8 characters, so they produce multiple 8-bit binary values per character.
What is the difference between hex and binary?+
Both represent the same numeric values but in different bases. Hex (base 16) is more compact — one hex digit represents four binary digits, so byte FF equals 11111111.
Related tools
Keep moving through related utility tasks without leaving the toolbox.
Convert between CSV and JSON data formats instantly. Supports custom delimiters.
Encode special characters to HTML entities and decode them back. Prevent XSS.
Format, validate, and beautify JSON data with syntax highlighting.
Beautify and indent SQL queries for better readability. Supports SELECT, INSERT, UPDATE, and DELETE.