Convert text to binary, hex, octal or decimal codes and decode them back to readable text. Free online text-to-binary translator that runs in your browser.
On this page
About this tool
Encode text as numeric character data or decode numeric input back to text.
How to use Text to Binary Converter
Select Text to Code or Code to Text.
Choose Binary, Hexadecimal, Octal or Decimal and enter the corresponding input.
Check the result; use Swap when you want to reverse the conversion.
Worked example
Try the letter A: its ASCII-compatible value is 65 in decimal, 41 in hexadecimal and 01000001 in binary.
Is this encryption?
No. Numeric encoding is reversible and does not protect the contents.
Why might decoding fail or show unexpected characters?
The numeric base, separators and character encoding must match the source. Use a small known sample before decoding a large string.
Explore Unit & Number Converters · More practical guides
Personalize your experience. Open with Ctrl+U (Option+U on Mac). Preferences stay in this browser when storage is available.
Menu language English (USA) Español اردو
Accessibility Profiles Custom settings Vision support Reading support Reduced motion Motor support Focus support
Oversized widget
Screen Reader
Contrast +
Smart Contrast
Highlight Links
Bigger Text
Text Spacing
Pause Animations
Dyslexia Friendly
Cursor
Tooltips
Page Structure
Line Height
Text Align
Dictionary
Saturation
Read aloud assistance Uses browser speech voices to read page text or selected text. This is not a replacement for NVDA, VoiceOver or another full screen reader. Available voices and speech processing depend on your browser and device.
Read page Read selection Pause / resume Stop reading
Reset All Accessibility Settings Move / Hide Widget Widget positionBottom right Bottom left Hide widget for 1 hour Restore at any time with Ctrl+U (Option+U on Mac).
Accessibility statement and help