💻

Text ↔ Binary / Hex / Octal / Decimal

Convert text to binary, hexadecimal, octal, or decimal — and reverse encode back to text.

Direction:
Text Input
Binary Output

About Text ↔ Binary / Hex / Octal / Decimal

Editing and transforming text manually is tedious and error-prone. Text ↔ Binary / Hex / Octal / Decimal automates the process so you can convert text to binary, hexadecimal, octal, or decimal — and reverse encode back to text in one click. It works with any length of text, from a single sentence to thousands of lines, and runs entirely in your browser for complete privacy.

How to Use

1
Paste your text Enter or paste the text you want to process into the input field. There's no length limit for most operations.
2
Choose your options Select any relevant options or modes to control how your text will be transformed.
3
Process the text Click the action button to transform your text. Results appear instantly in the output area.
4
Copy the result Click the Copy button to copy the transformed text to your clipboard, ready to paste anywhere.
🔒 Privacy note: All processing happens locally in your browser. Your data is never sent to any server.

Why Use Text ↔ Binary / Hex / Octal / Decimal?

✍️
Save Hours of Manual Editing Text ↔ Binary / Hex / Octal / Decimal automates tedious text tasks that would take minutes or hours to do by hand. Process thousands of lines in a single click.
🔒
Complete Privacy Your text is processed entirely in your browser. Nothing is sent to any server, stored, or logged. Close the tab and your data is gone.
📋
Copy-Paste Friendly Designed for the real workflow: paste your text, transform it, copy the result. No account required, no file uploads, no unnecessary steps.
🌐
Works with Any Language Full Unicode support means Text ↔ Binary / Hex / Octal / Decimal handles English, Chinese, Arabic, emoji, and any other language or script correctly.

Frequently Asked Questions

Each character is converted to its Unicode code point (a number), then that number is expressed in the selected base. For ASCII characters (A=65, a=97, space=32), binary gives an 8-bit representation. For example 'A' = 65 decimal = 01000001 binary = 41 hex = 101 octal.
All three represent the same underlying numbers: Binary uses base-2 (0 and 1), Octal uses base-8 (0–7), Decimal uses base-10 (0–9), and Hexadecimal uses base-16 (0–9 and A–F). Hex is popular in computing because 2 hex digits exactly represent 1 byte (8 bits).
Yes. The tool uses JavaScript's codePointAt() which returns the full Unicode code point for any character, including emoji and non-ASCII text. When decoding, each encoded value is parsed back to a code point with String.fromCodePoint().