Explosion Tools

Text to Binary Converter

Convert text to binary, hex, octal, or decimal representation. Free, no signup, works in your browser.

Output will appear here…

All conversion happens in your browser. No data is sent to any server.

About Text to Binary Converter

This converter transforms text characters into their binary (base-2), hexadecimal (base-16), octal (base-8), or decimal (base-10) representations. Each character is mapped to its Unicode code point and displayed in the selected number system. Binary output shows 8-bit groups, hex uses 2-digit pairs, and octal uses 3-digit groups. Useful for learning about character encoding, debugging data formats, working with network protocols, or converting between number systems.

Frequently Asked Questions

How does text get converted to binary?
Each character has a numeric code (Unicode code point). This tool converts that number into binary — a sequence of 0s and 1s. For example, 'A' has code point 65, which is 01000001 in binary.
What is the difference between binary, hex, and octal?
Binary (base-2) uses digits 0–1, hexadecimal (base-16) uses 0–9 and A–F, and octal (base-8) uses 0–7. They are all different ways of representing the same numeric value. Hex is commonly used in web colors and memory addresses.
Does this support emoji and special characters?
Yes. The tool uses JavaScript's codePointAt() method, which correctly handles emoji and characters outside the Basic Multilingual Plane (above U+FFFF).

Related Tools