Binary code translator
Convert text to binary, hex, or decimal (UTF-8) and back, with automatic direction detection and 8-bit grouping.
Everything runs in your browser — your text is never uploaded.
About the Binary code translator
Binary code translator converts text into binary and back, and also shows the hexadecimal and decimal byte views of the same data. It encodes with UTF-8, so emoji and accented characters round-trip correctly, and groups binary output into clean 8-bit bytes separated by spaces. Auto-detection figures out whether you pasted text or code, so you just paste and read. Everything runs locally in your browser.
Binary code translator features
- 01
Binary, hex, and decimal
Switch the byte view between base-2 binary, base-16 hex, and base-10 decimal — the same bytes shown three ways for whichever format you need.
- 02
UTF-8 accurate
Encoding and decoding use UTF-8, so multi-byte characters like é, ñ, and emoji convert correctly instead of turning into garbage.
- 03
Automatic direction
Paste text to encode or paste code to decode — the tool detects which you gave it based on the selected view and converts accordingly.
Binary code translator FAQ
- How do I convert text to binary?
- Type your text with the Binary view selected. Each character is encoded to its UTF-8 bytes and shown as space-separated 8-bit groups, ready to copy.
- How do I convert binary back to text?
- Paste the binary (groups of 0s and 1s separated by spaces) with the Binary view selected. The tool detects it's encoded and decodes it back to readable text.
- Can it show hexadecimal and decimal too?
- Yes. Switch the view to Hex or Decimal to see the same bytes as two-digit hex or 0–255 decimal values, and paste those formats back to decode.
- Does it handle emoji and accents?
- Yes. Because it uses UTF-8, characters that take more than one byte — accents, emoji, non-Latin scripts — encode and decode correctly.
- Is my text uploaded?
- No. All conversion runs in your browser, so your text and data stay on your device.
Related tools
Utility →- Live
Remove line breaks
Strip line breaks and hard returns from text — join everything into one block or keep paragraph breaks and replace newlines with spaces.
UtilityFreeRuns locallyOpen - Live
Remove extra spaces
Collapse multiple spaces and tabs into one, trim each line, and optionally remove all spaces or delete empty lines.
UtilityFreeRuns locallyOpen - Live
Remove duplicate lines
Delete repeated lines from a list — case-insensitive and trim options, keep the first or last occurrence, and see how many were removed.
UtilityFreeRuns locallyOpen
Explore other tools
All tools →- Live
Word to PDF
Convert a Word document into a PDF, right in your browser.
PDFFreeRuns locallyOpen - Live
PNG to JPG
Convert PNG images to JPG in your browser — files never leave your device.
ImageFreeRuns locallyOpen - Live
MOV to WebM
Convert MOV (QuickTime) videos to WebM in your browser — files never leave your device.
VideoFreeRuns locallyOpen - Live
Voice isolator
Isolate the speaker from music, crowds, and background noise in your browser.
AudioFreeRuns locallyOpen - Live
JSON formatter
Pretty-print, minify and validate JSON.
DocumentFreeRuns locallyOpen